Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Button Image
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00716596
Message ID:
00716608
Views:
15
>
>How to assign an image to a button by codeing?
>

Button1.Image = New Bitmap("D:\Dibujo.bmp")


There are many overloads of the Bitmap constructor, allowing you to load the image from an embedded resource, an image list, etc.

Regards,
------------------
Jose Marcenaro
Tercer Planeta - Argentina
http://www.tercerplaneta.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform