//https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms?view=windowsdesktop-6.0
System.Windows.Forms Namespace
//https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms.filedialog?view=windowsdesktop-6.0
FileDialog Class
1:InitialDirectory
2:Filter
3:FilterIndex
4:RestoreDirectory
//https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms.dialogresult?view=windowsdesktop-6.0
DialogResult Enum
Fields
Abort 3 The dialog box return value is Abort (usually sent from a button labeled Abort).
Cancel 2 The dialog box return value is Cancel (usually sent from a button labeled Cancel).
Continue 11 The dialog box return value is Continue (usually sent from a button labeled Continue).
Ignore 5 The dialog box return value is Ignore (usually sent from a button labeled Ignore).
No 7 The dialog box return value is No (usually sent from a button labeled No).
None 0 Nothing is returned from the dialog box. This means that the modal dialog continues running.
OK 1 The dialog box return value is OK (usually sent from a button labeled OK).
Retry 4 The dialog box return value is Retry (usually sent from a button labeled Retry).
TryAgain 10 The dialog box return value is Try Again (usually sent from a button labeled Try Again).
Yes 6 The dialog box return value is Yes (usually sent from a button labeled Yes).
//https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms.colordialog?view=windowsdesktop-6.0
ColorDialog Class
//https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms.openfiledialog?view=windowsdesktop-6.0
OpenFileDialog Class
//https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms.savefiledialog?view=windowsdesktop-6.0
SaveFileDialog Class
//https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms.fontdialog?view=windowsdesktop-6.0
FontDialog Class
//https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms.folderbrowserdialog?view=windowsdesktop-6.0
FolderBrowserDialog Class
本文档详细介绍了.NET Framework中的几个常用对话框控件,包括FileDialog用于打开和保存文件,ColorDialog用于选择颜色,FontDialog用于设置字体,以及FolderBrowserDialog用于浏览和选择文件夹。这些控件在Windows桌面应用中常用于与用户进行交互,提供标准的UI操作。DialogResult枚举列出了各种可能的用户响应,如OK、Cancel、Yes等。

178

被折叠的 条评论
为什么被折叠?



