public bool LoadImage(string path) { try { Image = Image.FromFile(path); return true; } catch { return false; } }
public void NewFile() { fileName = ""; picview.Image = null; picview.LoadImage(Application.StartupPath + "\\default_image.png"); textboxgroupbox.Text = ""; setTextboxText(""); }