Пример #1
0
        public SurveyForm(DbEngine dbEngine, PrescriptionForm prescriptionForm)
        {
            InitializeComponent();

            _dbEngine         = dbEngine;
            _prescriptionForm = prescriptionForm;
        }
Пример #2
0
        private void buttonPrescription_Click(object sender, EventArgs e)
        {
            var prescriptionForm = new PrescriptionForm(_dbEngine, _patientInfo);

            prescriptionForm.ShowDialog();

            textBoxConservativeTherapy.Text = _patientInfo.GetDischargeEpicrisConservativeTherapy();
        }