Exemplo n.º 1
0
        private void ShowTeacherHours()
        {
            if (_teacherHoursFormOpened)
            {
                TeacherDiciplines.Activate();
                TeacherDiciplines.Focus();
                return;
            }

            TeacherDiciplines = new TeacherHours(Repo);
            _teacherHoursFormOpened = true;
            TeacherDiciplines.Show();
            _teacherHoursFormOpened = false;
        }
Exemplo n.º 2
0
 private void teachersHours_Click(object sender, EventArgs e)
 {
     var teacherHoursForm = new TeacherHours(Repo);
     teacherHoursForm.Show();
 }