public void Init(ChoiseTeacherForm f, ChoiseTeacherModel m)
 {
     f.EditDictant   += new Action <Dictant>(f_editThisDictant);
     f.DeleteDictant += new Action <Dictant>(f_deleteThisDictant);
     f.AddDictant    += new Action(f_addNewDictant);
     _f = f;
     _m = m;
     _f.showHeadersDictants(_m.AvialableDictants);
 }
示例#2
0
 public TeacherDictantForm(Dictant dictant, ChoiseTeacherForm previousForm)
 {
     previousForm.Dispose();
     InitializeComponent();
     new TeacherDictantPresenter().Init(this, new TeacherDictantModel(dictant));
 }