コード例 #1
0
        protected virtual void HoursToTeach_button_Click(object sender, EventArgs e)
        {
            ChooseHoursToTeach form = new ChooseHoursToTeach(ref emp);

            this.Hide();
            form.FormClosed += new FormClosedEventHandler(FormClosedHandling);
            form.ShowDialog();
        }
コード例 #2
0
        protected override void HoursToTeach_button_Click(object sender, EventArgs e)
        {
            EmpInterface       emp  = this.lecturer;
            ChooseHoursToTeach form = new ChooseHoursToTeach(ref emp);

            this.Hide();
            form.FormClosed += new FormClosedEventHandler(FormClosedHandling);
            form.ShowDialog();
        }