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