Пример #1
0
 private void StartGame()
 {
     if (this.InvokeRequired)
     {
         StartGameCallBack d = new StartGameCallBack(StartGame);
         this.Invoke(d, new object[] {  });
     }
     else
     {
         Game game = new Game(tcpclnt, stm);
         game.Tag = this;
         game.Show(this);
         game.Focus();
         Hide();
     }
 }