Insert image on button

By Super Man

Learn how to insert image in button

->  Set its Image property from the Property window



->   You can set its Image Programmatically



           button1.Image= Image.FromFile(@"full_image_path_here");







->  If you already have image in Resources then You can set its image from the Resource Programmatically by this code:





button1.Image = WindowsApplication1_csharp.Properties.Resources.Resource_name;





Insert image on button  (966 Views)
Create New Account