public GroupEntry(string name) { Name = name; Folders = new ParentedCollection <FolderEntry>(this); Folders.CollectionChanged += Folders_CollectionChanged; RefreshIcon(); }
public override void InitializeConfig() { tvwApps.ItemsSource = CurrentApps = new ParentedCollection <AppEntry>(null, AppsManager.BuildNestedStructure( app => new AppEntry(app), (folderName, children) => new AppEntry(folderName, children))); }
public GroupEntry(string name, Keys shortcutKey, bool startup, IEnumerable <FolderEntry> folders) { Name = name; Startup = startup; ShortcutKey = shortcutKey; Folders = new ParentedCollection <FolderEntry>(this, folders); Folders.CollectionChanged += Folders_CollectionChanged; RefreshIcon(); }
public override void InitializeConfig() { tvwGroups.ItemsSource = CurrentGroups = new ParentedCollection<GroupEntry>(null, GroupsManager.Groups.Select(g => new GroupEntry( g.Name, g.ShortcutKey, g.Startup, g.Paths.Select(p => new FolderEntry(p))))); }
public GroupEntry(string name) { Name = name; Folders = new ParentedCollection<FolderEntry>(this); Folders.CollectionChanged += Folders_CollectionChanged; RefreshIcon(); }
public GroupEntry(string name, Keys shortcutKey, bool startup, IEnumerable<FolderEntry> folders) { Name = name; Startup = startup; ShortcutKey = shortcutKey; Folders = new ParentedCollection<FolderEntry>(this, folders); Folders.CollectionChanged += Folders_CollectionChanged; RefreshIcon(); }
public AppEntry(string folderName, IEnumerable <AppEntry> children) { Name = folderName; Children = new ParentedCollection <AppEntry>(this, children); }
public override void InitializeConfig() { tvwApps.ItemsSource = CurrentApps = new ParentedCollection<AppEntry>(null, AppsManager.BuildNestedStructure( app => new AppEntry(app), (folderName, children) => new AppEntry(folderName, children))); }
public AppEntry(string folderName, IEnumerable<AppEntry> children) { Name = folderName; Children = new ParentedCollection<AppEntry>(this, children); }
public override void InitializeConfig() { tvwGroups.ItemsSource = CurrentGroups = new ParentedCollection <GroupEntry>(null, GroupsManager.Groups.Select(g => new GroupEntry( g.Name, g.ShortcutKey, g.Startup, g.Paths.Select(p => new FolderEntry(p))))); }