public List<IoItem> GetProgramMenu(string path) { if (path.EndsWith("Start Menu\\Programs")) return GetProgramMenu(); var list = new ProgramList(path); list.AddRootFolder(); return list.IoItems; }
public List<IoItem> GetProgramMenu() { var list = new ProgramList( Environment.GetFolderPath(Environment.SpecialFolder.CommonPrograms), Environment.GetFolderPath(Environment.SpecialFolder.Programs) ); return list.IoItems; }
public List <IoItem> GetProgramMenu() { var list = new ProgramList( Environment.GetFolderPath(Environment.SpecialFolder.CommonPrograms), Environment.GetFolderPath(Environment.SpecialFolder.Programs) ); return(list.IoItems); }
public List <IoItem> GetProgramMenu(string path) { if (path.EndsWith("Start Menu\\Programs")) { return(GetProgramMenu()); } var list = new ProgramList(path); list.AddRootFolder(); return(list.IoItems); }
public List <IoItem> GetDesktopItems() { var list = new ProgramList(ShellPath.GetAllUsersDesktopFolderPath(), Environment.GetFolderPath(Environment.SpecialFolder.Desktop)); return(list.IoItems); }
public List<IoItem> GetDesktopItems() { var list = new ProgramList(ShellPath.GetAllUsersDesktopFolderPath(),Environment.GetFolderPath(Environment.SpecialFolder.Desktop)); return list.IoItems; }