one normal jpg, and one gif? Any easier solutions? You might this useful - http://www.codeproject" />
开发者

Blinking or glowing button in C#

开发者 https://www.devze.com 2023-02-25 12:39 出处:网络
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

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:

     

Blinking or glowing button in C#

If you're not getting this effect already, make sure that the FlatStyleproperty of your button control is set to "System".

0

精彩评论

暂无评论...
验证码 换一张
取 消