コード例 #1
0
ファイル: Program.cs プロジェクト: DanaSlavin/Othello-Game
 public static void Main()
 {
     GameSettingsForm settings = new GameSettingsForm();
     settings.ShowDialog();
     if (settings.DialogResult == System.Windows.Forms.DialogResult.OK)
     {
         GameBoardForm board = new GameBoardForm(settings.BoardSize, settings.IsComputerPlayerSelected);
         board.ShowDialog();
     }
 }
コード例 #2
0
        public static void Main()
        {
            GameSettingsForm settings = new GameSettingsForm();

            settings.ShowDialog();
            if (settings.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                GameBoardForm board = new GameBoardForm(settings.BoardSize, settings.IsComputerPlayerSelected);
                board.ShowDialog();
            }
        }