public FolderNode(TemplateFolder folder) { templateFolder = folder; Text = templateFolder.Name; ImageKey = "folder"; SelectedImageKey = "folder"; templateFolder.Renamed += new EventHandler(templateFolder_Renamed); }
public void MoveTo(TemplateFolder folder) { directoryInfo.MoveTo(Path.Combine(folder.directoryInfo.FullName, Name)); }
public void MoveTo(TemplateFolder folder) { fileInfo.MoveTo(Path.Combine(folder.FullName, Name)); }