private void NewGroup(object sender, RoutedEventArgs e) { currentGroup = new WarningAreaGroup() { GroupName = "New Group", GroupDescription = "Description" }; newGroup = true; }
private void WarningAreasSelectionChanged(object sender, SelectionChangedEventArgs e) { if (warningAreasComboBox.SelectedIndex != 0) { currentGroup = (WarningAreaGroup)warningAreasComboBox.SelectedItem; groupName.Text = currentGroup.GroupName; groupDescription.Text = currentGroup.GroupDescription; } }