예제 #1
0
        private void EventFactory_DeleteObject(object sender, Midget.Events.Object.MultiObjectEventArgs e)
        {
            foreach (IObject3D obj in e.Objects)
            {
                MidgetTreeNode node = FindNode(obj);

                // if the node hasn't already been deleted
                if (node != null)
                {
                    node.Remove();
                }
            }
        }
예제 #2
0
 public void RemoveNode(MidgetTreeNode node)
 {
     node.Remove();
 }
예제 #3
0
 public void RemoveNode(MidgetTreeNode node)
 {
     node.Remove();
 }