Blinking or glowing button in C#
I'm wondering how to create blinking or glowing "Alarm!" button/i开发者_JAVA技巧mage.. For image -> one normal jpg, and one gif? Any easier solutions?
You might this useful - http://www.codeproject.com/KB/buttons/VistaButton.aspx
Easy way is to create two image files , one with the glow, another without it . When the app receives the alarm change the button image .
The buttons in Windows Vista and Windows 7 already glow and throb by default when the user mouses over them, and/or when one is set as the default button for a form. The effect looks like this:
If you're not getting this effect already, make sure that the FlatStyle
property of your button control is set to "System".
精彩评论