// Menu items. public void New(int boardWidth, int boardHeight) { this.boardWidth = boardWidth; this.boardHeight = boardHeight; board = new MasyuBoard(boardWidth, boardHeight); Invalidate(); }
public MasyuPanel() { ResizeRedraw = true; InitializeComponent(); boardWidth = 12; boardHeight = 12; board = new MasyuBoard(boardWidth, boardHeight); }