Beispiel #1
0
        private void SelectedRuleTypeChanged(object sender, SelectionChangedEventArgs e)
        {
            if (e.AddedItems.Count == 0)
            {
                return;
            }
            else
            {
                buttonOk.IsEnabled = true;
            }
            AnalyticRuleTypeViewModel ruleTypeViewModel =
                e.AddedItems[0] as AnalyticRuleTypeViewModel;

            ruleType = ruleTypeViewModel.Model;
        }
 private void RuleTypeSelectionChanged(
     object sender, SelectionChangedEventArgs e)
 {
     selectedRuleType = e.AddedItems[0] as AnalyticRuleTypeViewModel;
     YieldCriteriaHasChanged();
 }