private void newToolStripMenuItem_Click(object sender, EventArgs e) { NewImageDialog dialog = new NewImageDialog(); if (dialog.ShowDialog() == DialogResult.OK) { CreateNewImage(dialog.ImageSize.Width, dialog.ImageSize.Height); } }
private void newToolStripMenuItem_Click( object sender, EventArgs e ) { NewImageDialog dialog = new NewImageDialog(); if ( dialog.ShowDialog() == DialogResult.OK ) CreateNewImage( dialog.ImageSize.Width, dialog.ImageSize.Height ); }