private void tsBtnAdd_Click(object sender, EventArgs e) { FacilityEdit editDialogue = new FacilityEdit(); editDialogue.ShowDialog(); UpdateFacilities(); }
private void editToolStripMenuItem_Click(object sender, EventArgs e) { FacilityEdit editDialogue = new FacilityEdit(selection); editDialogue.ShowDialog(); }