Exemple #1
0
 private void UpdateCommandStates()
 {
     ZoomActualCommand.RaiseCanExecuteChanged();
     ZoomFitCommand.RaiseCanExecuteChanged();
     ZoomInCommand.RaiseCanExecuteChanged();
     ZoomOutCommand.RaiseCanExecuteChanged();
     SaveImageToFileCommand.RaiseCanExecuteChanged();
     InspectImageFileCommand.RaiseCanExecuteChanged();
 }
Exemple #2
0
        private void UpdateCommandStates()
        {
            CreateWorkpieceInfoCommand.RaiseCanExecuteChanged();
            DeleteWorkpieceInfoCommand.RaiseCanExecuteChanged();

            CreateDefectInfoCommand.RaiseCanExecuteChanged();
            DeleteDefectInfoCommand.RaiseCanExecuteChanged();

            ZoomActualCommand.RaiseCanExecuteChanged();
            ZoomFitCommand.RaiseCanExecuteChanged();
            ZoomInCommand.RaiseCanExecuteChanged();
            ZoomOutCommand.RaiseCanExecuteChanged();

            SaveImageToFileCommand.RaiseCanExecuteChanged();
        }