private void btnAddNew_Click(object sender, EventArgs e)
 {
     frmEditSpecialEncounter EditEncounter = new frmEditSpecialEncounter(null, Locations);
     EditEncounter.ShowDialog();
     if (EditEncounter.Save)
     {
         SpecialEncounters.Add(EditEncounter.Encounter);
         lstSpecialEncounters.SetObjects(SpecialEncounters);
     }
 }
Example #2
0
        private void btnAddNew_Click(object sender, EventArgs e)
        {
            frmEditSpecialEncounter EditEncounter = new frmEditSpecialEncounter(null, Locations);

            EditEncounter.ShowDialog();
            if (EditEncounter.Save)
            {
                SpecialEncounters.Add(EditEncounter.Encounter);
                lstSpecialEncounters.SetObjects(SpecialEncounters);
            }
        }