Esempio n. 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            frmMedicalExamFieldEdicion frm = new frmMedicalExamFieldEdicion(strMedicalExamId, "New", "");

            frm.ShowDialog();

            if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                // Refrescar grilla
                BindGridMedicalExamFields(strMedicalExamId);
            }
        }
Esempio n. 2
0
        private void mnuGridEditMedicalExamField_Click(object sender, EventArgs e)
        {
            string strMedicalExamFieldId = grdDataMedicalExamFields.Selected.Rows[0].Cells[0].Value.ToString();

            frmMedicalExamFieldEdicion frm = new frmMedicalExamFieldEdicion(strMedicalExamId, "Edit", strMedicalExamFieldId);

            frm.ShowDialog();

            //if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
            //{
            // Refrescar grilla
            BindGridMedicalExamFields(strMedicalExamId);
            //}

            grdDataMedicalExamFields.Rows[_RowIndexgrdDataMedicalExamFields].Selected = true;
        }