public static void ShowGameCompletedWindow(Window owner, Game completedGame, Game nextGame)
 {
     _staticWindow = new GameCompletedWindow
     {
         Owner         = owner,
         CompletedGame = completedGame,
         NextGame      = nextGame
     };
     _staticWindow.SetupCloseAt();
     _staticWindow.Show();
 }
示例#2
0
 private bool OnGameCompleted(object input, object output)
 {
     GameCompletedWindow.ShowGameCompletedWindow(this, (Game)input, (Game)output);
     Score.Tourney.UpdateGameDetails();
     return(true);
 }
 private void Window_Closed(object sender, EventArgs e)
 {
     _staticWindow = null;
 }