private void text3_LostFocus(object sender, RoutedEventArgs e)
 {
     if (list.SelectedIndex == -1)
     {
         return;
     }
     Commands.SetPriority command = new Commands.SetPriority(mRules.Rules.ElementAt(list.SelectedIndex), text3.Text);
     mCommandManager.Execute(command);
 }
Exemple #2
0
 private void text3_LostFocus(object sender, RoutedEventArgs e)
 {
     if (list.SelectedIndex == -1)
         return;
     Commands.SetPriority command = new Commands.SetPriority(mRules.Rules.ElementAt(list.SelectedIndex), text3.Text);
     mCommandManager.Execute(command);
 }