public SurveyForm(DbEngine dbEngine, PrescriptionForm prescriptionForm) { InitializeComponent(); _dbEngine = dbEngine; _prescriptionForm = prescriptionForm; }
private void buttonPrescription_Click(object sender, EventArgs e) { var prescriptionForm = new PrescriptionForm(_dbEngine, _patientInfo); prescriptionForm.ShowDialog(); textBoxConservativeTherapy.Text = _patientInfo.GetDischargeEpicrisConservativeTherapy(); }