public OnlineCreateNewPlayer(OnlineGame.OnlineGame game)
 {
     InitializeComponent();
     this.game = game;
     DelegatesData.HandlerPlayersListRefresh = new DelegatesData.PlayersListRefresh(PlayerListFill);
     DelegatesData.HandlerGameTableOpen = new DelegatesData.GameTableOpen(GoToGameTable);
 }
예제 #2
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     OnlineGame.OnlineGame game = new OnlineGame.OnlineGame();
     OnlineCreateNewPlayer cr = new OnlineCreateNewPlayer(game);
     cr.Show();
     this.Close();
 }