RY33
March 12th, 2003, 02:11 AM
How can I put a picture on a button from ny code?
What is the function to load the picture?
What is the function to load the picture?
|
Click to See Complete Forum and Search --> : A picture on a button RY33 March 12th, 2003, 02:11 AM How can I put a picture on a button from ny code? What is the function to load the picture? MartinL March 12th, 2003, 04:00 AM 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 pareshgh March 12th, 2003, 11:44 AM Hi, Rye I have attached the zip file which will load the picturebox image :D Paresh codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |