public Image GetImage(string path)
{
FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read);
Image result = Image.FromStream(fs);
fs.Close();
return result;
}
public Image GetImage(string path)
{
FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read);
Image result = Image.FromStream(fs);
fs.Close();
return result;
}