public ChessBoard() { BoardSize = Settings.Default.BOARD_SIZE; Cells = new CellValues[BoardSize, BoardSize]; ActivePlayer = CellValues.Player1; eBoard = new BangLuongGiacBanCo(this); ResetBoard(); bw.DoWork += OnDoWork; bw.RunWorkerCompleted += OnRun; }
public ChessBoard() { BoardSize = Settings.Default.BOARD_SIZE; Cells = new CellValues[BoardSize, BoardSize]; ActivePlayer = CellValues.Player1; eBoard = new BangLuongGiacBanCo(this); ResetBoard(); bw.DoWork += OnDoWork; bw.RunWorkerCompleted += OnRun; }