123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System.Windows.Forms;
- namespace PaintDotNet.SystemLayer
- {
- public sealed class ClassicFileOpenDialog : ClassicFileDialog, IFileOpenDialog
- {
- private OpenFileDialog OpenFileDialog
- {
- get
- {
- return this.FileDialog as OpenFileDialog;
- }
- }
- public bool CheckFileExists
- {
- get
- {
- return this.OpenFileDialog.CheckFileExists;
- }
- set
- {
- this.OpenFileDialog.CheckFileExists = value;
- }
- }
- public bool Multiselect
- {
- get
- {
- return this.OpenFileDialog.Multiselect;
- }
- set
- {
- this.OpenFileDialog.Multiselect = value;
- }
- }
- public string[] FileNames
- {
- get
- {
- return this.OpenFileDialog.FileNames;
- }
- }
- public ClassicFileOpenDialog()
- : base(new System.Windows.Forms.OpenFileDialog())
- {
- }
- }
- }
|