Пример #1
0
 private void text2_LostFocus(object sender, RoutedEventArgs e)
 {
     if (list.SelectedIndex == -1)
     {
         return;
     }
     Commands.SetCondition command = new Commands.SetCondition(mRules.Rules.ElementAt(list.SelectedIndex), text2.Text);
     mCommandManager.Execute(command);
 }
Пример #2
0
 private void text2_LostFocus(object sender, RoutedEventArgs e)
 {
     if (list.SelectedIndex == -1)
         return;
     Commands.SetCondition command = new Commands.SetCondition(mRules.Rules.ElementAt(list.SelectedIndex), text2.Text);
     mCommandManager.Execute(command);
 }