Example #1
0
        private void EditSelectedItem()
        {
            frmEditInsuranceGroup toShow =
                new frmEditInsuranceGroup((insurance_company_group)dgvMain.SelectedRows[0].Cells["colGroupObject"].Value);

            toShow.ShowDialog();
            LoadGroups();
        }
Example #2
0
        private void lnkEditGroups_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmEditInsuranceGroup tempForm = new frmEditInsuranceGroup();

            if (tempForm.ShowDialog() == DialogResult.OK)
            {
                LoadGroups(false);
                cmbInsuranceGroups.SelectedIndex = cmbInsuranceGroups.FindStringExact(tempForm.FormGroup.name);
            }
        }
Example #3
0
        private void btnAddRule_Click(object sender, EventArgs e)
        {
            frmEditInsuranceGroup toShow = new frmEditInsuranceGroup();

            try
            { toShow.ShowDialog(); }
            catch { }

            LoadGroups();
        }