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()); //} }
public override void Execute() { TreeNodeParent.Insert(TreeNode, TreeNodePos); }