Beispiel #1
0
 public ExamController(IExamForm form, Decanat decanat)
 {
     _form    = form;
     _decanat = decanat;
     form.SetController(this);
     SubscribeToModel();
 }
Beispiel #2
0
        static void Main()
        {
            var model      = new Decanat();
            var form       = new ExamForm();
            var controller = new ExamController(form, model);

            //Application.EnableVisualStyles();
            //Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(form);
        }
Beispiel #3
0
 public Student(Decanat dec, int numberOfStudent)
 {
     Name     = NameHelper.GetName();
     _decanat = dec;
     Number   = numberOfStudent;
 }