Пример #1
0
        private void menuItem7_Click(object sender, System.EventArgs e)
        {
            DialogResult dr;
            WidthForm    f = new WidthForm();

            f.SelectedWidth = width;
            dr = f.ShowDialog();
            if (dr == DialogResult.OK)
            {
                width = f.SelectedWidth;
            }
        }
Пример #2
0
        private void WidthMenuItem_Click(object sender, System.EventArgs e)
        {
            DialogResult dr;
            WidthForm    dlg = new WidthForm();

            dlg.SelectedWidth = width;
            dr = dlg.ShowDialog();
            if (dr == DialogResult.OK)
            {
                width = dlg.SelectedWidth;
            }
        }
 private void WidthMenuItem_Click(object sender, System.EventArgs e)
 {
     DialogResult dr;
     WidthForm dlg = new WidthForm();
     dlg.SelectedWidth = width;
     dr = dlg.ShowDialog();
     if (dr == DialogResult.OK)
     {
         width = dlg.SelectedWidth;
     }
 }
 private void menuItem7_Click(object sender, System.EventArgs e)
 {
     DialogResult dr;
     WidthForm f = new WidthForm();
     f.SelectedWidth = width;
     dr = f.ShowDialog();
     if (dr == DialogResult.OK)
     {
         width = f.SelectedWidth;
     }
 }