Display image on Hover on a button in a winform
-
I have a image button in a winform. On mouse hover i would like to change the image of the button. When the focus is lost i would like to show the original image . I am handling the mouse_hover and mouse_leave events and changing the value of image property to the image i need. My images are stored in the resource file. Is this the right way to do it? Please let me know..
-
I have a image button in a winform. On mouse hover i would like to change the image of the button. When the focus is lost i would like to show the original image . I am handling the mouse_hover and mouse_leave events and changing the value of image property to the image i need. My images are stored in the resource file. Is this the right way to do it? Please let me know..
Yeah, that seems the best way to me.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
-
Yeah, that seems the best way to me.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )