Пример #1
0
 public void Init(ChoiseStudentForm f, ChoiseStudentModel m)
 {
     f.choiseTheDictant += new Action <Dictant>(f_choiseThisDictant);
     _f = f;
     _m = m;
     _f.showHeadersDictants(_m.AvialableDictants);
 }
Пример #2
0
 public DictantStudentForm(Dictant dictant, User currentUser, ChoiseStudentForm previousForm)
 {
     InitializeComponent();
     previousForm.Dispose();
     new DictantStudentPresenter().Init(this, new DictantStudentModel(dictant, currentUser));
 }