Inheritance: System.Windows.Forms.Form
Ejemplo n.º 1
0
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewImageDialog dialog = new NewImageDialog();

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