Exemple #1
0
        private void 自定义ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            UserDialogForm1 ufm1 = new UserDialogForm1();

            if (ufm1.ShowDialog() == DialogResult.OK)
            {
                typeSpead = ufm1.tpSpeed;
            }
            ufm1.Close();
            ufm1.Dispose();
        }
 private void 自定义ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     UserDialogForm1 ufm1 = new UserDialogForm1();
     if (ufm1.ShowDialog()==DialogResult.OK)
     {
         typeSpead = ufm1.tpSpeed;
     }
     ufm1.Close();
     ufm1.Dispose();
 }