public ExamController(IExamForm form, Decanat decanat) { _form = form; _decanat = decanat; form.SetController(this); SubscribeToModel(); }
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); }
public Student(Decanat dec, int numberOfStudent) { Name = NameHelper.GetName(); _decanat = dec; Number = numberOfStudent; }