Exemple #1
0
        private void RemovePathAt(int index)
        {
            var pathToRemove = RootLocations[index];

            SetPackagesScheduledState(pathToRemove, packagePathDisabled: true);
            RootLocations.RemoveAt(index);
            RaiseCanExecuteChanged();
        }
        private void RemovePathAt(int index)
        {
            RootLocations.RemoveAt(index);

            if (index <= SelectedIndex && SelectedIndex > 0)
                SelectedIndex--;

            RaiseCanExecuteChanged();
        }
 private void RemovePathAt(int index)
 {
     RootLocations.RemoveAt(index);
     RaiseCanExecuteChanged();
 }