Пример #1
0
        private void btn_Pat_Det_Edit_Click(object sender, EventArgs e)
        {
            this.Hide();
            GlobalVariable._Patient_id = txtId.Text;
            frm_Patient_Detail_Edit form = new frm_Patient_Detail_Edit();

            form.ShowDialog();
        }
Пример #2
0
 private void btnEditPatient_Click(object sender, EventArgs e)
 {
     try
     {
         GlobalVariable._Patient_id = dataGridView1.CurrentRow.Cells["patidDataGridViewTextBoxColumn"].Value.ToString();
         frm_Patient_Detail_Edit form = new frm_Patient_Detail_Edit();
         form.ShowDialog();
     }
     catch (Exception t)
     {
         GlobalMethod.HandleException("frm_Patient / btnEditPatient_Click " + t.Message);
     }
 }