Ejemplo n.º 1
0
 // Menu items.
 public void New(int boardWidth, int boardHeight)
 {
     this.boardWidth  = boardWidth;
     this.boardHeight = boardHeight;
     board            = new MasyuBoard(boardWidth, boardHeight);
     Invalidate();
 }
Ejemplo n.º 2
0
        public MasyuPanel()
        {
            ResizeRedraw = true;
            InitializeComponent();

            boardWidth  = 12;
            boardHeight = 12;
            board       = new MasyuBoard(boardWidth, boardHeight);
        }