Example #1
0
        private void resetToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SubSetAlarm subSetAlarm = new SubSetAlarm(this);

            subSetAlarm.StartPosition = FormStartPosition.CenterParent;
            subSetAlarm.Text          = "Modify";
            subSetAlarm.ShowDialog();
        }
Example #2
0
        private void btAddAlarm_Click(object sender, EventArgs e)
        {
            SubSetAlarm subSetAlarm = new SubSetAlarm();

            subSetAlarm.StartPosition       = FormStartPosition.CenterParent;
            subSetAlarm.delSetAlarmHandler += SetAlarmFromSub;
            subSetAlarm.Text = "Set";
            subSetAlarm.ShowDialog();
        }