Example #1
0
 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;
 }
Example #2
0
 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;
 }