Exemplo n.º 1
0
 public presentationModel(Model model, Course_Model courseModel, Professor_Model professorModel, Student studentModel)
 {
     _model          = model;
     _courseModel    = courseModel;
     _professorModel = professorModel;
     _studentModel   = studentModel;
 }
Exemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Model             model          = new Model();
            Course_Model      courseModel    = new Course_Model();
            Professor_Model   professorModel = new Professor_Model(courseModel);
            Student           studentModel   = new Student(courseModel);
            presentationModel PModel         = new presentationModel(model, courseModel, professorModel, studentModel);

            Application.Run(new Form1(PModel));
        }