예제 #1
0
 private void btJoin_OnClick(object sender, EventArgs e)
 {
     if (_activeGame == null)
     {
         return;
     }
     _service.JoinGame(_activeGame);
     RefreshClick(sender, e);
     Mode = Modes.Joined;
 }
예제 #2
0
 public bool JoinGame(GameDescription game)
 {
     try
     {
         return(_service.JoinGame(game));
     }
     catch (Exception e)
     {
         FatalError(e);
         return(false);
     }
 }