public DocumentPicture(string file)
{
try
{
// if (!File.Exists(file))
// throw new Exception("The imagefile "+file+" doesn't exist!");
// this.Image = Image.FromFile(file);
FileInfo fi = new FileInfo(file);
this.ImageName = fi.Name;
this.ImagePath = fi.FullName;
}
catch(Exception)
{
throw;
}
}
}