Exemplo n.º 1
0
        private void btnAddRule_Click(object sender, EventArgs e)
        {
            frmApexRulesEdit toShow = new frmApexRulesEdit(null);

            toShow.ShowDialog(this);
            InitializeRules();
        }
Exemplo n.º 2
0
 private void dgvMain_DoubleClick(object sender, EventArgs e)
 {
     if (dgvMain.SelectedRows.Count > 0)
     {
         frmApexRulesEdit toShow = new frmApexRulesEdit((apex_rules_rulelist)dgvMain.SelectedRows[0].Cells["colRuleObject"].Value);
         toShow.ShowDialog(this);
         InitializeRules();
     }
 }