Пример #1
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));
        }
Пример #2
0
 public Form1(presentationModel pmodel)
 {
     _pmodel = pmodel;
     InitializeComponent();
 }