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