예제 #1
0
        private void LoadDecisions()
        {
            Decisions.Clear();
            foreach (var decision in GetDecisionsForTopic())
            {
                Decisions.Add(Decision.Load(decision, false));
            }
            var temp = Utils.SortDecisionsByState(Decisions.ToList());

            Decisions = new BindingList <IDecision>(temp);
            Decisions.RaiseListChangedEvents = true;
            Decisions.ListChanged           += ListMemberChanged;
        }