internal void FileNew() { NewDialog newDlg = new NewDialog(); if (newDlg.ShowDialog() == DialogResult.OK) { view.ShowImage(new ImageFile(newDlg.ImageSize, newDlg.imageBackColor)); } }
private void fileNewMnu_Click(object sender, EventArgs e) { NewDialog newDlg = new NewDialog(); if (newDlg.ShowDialog() == DialogResult.OK) { imageFile = new ImageFile(newDlg.ImageSize, newDlg.imageBackColor); ShowImage(); } }