public override void UnlockList(UnlockListAction.WatchList buffer) { base.UnlockList(buffer); this.treeViewWatches.Model = new WatchTreeModel(buffer); this._userWatches = ""; foreach (TreeNodeAdv node in this.treeViewWatches.Root.Children) { WatchNode watchNode = node.Tag as WatchNode; if (watchNode != null) { this._userWatches += watchNode.Variable + "#"; } } }
public virtual void UnlockList(UnlockListAction.WatchList buffer) { this.treeViewWatches.BeginUpdate(); this.treeViewWatches.Model = new WatchTreeModel(buffer); this.treeViewWatches.EndUpdate(); }
public WatchTreeModel(UnlockListAction.WatchList buffer) { this._model = new TreeModel(); this._buffer = buffer != null ? buffer : new UnlockListAction.WatchList(); }