Beispiel #1
0
        private void lnkCreateCompany_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmViewCompany toShow = new frmViewCompany(EditModes.AddDialog);

            if (toShow.ShowDialog() == DialogResult.OK)
            {
                InitializeCompanies(toShow.FormCompany.id);
            }
        }
Beispiel #2
0
 private void lnkEditCompany_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (cmbInsuranceCarrier.SelectedIndex >= 0)
     {
         frmViewCompany toShow = new frmViewCompany((company)cmbInsuranceCarrier.SelectedItem, _currentContactInfo);
         if (toShow.ShowDialog() == DialogResult.OK)
         {
             InitializeCompanies(toShow.FormCompany.id);
         }
     }
 }