/// <summary> /// Instantiates the PlayerInfoWindow and GameTypeWindow /// </summary> private void InitializeGameWindows() { try { mPlayerInfoWinow = new PlayerInfoWindow(this); mGameTypeWindow = new GameTypeWindow(this); } catch (Exception e) { throw e; } }
/// <summary> /// Method shows the PlayerWindow by creating a new instance and shows it as a Dialog /// </summary> public void showPlayerWindow() { try { mPlayerInfoWinow = new PlayerInfoWindow(this); mPlayerInfoWinow.ShowDialog(); } catch (Exception e) { throw e; } }