Skip to main content

How to add a error messages that appear during processing

  • FileState.cs - add enum for your new error
  • FileStateToHintConverter.cs - add text for error message
  • TrayNotificationHelper.cs - add your new enum to the errorsState list (OPTIONAL - if you want the error to appear as windows notification)
  • FileStatisticsMode.cs - add your new enum to the FailedCount getter
  • FormsOcr.ResourceDictionary.xaml - add a child <DataTrigger> tag to the userControls:ErrorMessage <Style> tag for your new enum
  • Set FileState to your error message. An event is triggered that will take care of displaying everything