public PrAddRecord(IVAddRecord view, IVMain mainView, IModel model, IPrMain mainPresenter) { View = view; MainView = mainView; Model = model; MainPresenter = mainPresenter; ErrHandler = new ErrorOutput(); }
public FormEditRecord(IModel model, IPrMain mainPresenter) { InitializeComponent(); Presenter = new PrEditRecord(this, Application.OpenForms["FormMain"] as FormMain, model, mainPresenter); ErrHandler = new ErrorOutput(); }