示例#1
0
 private void btnOptions_Click(object sender, EventArgs e)
 {
     Options m = new Options();
     m.Show();
 }
示例#2
0
 private void btnOptions_Click(object sender, EventArgs e)
 {
     if (!Application.OpenForms.OfType<Options>().Any())
     {
         Options m = new Options();
         m.Show();
     }
     else Application.OpenForms.OfType<Options>().FirstOrDefault().Focus();
 }