Пример #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            addDiagnosisNamesForm aDNF = new addDiagnosisNamesForm();

            aDNF.lblDiagNo.Text = "0";
            aDNF.ShowDialog();
        }
Пример #2
0
        private void DGVdiagnosis_DoubleClick(object sender, EventArgs e)
        {
            string diagnosisNo         = DGVdiagnosis.SelectedRows[0].Cells["Diagnosis No"].Value.ToString();//MessageBox.Show(drugNoStr);
            addDiagnosisNamesForm aDNF = new addDiagnosisNamesForm();

            aDNF.lblDiagnosisHeader.Text = "Update or Delete Diagnosis Name";
            aDNF.lblDiagNo.Text          = diagnosisNo;
            aDNF.ShowDialog();
        }