private void Enable_Sched_4_CheckedChanged(object sender, EventArgs e) { switch (Enable_Sched_4.CheckState) { case CheckState.Checked: s_c_d4 = new Schedule_Recording_Dialog(this.my_player, 4); s_c_d4.Show(); Show_Sched_4.Checked = true; break; case CheckState.Indeterminate: break; case CheckState.Unchecked: s_c_d4.Close(); Show_Sched_4.Checked = false; break; default: break; } }
public Select_Calender(Schedule_Recording_Dialog schedule_recording_dialog) { InitializeComponent(); this.schedule_recording_dialog = schedule_recording_dialog; }