public NewVisitEditPresenter(INewVisitEditView newVisitEditView, VisitForGrid editVisit)
 {
     this.newVisitEditView  = newVisitEditView;
     newVisitEditModel      = new NewVisitModel();
     editVisitBillingNumber = editVisit.BillingNumber;
     newVisitEditView.NewVisitBillingNumber = editVisitBillingNumber;
     newVisitEditModel.GetDataSet();
     newVisitEditView.NewVisitPatients   = newVisitEditModel.LoadPatients();
     newVisitEditView.NewVisitDoctors    = newVisitEditModel.LoadDoctors();
     newVisitEditView.NewVisitApartments = newVisitEditModel.LoadApartments();
     newVisitEditView.ApartmentChoose   += LoadDefaultDoctor;
     newVisitEditView.NewVisitEditLoad  += LoadVisitProperties;
     newVisitEditView.NewOkEditClick    += EditVisit;
 }
 public NewVisitEditPresenter(INewVisitEditView newVisitEditView, VisitForGrid editVisit)
 {
     this.newVisitEditView = newVisitEditView;
     newVisitEditModel = new NewVisitModel();
     editVisitBillingNumber = editVisit.BillingNumber;
     newVisitEditView.NewVisitBillingNumber = editVisitBillingNumber;
     newVisitEditModel.GetDataSet();
     newVisitEditView.NewVisitPatients = newVisitEditModel.LoadPatients();
     newVisitEditView.NewVisitDoctors = newVisitEditModel.LoadDoctors();
     newVisitEditView.NewVisitApartments = newVisitEditModel.LoadApartments();
     newVisitEditView.ApartmentChoose += LoadDefaultDoctor;
     newVisitEditView.NewVisitEditLoad += LoadVisitProperties;
     newVisitEditView.NewOkEditClick += EditVisit;
 }