示例#1
0
 public virtual void Remove(IVisualElement child)
 {
     if (Children.Contains(child))
     {
         child.Parent = null;
         Children.Remove(child);
         child.Dispose();
     }
 }
示例#2
0
 public virtual void Remove(IVisualElement child)
 {
     if (Children.Contains(child))
     {
         child.Parent = null;
         Children.Remove(child);
         child.Dispose();
     }
 }