コード例 #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
ファイル: Main.cs プロジェクト: WSX741405/OOAD_CourseSystem
 public Form1(presentationModel pmodel)
 {
     _pmodel = pmodel;
     InitializeComponent();
 }