private void btnInvoiceReviewingOutPatient_Click(object sender, System.EventArgs e) { PatientNotCompletedPreviousVisits_UC patientPreviousInvoices = new PatientNotCompletedPreviousVisits_UC(); patientPreviousInvoices.Initialize(ActiveSelectedPatient, ParentControl, this, PatientNotCompletedPreviousVisitsAction.InvoiceManager); if (ParentForm != null) { ParentForm.Close(); } PopupBaseForm.ShowAsPopup(patientPreviousInvoices, this); }
private void btnContinueOnPreviousInvoice_Click(object sender, EventArgs e) { PatientNotCompletedPreviousVisits_UC patientPreviousInvoices = new PatientNotCompletedPreviousVisits_UC(); patientPreviousInvoices.Initialize(ActivePatient, ParentControl, MainPatientInvoiceActions, PatientNotCompletedPreviousVisitsAction.InvoiceCreation); if (ParentForm != null) { ParentForm.Close(); } PopupBaseForm.ShowAsPopup(patientPreviousInvoices, this); }