private void RaiseButtonNotifications() { AddTgFileCommand.RaiseCanExecuteChangedNotification(); AddTgFolderCommand.RaiseCanExecuteChangedNotification(); RemoveTgFileCommand.RaiseCanExecuteChangedNotification(); ClearTgFilesCommand.RaiseCanExecuteChangedNotification(); ProcessCommand.RaiseCanExecuteChangedNotification(); SetOutputFolderCommand.RaiseCanExecuteChangedNotification(); LoadOutputFolderCommand.RaiseCanExecuteChangedNotification(); ExportAllCommand.RaiseCanExecuteChangedNotification(); BatchSettingsCommand.RaiseCanExecuteChangedNotification(); }
private void RemoveTgFile() { TgItemsSource.Remove(SelectedTgItem); NotifyPropertyChanged("TgItemsSource"); BatchSettingsCommand.RaiseCanExecuteChangedNotification(); }
private void ClearTgList() { SelectedTgItem = null; TgItemsSource = new ObservableCollection <SingleMouseViewModel>(); BatchSettingsCommand.RaiseCanExecuteChangedNotification(); }