private void HandleChildrenRequested(object sender, RequestChildrenEventArgs e) { IResource res = (IResource)e.Node.Data; if (e.Node.Nodes.Count == 0) { ExpandResource(e.Node, res); if (e.Node.Nodes.Count == 0) { e.Node.HasChildren = false; } } }
private void HandleChildrenRequested(object sender, RequestChildrenEventArgs e) { if (_listView == null) { return; } IResource res = (IResource)e.Node.Data; e.Handled = _threadingHandler.HandleThreadExpand(res, (e.Reason == RequestChildrenReason.Enumerate ? ThreadExpandReason.Enumerate : ThreadExpandReason.Expand)); BuildConversation(res, (e.Node == _lastExpandingNode && e.Node.Level == 0)); }
private void HandleChildrenRequested(object sender, RequestChildrenEventArgs e) { _eventNodes.Add(e.Node); }