public void LoadStudent()
        {
            List <TStudent> students = new List <TStudent>();
            string          error    = string.Empty;

            students = TStudent.LoadData(out error);

            if (!string.IsNullOrEmpty(error))
            {
                MessageBox.Show("Грешка при зареждане на студент");
                return;
            }
            cBoxElectiveSubjectStudent.DisplayMember = "FullName";
            cBoxElectiveSubjectStudent.ValueMember   = "ID";
            cBoxElectiveSubjectStudent.DataSource    = students;
        }
        public void LoadSTudentFirstName()
        {
            List <TStudent> students = new List <TStudent>();
            string          error    = string.Empty;

            students = TStudent.LoadData(out error);


            if (!string.IsNullOrEmpty(error))
            {
                MessageBox.Show("Грешка при зареждане на Име");
                return;
            }
            cbLecFirstName.DisplayMember = "FirstName";
            cbLecFirstName.ValueMember   = "ID";
            cbLecFirstName.DataSource    = students;
        }