private void NewGame() { prcbCoolDown.Value = 0; tmCoolDown.Stop(); undoToolStripMenuItem.Enabled = true; chessBoard.DrawChessBoard(); }
public Form1() { InitializeComponent(); ChessBoard = new ChessBoardManager(pnlChessBoard); ChessBoard.DrawChessBoard(); }
public Form1() { InitializeComponent(); ChessBoard = new ChessBoardManager(pnlChessBoard, txbPlayerName); ChessBoard.EndedGame += EndGame; ChessBoard.DrawChessBoard(); }
public Form1() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; ChessBoard = new ChessBoardManager(pnlChessBoard, txbName, pctbMark); ChessBoard.PlayerMarked += ChessBoard_PlayerMarked; ChessBoard.EndedGame += ChessBoard_EndedGame; ChessBoard.DrawChessBoard(); socket = new SocketManager(); }
public Form1() { InitializeComponent(); chessBoard = new ChessBoardManager(pnChessBoard, txbPlayerName, pbMark); chessBoard.DrawChessBoard(); }
void NewGame() { ChessBoard.DrawChessBoard(); }
private void btnNewGame_Click(object sender, EventArgs e) { ChessBoard = new ChessBoardManager(pnlChessBoard, txbPlayerName); ChessBoard.DrawChessBoard(); }
void isNewGame() { ChessBoard.DrawChessBoard(); ChessBoard = new ChessBoardManager(pnlChessBoard, txbPlayerName); }