コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: blockspacer/isilme
 private void comboBox2_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (list.SelectedIndex == -1)
     {
         return;
     }
     Commands.SetTargetSelector command = new Commands.SetTargetSelector(mRules.Rules.ElementAt(list.SelectedIndex), comboBox2.SelectedIndex.ToString());
     mCommandManager.Execute(command);
 }
コード例 #2
0
ファイル: MainWindow.xaml.cs プロジェクト: weimingtom/isilme
 private void comboBox2_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (list.SelectedIndex == -1)
         return;
     Commands.SetTargetSelector command = new Commands.SetTargetSelector(mRules.Rules.ElementAt(list.SelectedIndex), comboBox2.SelectedIndex.ToString());
     mCommandManager.Execute(command);
 }