Example #1
0
        public DeputyDirectorInfoUC()
        {
            InitializeComponent();

            teacherChosen = MainForm.teacherChosen;

            string[] teacherNames = getTeacherInfo().ToArray();
            dDirectorComboBox.Items         = teacherNames;
            dDirectorComboBox.selectedIndex = 0;
            hideLabels();
            teacherChosen.Page = 0;
        }
Example #2
0
        public TeachersUC()
        {
            InitializeComponent();

            Allteachers   = MainForm.Allteachers;
            teacherChosen = MainForm.teacherChosen;

            string[] teacherNames = getTeacherInfo().ToArray();
            teachersComboBox.Items         = teacherNames;
            teachersComboBox.selectedIndex = 0;

            hideLabels();

            teacherChosen.Page = 0;
        }