private void RemoveExpandingNode(TreeNodeAdv node) { node.IsExpandingNow = false; _expandingNodes.Remove(node); if (_expandingNodes.Count <= 0) { ExpandingIcon.Stop(); } }
private void AddExpandingNode(TreeNodeAdv node) { lock (_expandingNodes) { node.IsExpandingNow = true; _expandingNodes.Add(node); ExpandingIcon.Start(); } }