Example #1
0
 public NewTestEditPresenter(INewTestEditView newTestEditView, DtoTest editTest)
 {
     this.newTestEditView = newTestEditView;
     newTestEditModel     = new NewTestModel();
     newTestEditView.NewTestDefaultSpecimens = newTestEditModel.LoadDefaultSpecimens();
     this.editTest = editTest;
     newTestEditView.NewTestEditLoad += LoadNewTestEditProp;
     newTestEditView.EditOkClick     += EditTest;
 }
Example #2
0
 public NewTestEditPresenter(INewTestEditView newTestEditView, DtoTest editTest)
 {
     this.newTestEditView = newTestEditView;
     newTestEditModel = new NewTestModel();
     newTestEditView.NewTestDefaultSpecimens = newTestEditModel.LoadDefaultSpecimens();
     this.editTest = editTest;
     newTestEditView.NewTestEditLoad += LoadNewTestEditProp;
     newTestEditView.EditOkClick += EditTest;
 }