public DirectoryTreeNode(DroidExplorer.Core.IO.FileSystemInfo fsi) : base(fsi.Name) { this.DirectoryInfo = fsi; if (this.DirectoryInfo.IsLink && this.DirectoryInfo.IsDirectory) { this.SelectedImageIndex = this.ImageIndex = 2; } else { this.SelectedImageIndex = this.ImageIndex = 0; } this.Nodes.Add(new DummyTreeNode( )); }
public ApkFileSystemInfoListViewItem(DroidExplorer.Core.IO.FileSystemInfo fsi, AaptBrandingCommandResult apkInfo) : base(fsi) { this.ApkInfo = apkInfo; if (!string.IsNullOrEmpty(this.ApkInfo.Label)) { this.Text = ApkInfo.Label; } else { this.Text = fsi.Name; } this.FileName = fsi.Name; }
public ApkFileSystemInfoListViewItem(DroidExplorer.Core.IO.FileSystemInfo fsi, int imageIndex, AaptBrandingCommandResult apkInfo) : this(fsi, apkInfo) { this.ImageIndex = imageIndex; }