private void btnResetClick(object sender, EventArgs e) { Settings = pnlSettings.GetNewSettings(Settings); pgMain.Reset(Settings); graphPopulation.Reset(Settings); statsGeneration.Reset(Settings); btnStartStop.Text = "Start"; SettingsChanged.Raise <MineSweeperSettings>(this, Settings); }