/// <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(); } }
/// <summary> /// Method that enables run first form (PlayerForm currently) and the whole app accordingly. /// </summary> internal void Run() { plForm = new PlayerForm(); plForm.Show(); }