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

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