How to change button background image on mouseOver?

Posted by slave016 on Stack Overflow See other posts from Stack Overflow or by slave016
Published on 2010-03-31T15:29:16Z Indexed on 2010/03/31 15:33 UTC
Read the original article Hit count: 308

Filed under:
|
|

I have img1, and img2 in my resources. I have easily set btn.backgroundImage as img1 in btn properties. Images paths are: c:\Project\Resources...

Now I don't know how to set btn.backgroundImage to be img2, I want to do it on event "MouseEnter". So I would apreciate complete code, because I am pretty green about this...

I apreciate any given idea...

© Stack Overflow or respective owner

Related posts about buttons

Related posts about c#