public State(StudyFilterComponent component, IEnumerable <string> paths, bool recursive) { this.Component = component; this.Paths = paths; this.SynchronizationContext = SynchronizationContext.Current; this.Recursive = recursive; }
public SortPredicateRoot(StudyFilterComponent owner) { _owner = owner; _predicates.ItemAdded += Predicates_Changed; _predicates.ItemChanged += Predicates_Changed; _predicates.ItemRemoved += Predicates_Changed; _predicates.EnableEvents = true; }
public static bool Load(StudyFilterComponent component, IDesktopWindow desktopWindow, bool allowCancel, IEnumerable <string> paths, bool recursive) { bool success = false; BackgroundTask task = new BackgroundTask(LoadWorker, allowCancel, new State(component, paths, recursive)); task.Terminated += delegate(object sender, BackgroundTaskTerminatedEventArgs e) { success = e.Reason == BackgroundTaskTerminatedReason.Completed; }; ProgressDialog.Show(task, desktopWindow, true, ProgressBarStyle.Continuous); return(success); }
public FilterPredicateRoot(StudyFilterComponent owner) { _enabled = true; _owner = owner; _predicate.Changed += Predicates_Changed; }
public StudyFilterToolContext(StudyFilterComponent component) { _component = component; }
public StudyFilterColumnCollection(StudyFilterComponent owner) { _owner = owner; }