예제 #1
0
        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;
            }
        }
예제 #2
0
        private void Show_Sched_6_CheckedChanged(object sender, EventArgs e)
        {
            if (Enable_Sched_6.Checked)
            {
                switch (Show_Sched_6.Checked)
                {
                case true:
                    s_c_d6.Show();
                    break;

                case false:
                    s_c_d6.Hide();
                    break;

                default:
                    break;
                }
            }
            if (s_c_d6 == null || !Enable_Sched_6.Checked)
            {
                toolTip1.Show("You Must First Enable the Schedule\n" + "\n" + "Click This Check Box to Enable", Enable_Sched_6);
                toolTip1.Show("You Must First Enable the Schedule\n" + "\n" + "Click This Check Box to Enable", Enable_Sched_6);
            }
        }