示例#1
0
        public static void OnRestoreGame(int gameID)
        {
            GameForm GameFormReference = (GameForm)Application.OpenForms["GameForm"];

            Thread thread = new Thread(delegate()
            {
                DTO_RESTORED_GAME restoredGame = duplexServiceClient.GetRestoredGame(gameID);
                GameController.gameType        = Constants.GAME_TYPE_GAME_RESTORE;
                GameFormReference.ShowRestoredGame(restoredGame);
            });

            thread.Start();
        }