示例#1
0
        private void rowOrColumnCountChanged(object sender, EventArgs e)
        {
            int rows    = (int)rowNumericUpDown.Value;
            int columns = (int)columnNumericUpDown.Value;

            Game.ResizeField(rows, columns);
            renderPictureBox.Invalidate();
        }
示例#2
0
 private void rowOrColumnCountChanged(object sender, EventArgs e)
 {
     Rows    = (int)rowNumericUpDown.Value;
     Columns = (int)columnNumericUpDown.Value;
     Game.ResizeField(Rows, Columns);
     //DrawGrid(Rows, Columns);
     renderPanel.Invalidate();
 }