Exemplo n.º 1
0
 /// <summary>
 /// Instantiates the PlayerInfoWindow and GameTypeWindow
 /// </summary>
 private void InitializeGameWindows()
 {
     try
     {
         mPlayerInfoWinow = new PlayerInfoWindow(this);
         mGameTypeWindow  = new GameTypeWindow(this);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Exemplo n.º 2
0
 /// <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;
     }
 }