示例#1
0
        public MyNode CreateNode(Type nodeType)
        {
            MyNode newNode = Activator.CreateInstance(nodeType) as MyNode;

            newNode.Owner = this;
            newNode.Init();

            return(newNode);
        }