VS01-03 时间:2021.12.06-2021.12.06 关键词:System.Windows.Forms Namespace dialog 文件 打开 另存为 颜色 字体 文件夹

//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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值