コード例 #1
0
ファイル: CopyToolForm.cs プロジェクト: MOGwareSupport/MOG
 public ToolTreeNode() : base()
 {
     this.type               = ToolTreeNodeType.File;
     this.ImageIndex         = 0;
     this.SelectedImageIndex = 0;
     this.fullPath           = "";
     this.name               = "";
 }
コード例 #2
0
ファイル: CopyToolForm.cs プロジェクト: MOGwareSupport/MOG
 public ToolTreeNode(string fullPath, ToolTreeNodeType type) : base((new DirectoryInfo(fullPath)).Name)
 {
     this.type               = type;
     this.ImageIndex         = 0;
     this.SelectedImageIndex = 0;
     if (type == ToolTreeNodeType.Directory)
     {
         this.ImageIndex         = 1;
         this.SelectedImageIndex = 1;
     }
     this.fullPath = fullPath;
     this.name     = (new FileInfo(fullPath)).Name;
 }