internal void AddToRecyle(Entity entity) { if (Recycle.IsLoaded == false) { Recycle.Read(); } Recycle.Add(entity); Recycle.Save(); if (option == ExplorerOption.Recycle) { OpenedNode = Recycle; } }
internal void AddToRecyle(Node node) { if (Recycle.IsLoaded == false) { Recycle.Read(); } node.ParentName = Recycle.Name; node.Save(); Recycle.Add(node); Recycle.Save(); if (option == ExplorerOption.Recycle) { OpenedNode = Recycle; } }