Visual C# General
Image image = Image.FromFile(string fileName);
fileName is just the name, not location if you have the picture file added under bin\Debug (in Solution Explorer, Show All Files).
fileName is location if you have the file in another directory.
Also, if you do have the file under bin\Debug, use an escape sequence.
Image image = Image.FromFile(@"\image.png");
TIP: If you are going to use an image over and over, use this:
using System;
namespace Project1
{
Image image1;
public Form1()
{
image1 = Image.FromFile(@"\image.png");
}
public void NewMethod()
{
button1.Image = image1;
}
}