public NumberFieldsTable(Control.ControlCollection Controls, Point location) { Fields = new NumberField[SIZE, SIZE]; for (int i = 0; i < SIZE; i++) for (int j = 0; j < SIZE; j++) { Fields[i, j] = new NumberField(i, j, location); Controls.Add(Fields[i, j]); } }
public NumberFieldsTable(Control.ControlCollection Controls, Point location) { Fields = new NumberField[SIZE, SIZE]; for (int i = 0; i < SIZE; i++) { for (int j = 0; j < SIZE; j++) { Fields[i, j] = new NumberField(i, j, location); Controls.Add(Fields[i, j]); } } }