예제 #1
0
 private void OnJoinedLobby(object sender, LobbyEventArgs e)
 {
     GameCodeBox.BeginInvoke((MethodInvoker) delegate
     {
         GameCodeBox.Text = e.LobbyCode;
     });
 }
예제 #2
0
 private void OnJoinedLobby(object sender, LobbyEventArgs e)
 {
     GameCodeBox.BeginInvoke(a => a.Text = e.LobbyCode);
     this.BeginInvoke(a =>
     {
         if (context.Settings.AlwaysCopyGameCode)
         {
             Clipboard.SetText(e.LobbyCode);
         }
     });
     MapBox.BeginInvoke(a => a.Text = e.Map.ToString());
 }
예제 #3
0
 public void setGameCode(string gamecode)
 {
     GameCodeBox.BeginInvoke(tb => { GameCodeBox.Text = gamecode; });
 }
예제 #4
0
 private void OnJoinedLobby(object sender, LobbyEventArgs e)
 {
     GameCodeBox.BeginInvoke(a => a.Text = e.LobbyCode);
 }