Example #1
0
        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);
        }
Example #2
0
 private void btnReset_Click(object sender, EventArgs e)
 {
     Rmd.Reset();
     SetConfigs(Rmd);
 }