public void OtvoriNoviPostupak() { PostupakForm form = new PostupakForm(); var presenter = new PostupakPresenter(form, new UnitOfWork()); form.Show(); }
public PridruziZivotinjuPresenter(IPridruziZivotinjuView view, IUnitOfWork unit, PostupakPresenter presenter) { _view = view; view.Presenter = this; _unit = unit; _presenter = presenter; UpdateVlasnikListView(); }
public LijekoviPresenter(ILijekoviView view, IUnitOfWork unit, PostupakPresenter postupakPresenter = null) { _view = view; view.Presenter = this; _unit = unit; _postupakPresenter = postupakPresenter; _view.Terapija = postupakPresenter == null ? false : true; UpdateLijekoviListView(); }
public BolestiPresenter(IBolestiView view, IUnitOfWork unitOfWork, PostupakPresenter postupakPresenter) { _view = view; view.Presenter = this; _unit = unitOfWork; _presenterDijagnoza = postupakPresenter; _view.Dijagnoza = postupakPresenter == null ? false : true; UpdateBolestiListView(); }