Esempio n. 1
0
 void NewGame()
 {
     prcbCoolDown.Value = 0;
     tmCoolDown.Stop();
     undoToolStripMenuItem.Enabled = true;
     ChessBoard.DrawChessBoard();
 }
Esempio n. 2
0
        public Form1()
        {
            InitializeComponent();

            ChessBoard = new ChessBoardManager(pnlChessBoard, txbPlayerName, pctbMark);

            ChessBoard.DrawChessBoard();
        }
Esempio n. 3
0
        public Form1()
        {
            InitializeComponent();
            ChessBoard = new ChessBoardManager(pnlChessBoard, txbPlayerName, pctbMark);

            prcbCountDown.Step    = Cons.CountDownStep;
            prcbCountDown.Maximum = Cons.CountDownTime;
            prcbCountDown.Value   = 0;
            tmCountDown.Interval  = Cons.CountDownInterval;

            ChessBoard.DrawChessBoard();
            tmCountDown.Start();
        }