Exemple #1
0
 /// <summary>
 /// Method used either for creating new instance of TeamForm class
 /// and assigning it to the tmForm variable
 /// or focusing on existing TeamForm object
 /// </summary>
 public static void TeamFormsNew()
 {
     if (tmForm == null)
     {
         tmForm = new TeamForm();
         tmForm.Show();
     }
     else
     {
         tmForm.Focus();
     }
 }