IFileDialogUICallbacks.cs 445 B

123456789101112
  1. using System;
  2. using System.Windows.Forms;
  3. namespace PaintDotNet.SystemLayer
  4. {
  5. public interface IFileDialogUICallbacks
  6. {
  7. FileOverwriteAction ShowOverwritePrompt(IWin32Window owner, string pathName);
  8. bool ShowError(IWin32Window owner, string pathName, Exception ex); // return true if error dialog shown, or false to cause caller to re-throw
  9. IFileTransferProgressEvents CreateFileTransferProgressEvents();
  10. }
  11. }