protected virtual void ChangeOfficeHours_button_Click(object sender, EventArgs e)
 {
     //need to add     if(מערכת שעות exist)
     this.OfficeHoursForm = new OfficeHours_Form(ref this.emp);
     this.Hide();
     OfficeHoursForm.FormClosed += new FormClosedEventHandler(FormClosedHandling);
     OfficeHoursForm.ShowDialog();
 }
 private void ChangeOfficeHours_button_Click(object sender, EventArgs e)
 {
     //need to add     if(מערכת שעות exist)
     this.OfficeHoursForm = new OfficeHours_Form();
     this.Hide();
     //OfficeHoursForm.FormClosed += new FormClosedEventHandler(OfficeHoursForm_FormClosed);
     OfficeHoursForm.FormClosed += new FormClosedEventHandler(FormClosedHandling);
     OfficeHoursForm.ShowDialog();
 }
        protected override void ChangeOfficeHours_button_Click(object sender, EventArgs e)
        {
            EmpInterface     emp  = this.lecturer;
            OfficeHours_Form form = new OfficeHours_Form(ref emp);

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