Exemplo n.º 1
0
        private void btnNuevo_Click(object sender, EventArgs e)
        {
            frmMasterRecommendationRestricctionEdicion frm = new frmMasterRecommendationRestricctionEdicion(_typifyingId, "New", "");

            frm.ShowDialog();

            if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                // Refrescar grilla
                btnFilter_Click(sender, e);
            }
        }
Exemplo n.º 2
0
        private void btnEditar_Click(object sender, EventArgs e)
        {
            string strMasterRecommendationRestricctionId = grdData.Selected.Rows[0].Cells[0].Value.ToString();

            frmMasterRecommendationRestricctionEdicion frm = new frmMasterRecommendationRestricctionEdicion(_typifyingId, "Edit", strMasterRecommendationRestricctionId);

            frm.ShowDialog();

            if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                // Refrescar grilla
                btnFilter_Click(sender, e);
            }
        }