1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System;
- using System.Windows.Forms;
- namespace PaintDotNet.SystemLayer
- {
- public interface IFileDialog
- : IDisposable
- {
- bool CheckPathExists
- {
- get;
- set;
- }
- bool DereferenceLinks
- {
- get;
- set;
- }
- string Filter
- {
- get;
- set;
- }
- int FilterIndex
- {
- get;
- set;
- }
- string InitialDirectory
- {
- get;
- set;
- }
- string Title
- {
- set;
- }
- /// <summary>
- /// Shows the common file dialog.
- /// </summary>
- /// <param name="owner">The owning window for this dialog.</param>
- /// <param name="uiCallbacks">
- /// A reference to an object that implements the IFileDialogUICallbacks interface. This
- /// may not be null.</param>
- DialogResult ShowDialog(IWin32Window owner, IFileDialogUICallbacks uiCallbacks);
- }
- }
|