public static SavableReminder Show(SavableReminder rmd) { SavableReminder rlt; SetRemindersForm instance = new SetRemindersForm(); instance.SetConfigs(rmd); if (instance.ShowDialog() == DialogResult.OK) { if (rmd != null) { rmd.Reset(); } rlt = instance.Rmd; } else { rlt = null; } return(rlt); }
private void btnReset_Click(object sender, EventArgs e) { Rmd.Reset(); SetConfigs(Rmd); }