Exemplo n.º 1
0
        void DeleteEvent(object param)
        {
            TreeNode node = (TreeNode)param;

            if (object.Equals(node.parent, null))
            {
                return;
            }
            GEventStyle tl     = node.parent.style;
            GEvent      parent = curTimline.Get(tl);

            parent.Remove(curEvent);
            node.parent.childs.Remove(node);
            SetSelect(node.parent);
            rootNode.isChange = true;
        }