예제 #1
0
        public WatchListView(TreeViewState state, WatchRegistry watchRegistry)
            : base(state, new MultiColumnHeader(CreateState()))
        {
            WatchRegistry                 = watchRegistry;
            rows                          = new WatchListAdapter(watchRegistry);
            getNewSelectionOverride       = GetNewSelection;
            showAlternatingRowBackgrounds = true;

            Reload();
        }
예제 #2
0
 public Enumerator(WatchListAdapter adapter)
 {
     this.adapter = adapter;
     Reset();
 }