public FileSystemTreeNodeLocalDB(CUEControls.IIconManager icon_mgr, List<CUEToolsLocalDBEntry> group) : base(icon_mgr) { this.Group = group; this.SelectedImageIndex = this.ImageIndex = this.DisplayIcon; this.Text = this.DisplayName; }
public FileSystemTreeNodeLocalDBCollision(CUEControls.IIconManager icon_mgr, List<CUEToolsLocalDBEntry> group, bool showArtist, bool showYear) : base(icon_mgr) { this.Group = group; this.ShowArtist = showArtist; this.ShowYear = showYear; this.SelectedImageIndex = this.ImageIndex = this.DisplayIcon; this.Text = this.DisplayName; }
private void fileSystemTreeView1_NodeExpand(object sender, CUEControls.FileSystemTreeViewNodeExpandEventArgs e) { List<FileGroupInfo> fileGroups = CUESheet.ScanFolder(_config, e.files); foreach (FileGroupInfo fileGroup in fileGroups) { TreeNode node = fileSystemTreeView1.NewNode(fileGroup.main); if (fileGroup.type == FileGroupInfoType.TrackFiles) node.Text = node.Text + ": " + fileGroup.files.Count.ToString() + " files"; e.node.Nodes.Add(node); } }
public FileSystemTreeNodeLocalDBGroup(CUEControls.IIconManager icon_mgr, List<CUEToolsLocalDBEntry> group, bool showArtist, bool showYear, int icon, string name) : base(icon_mgr) { this.Group = group; this.m_icon = icon; this.m_name = name; this.ShowArtist = showArtist; this.ShowYear = showYear; this.SelectedImageIndex = this.ImageIndex = this.DisplayIcon; this.Text = this.DisplayName; }
public FileSystemTreeNodeLocalDBCategory(CUEControls.IIconManager icon_mgr, List<CUEToolsLocalDBEntry> group, bool showArtist, bool showYear, int icon, string name, Converter<CUEToolsLocalDBEntry, string> converter_key, Converter<CUEToolsLocalDBEntry, string> converter_name, Converter<CUEToolsLocalDBEntry, int> converter_icon) : base(icon_mgr) { this.Group = group; this.m_converter_key = converter_key; this.m_converter_name = converter_name ?? converter_key; this.m_converter_icon = converter_icon ?? (i => m_icon); this.m_icon = icon; this.m_name = name; this.ShowArtist = showArtist; this.ShowYear = showYear; this.SelectedImageIndex = this.ImageIndex = this.DisplayIcon; this.Text = this.DisplayName; }
private void fileSystemTreeView1_NodeExpand(object sender, CUEControls.FileSystemTreeViewNodeExpandEventArgs e) { List<FileGroupInfo> fileGroups = CUESheet.ScanFolder(_profile._config, e.files); foreach (FileGroupInfo fileGroup in fileGroups) { TreeNode node = fileSystemTreeView1.NewNode(fileGroup.main); node.Text = fileGroup.ToString(); e.node.Nodes.Add(node); } //toolTip1.Show }
public DriveInfo(CUEControls.IIconManager iconMgr, string path, ICDRipper drive) { this.iconMgr = iconMgr; this.di = new DirectoryInfo(path); this.drive = drive; }