public void Init(DictantStudentForm f, DictantStudentModel m) { f.CheckDictant += new Action <List <string> >(f_checkDictant); f.BackToStChoise += new Action(f_backToCHoiseStudent); f.RestartThisDictant += new Action(f_restartThisDictant); _f = f; _m = m; fillTheField(); }
public ChoiseStudentForm(User currentUser, DictantStudentForm previousForm) { InitializeComponent(); previousForm.Dispose(); new ChoiseStudentPresenter().Init(this, new ChoiseStudentModel(currentUser)); }