Add image to button at Runtime

  • Thread starter Thread starter vighnesh
  • Start date Start date
V

vighnesh

Hai All

Can Anyone Please suggest me how to add an image to a button at runtime
using VB/C#.NET . That image has to blick so it has the user attention.

Thanks in advance.

Regards
Vighneswar
 
Hi,

You assign using Button.Image (There is also a Button.BackgroundImage) .
all you have to do is create a Bitmap object and assign it.

Regarding the blinking, I'm not very sure if the image is a GIF with two
states if it does change (don't think so)
so what you can do is create your own control that does it.
 
Back
Top