예제 #1
0
        public Professor_objection_response(int courseId, int studentId)
        {
            this.courseId  = courseId;
            this.studentId = studentId;

            AP_PROJECT.Class.Student student = Module.GetStudent(studentId);

            student_nametxt.DataContext = student.FirstName + student.FirstName;
            student_idtxt.DataContext   = student.Id;

            AP_PROJECT.Class.Course course = Module.GetCourse(courseId);

            course_nametxt.DataContext = course.Name;
        }
        public Professor_exception_response(int studentName, int studentId, int courseId)
        {
            this.studentName = studentName;
            this.studentId   = studentId;

            AP_PROJECT.Class.Student student = Module.GetStudent(studentId);

            student_nametxt.DataContext = student.FirstName + student.FirstName;
            student_idtxt.DataContext   = student.Id;

            AP_PROJECT.Class.PreQuisite preRequisite = Module.GetRequisite(courseId);

            exception_typetxt.DataContext = preRequisite;
        }
        public Professor_mark_register(int student_id, Teacher teacher, int cours_id, Professor.Course_students course_students)
        {
            InitializeComponent();
            this.course_students = course_students;
            this.course_id       = cours_id;
            this.student_id      = student_id;
            this.teacher         = teacher;

            AP_PROJECT.Class.Student student = Module.GetStudent(student_id);
            student_nametxt.Content = student.FirstName;
            student_idtxt.Content   = student.Id;

            AP_PROJECT.Class.Course course = Module.GetCourse(cours_id);
            coursetxt.Content    = course.Name;
            student_marktxt.Text = "" + Module.GetStudentMark(student_id, teacher.Id, cours_id);
        }
예제 #4
0
 public Student_main_page(Class.Student student)
 {
     InitializeComponent();
     this.student = student;
 }