Esempio n. 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);
 }
Esempio n. 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);
 }