private void btnSave_Click(object sender, RoutedEventArgs e) { AreasAndConditions newAAC = new AreasAndConditions(txtBoxName.Text); AACList.Add(newAAC); EditAsAndCs EAAC = new EditAsAndCs(newAAC); EAAC.ShowDialog(); Close(); }
private void btnOverEdit_Click(object sender, RoutedEventArgs e) { EditAsAndCs eaas = new EditAsAndCs(AandC); eaas.ShowDialog(); AandC.sortAreasAndConditions(); ResetComboBoxes(); }