-1
I’m making an app and I wanted when passing the mouse in the image, she changed the color for a lighter, but I can’t do it in C#...
-1
I’m making an app and I wanted when passing the mouse in the image, she changed the color for a lighter, but I can’t do it in C#...
0
If you are using C# Windowsforms, with an image being displayed in a Picturebox, you can manipulate the Mousehover event and the Mouseleave event.
private void PictureBox1_MouseHover(object objeto, EventArgs evento){
//Aqui você manipula o mouse sobre da PictureBox
}
private void PictureBox1_MouseLeave(object objeto, EventArgs evento){
//Aqui você manipula a saida mouse da PictureBox
}
Browser other questions tagged c# hover
You are not signed in. Login or sign up in order to post.
an application, but it would be a correct web system? because Voce says about "pass or mouse"
– Julio Henrique
If you are a web application you should use the javascript or mouseover event and change the color
– jefissu
windows? web? please specify.
– Thiago Loureiro