private void InsertPath() { var args = new PackagePathEventArgs(); ShowFileDialog(args); if (args.Cancel) return; RootLocations.Insert(RootLocations.Count, args.Path); RaiseCanExecuteChanged(); }
private void InsertPath() { var args = new PackagePathEventArgs(); ShowFileDialog(args); if (args.Cancel) { return; } RootLocations.Insert(RootLocations.Count, args.Path); SetPackagesScheduledState(args.Path, packagePathDisabled: false); RaiseCanExecuteChanged(); }