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

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

            ChessBoard.DrawChessBoard();
        }
Exemplo 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();
        }