Esempio n. 1
0
        //新規追加ボタンを押したとき
        private void button4_Click(object sender, EventArgs e)
        {
            TimeOption timeOption = new TimeOption();

            timeOption.FormClosed += new FormClosedEventHandler(SubFormClosed);
            timeOption.Show();
            this.Enabled = false;
        }
Esempio n. 2
0
        private void button5_Click(object sender, EventArgs e)
        {
            //インデックスを保存して編集画面へ
            ShareData.timeNum = checkedListBox2.SelectedIndex;
            TimeOption timeOption = new TimeOption();

            timeOption.FormClosed += new FormClosedEventHandler(SubFormClosed);
            timeOption.Show();
            this.Enabled = false;
        }