Exemple #1
0
 public FrmStudents(FrmMain mainForm)
 {
     InitializeComponent();
     this.departmentBindingSource.DataSource = DepartmentBusinessLogic.selectAll();
     this.studentBindingSource.DataSource = StudentBusinessLogic.selectAll();
     this.mainForm = mainForm;
 }
Exemple #2
0
        public FrmCourses(FrmMain mainForm)
        {
            InitializeComponent();
            this.mainFrm = mainForm;

            //
            // courseBindingSource
            //
            this.courseBindingSource.DataSource =CourseBusinessLogic.selectAll();
            //
            // professorBindingSource
            //
            this.professorBindingSource.DataSource = ProfessorBusinessLogic.selectAll();
        }
Exemple #3
0
        public FrmClasses(FrmMain mainForm)
        {
            InitializeComponent();
            //
            // classBindingSource
            //
            this.classBindingSource.DataSource = ClassBusinessLogic.selectAll();
            //
            // courseBindingSource
            //
            this.courseBindingSource.DataSource = CourseBusinessLogic.selectAll();
            //
            // semesterBindingSource
            //
            this.semesterBindingSource.DataSource = Semester_YearBusinessLogic.selectAll();

            //
            // semesterBindingSource
            //
            this.cbxProfessor.DataSource = ProfessorBusinessLogic.selectAll();

            this.mainForm = mainForm;
        }
Exemple #4
0
 public FrmClasses(FrmMain mainForm)
 {
     InitializeComponent();
     this.mainForm = mainForm;
 }