コード例 #1
0
        public override void UnExecute()
        {
            if (TreeNodeParent == null)
            {
                TreeNode.Presentation.RootNode = TreeNode;
            }
            else
            {
                TreeNodeParent.Insert(TreeNode, TreeNodePos);
            }

            //Console.WriteLine("=-------------------------=");
            //Console.WriteLine(TreeNode.GetTextFlattened());
            //Console.WriteLine("=-------------------------=");
            //Console.WriteLine("=-------------------------=");
            //if (TreeNodeParent != null)
            //{
            //    Console.WriteLine(TreeNodeParent.GetTextFlattened());
            //}
        }
コード例 #2
0
 public override void Execute()
 {
     TreeNodeParent.Insert(TreeNode, TreeNodePos);
 }