public void registerPatient(IPatientView patientView) { PatientPresenter patientPresenter = presenterFactory.getPatientPresenter(presenterFactory, repositoryFactory); patientPresenter.view = patientView; patientView.patientPresenter = patientPresenter; }
public PatientPresenter(IPatientView service, IPatientRepository repository) { _service = service; service.GridDataSource = this; _repository = repository; GetAllPatients(); }
public PatientPresenter(IPatientView patientView) { this.patientView = patientView; patientModel = new PatientModel(); patientView.SearchClick += LoadSearchResultGrid; patientView.ClearClick += LoadAllPatientGrids; patientView.LoadForm += LoadAllPatientGrids; }
public PatientPresenter(IPatientView view) { _patient_view = view; _patient_view.ShowPatients += () => ShowPatients(_patient_view.selected_diagnosis); _patient_view.Add += () => ShowAdd(); _patient_view.Change += () => ShowChange(); _patient_view.Delete += () => Delete(_patient_view.passport); }
public PatientPresenter(IKernel kernel, IPatientView view, IRepositoryService service) { _view = view; _kernel = kernel; _service = service; _view.ShowAddPatient += ShowAddPatient; _view.ShowPatientInfo += ShowPatientInfo; }
public PatientPresenter(IPatientModel model, IPatientView view) { try { this._model = model; this._view = view; this._view.FormLoad += () => this.FormLoad(); } catch (Exception ex) { this._view.ShowError(ex.ToString()); } }
public PatientPresenter(IPatientView service) { _service = service; }
public PatientViewPresenter(IPatientView patientView) { this.patientView = patientView; this.repository = new PatientRepository(); patientView.GetPatientButtonEnabled = false; }
public PatientPresenter(IPatientView param) { view = param; }
public PatientPresenter(IPatientRepository patientRepository, IPatientView patientView) { _repository = patientRepository; _view = patientView; }