Exemple #1
0
        private void chessBoard_PlayerMarked(object sender, ButtonClickEvent e)
        {
            timer.Start();
            pnlChessBoard.Enabled = false;
            progressBar.Value     = 0;
            socket.Send(new SocketData((int)SocketData.SocketCommand.SEND_POINT, "", e.Clicked));

            Listen();
        }
        private void ChessBoard_PlayerMarked(object sender, ButtonClickEvent e)
        {
            timerCoolDown.Start();
            panelChessBoard.Enabled = false;
            progressBar.Value       = 0;

            socket.Send(new SocketData((int)SocketCommand.SEND_POINT, "", e.ClickedPoint));

            undoToolStripMenuItem.Enabled = false;
            Listen();
        }