Hi All,
I have created an image object and set the image property for a button to display that image at runtime. Now I may need to remove that image from the button but can't for the life of me figure it out... here is code;
Dim xImage As Object = Image.FromFile("C:\Program Files\Injection Rotation\x.bmp")
btn1.Image = xImage
How can I remove the image from the button?
Also, I wish there were a better way to handle the image. Static images I place in the resource bucket which get compiled into the executable, but an image instantiated at runtime it seems like I have to load the image file from an external source as shown above.
Any help will be much appreciated, have a great day!
Thank you
I have created an image object and set the image property for a button to display that image at runtime. Now I may need to remove that image from the button but can't for the life of me figure it out... here is code;
Dim xImage As Object = Image.FromFile("C:\Program Files\Injection Rotation\x.bmp")
btn1.Image = xImage
How can I remove the image from the button?
Also, I wish there were a better way to handle the image. Static images I place in the resource bucket which get compiled into the executable, but an image instantiated at runtime it seems like I have to load the image file from an external source as shown above.
Any help will be much appreciated, have a great day!
Thank you