Exemplo n.º 1
0
 /// <summary>
 /// <para>Method used either for creating new instance of PlayerForm class</para>
 /// <para>and assigning it to the plForm variable</para>
 /// <para>or focusing on existing PlayerForm object</para>
 /// </summary>
 public static void PlayerFormsNew()
 {
     if (plForm == null)
     {
         plForm = new PlayerForm();
         plForm.Show();
     }
     else
     {
         plForm.Focus();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Method that enables run first form (PlayerForm currently) and the whole app accordingly.
 /// </summary>
 internal void Run()
 {
     plForm = new PlayerForm();
     plForm.Show();
 }