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