Ejemplo n.º 1
0
        private void buttonSort_Click(object sender, EventArgs e)
        {
            objectListView1.PrimarySortColumn = null;
            var results = AppUninstaller.SortIntelligently(Entries, entry => entry.Entry);

            objectListView1.SetObjects(results.ToList());
        }
 private static List <BulkUninstallEntry> SortTaskEntryList(List <BulkUninstallEntry> taskEntries)
 {
     return(Settings.Default.AdvancedIntelligentUninstallerSorting
         ? AppUninstaller.SortIntelligently(taskEntries).ToList()
         : taskEntries.OrderBy(x => x.UninstallerEntry.DisplayName).ToList());
 }