Exemplo n.º 1
0
 private void Start()
 {
     IsPageEnabled = false;
     try
     {
         lobbyServer.StartGame();
     }
     catch (Exception)
     {
         MessageBox.Show("Connection lost.", "Hanksite", MessageBoxButton.OK);
         Application.Current.Shutdown();
         return;
     }
 }