Beispiel #1
0
 private void btnOptions_Click(object sender, EventArgs e)
 {
     Options m = new Options();
     m.Show();
 }
Beispiel #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();
 }