Beispiel #1
0
 private void RemoveShortcuts() {
   var selectedShortcutFiles = ShortcutsBox
                               .SelectedItems
                               .Cast<ShortcutListBoxItem>()
                               .Select(shortcut => shortcut.ShortcutInfo.FullName);
   Middleware.DeleteFiles(selectedShortcutFiles);
   ScanAndUpdate();
 }