How can I put a picture on a button from ny code?
What is the function to load the picture?
Printable View
How can I put a picture on a button from ny code?
What is the function to load the picture?
1.) Set BackgrounImage property of the button. It is property of the button and you can set it either in design time or in run time...
2.) You can use Image class... It has static member Image.FromFile()...
Martin
Hi, Rye
I have attached the zip file which will load the picturebox image :D
Paresh