Ejemplo n.º 1
0
 public List<IoItem> GetProgramMenu(string path)
 {
     if (path.EndsWith("Start Menu\\Programs"))
         return GetProgramMenu();
     var list = new ProgramList(path);
     list.AddRootFolder();
     return list.IoItems;
 }
Ejemplo n.º 2
0
 public List<IoItem> GetProgramMenu()
 {
     var list = new ProgramList(
         Environment.GetFolderPath(Environment.SpecialFolder.CommonPrograms),
         Environment.GetFolderPath(Environment.SpecialFolder.Programs)
         );
     return list.IoItems;
 }
Ejemplo n.º 3
0
        public List <IoItem> GetProgramMenu()
        {
            var list = new ProgramList(
                Environment.GetFolderPath(Environment.SpecialFolder.CommonPrograms),
                Environment.GetFolderPath(Environment.SpecialFolder.Programs)
                );

            return(list.IoItems);
        }
Ejemplo n.º 4
0
        public List <IoItem> GetProgramMenu(string path)
        {
            if (path.EndsWith("Start Menu\\Programs"))
            {
                return(GetProgramMenu());
            }
            var list = new ProgramList(path);

            list.AddRootFolder();
            return(list.IoItems);
        }
Ejemplo n.º 5
0
        public List <IoItem> GetDesktopItems()
        {
            var list = new ProgramList(ShellPath.GetAllUsersDesktopFolderPath(), Environment.GetFolderPath(Environment.SpecialFolder.Desktop));

            return(list.IoItems);
        }
Ejemplo n.º 6
0
 public List<IoItem> GetDesktopItems()
 {
     var list = new ProgramList(ShellPath.GetAllUsersDesktopFolderPath(),Environment.GetFolderPath(Environment.SpecialFolder.Desktop));
     return list.IoItems;
 }