private void INewDoctorView_RoomsRegisterOpen(object sender, EventArgs e) { RoomsRegisterPresenter roomsRegisterPresenter = new RoomsRegisterPresenter(iNewDoctorView.RoomsRegisterView, new RoomsRegisterModel()); }
private void RegistratorView_RoomsRegister_Click(object sender, EventArgs e) { RoomsRegisterPresenter roomsRegisterPresenter = new RoomsRegisterPresenter(registratorView.IRoomsRegisterViewRef, new PolyclinicDBManager.Models.RoomsRegisterModel()); }