Exemple #1
0
 /// <summary>
 /// Adding node on the snap-in thread although the Expand is in its own thread
 /// </summary>
 /// <param name="parentNode">node to add under</param>
 private void AddChildNode(AsyncExpandNode parentNode)
 {
     // add the child 
     ScopeNode childNode = new AsyncExpandNode();
     childNode.DisplayName = "Added " + System.DateTime.Now.ToLongTimeString();
     this.Children.Add(childNode);
 }
 /// <summary>
 /// Adding node on the snap-in thread although the Expand is in its own thread
 /// </summary>
 /// <param name="parentNode">node to add under</param>
 private void AddChildNode(AsyncExpandNode parentNode)
 {
     // add the child
     ScopeNode childNode = new AsyncExpandNode();
     childNode.DisplayName = "Added " + System.DateTime.Now.ToLongTimeString();
     this.Children.Add(childNode);
 }