示例#1
0
        private void menuItem11_Click(object sender, System.EventArgs e)
        {
            DialogResult dr;
            WidthForm    wf = new WidthForm();

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