public Form1() { InitializeComponent(); Field = new Field(); }
public void Regenerate() { Field = new Field((double)PercentageSlider.Value / PercentageSlider.Maximum, FieldSizeSlider.Value); Status.Text = ""; Repaint(); }