C# OpenFileDialog既能选择文件夹又能选择文件扩展

上传者: zrzahh | 上传时间: 2019-12-21 22:24:32 | 文件大小: 105KB | 文件类型: rar
C# OpenFileDialog既能选择文件夹又能选择文件扩展,同时选择多个文件夹和文件。

文件下载

资源详情

[{"title":"( 32 个子文件 105KB ) C# OpenFileDialog既能选择文件夹又能选择文件扩展","children":[{"title":"TestOpenFileDialogEx","children":[{"title":"TestOpenFileDialogEx.sln <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.v12.suo <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"TestOpenFileDialogEx.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.exe <span style='color:#111;'> 62.50KB </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.vshost.exe <span style='color:#111;'> 23.66KB </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.pdb <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.vshost.exe.config <span style='color:#111;'> 187B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 532B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TestOpenFileDialogEx.csproj.FileListAbsolute.txt <span style='color:#111;'> 1000B </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.exe <span style='color:#111;'> 62.50KB </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.pdb <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 865B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.csproj.GenerateResource.Cache <span style='color:#111;'> 977B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"OpenFileDialogEx.cs <span style='color:#111;'> 18.83KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 953B </span>","children":null,"spread":false},{"title":"TestOpenFileDialogEx.csproj <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Win32.cs <span style='color:#111;'> 71.41KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • jiakunbao :
    设置隐藏文件扩展名后,选择的文件不能获取后缀名,这个问题直接导致这个控件无法实际使用
    2021-07-13
  • 轻舞飞扬痞子蔡 :
    能用,但有bug,在.net4.5上是可以的,在.net4.0上不行
    2020-08-10
  • qq_39526058 :
    楼主 获取到的文件没有后缀名,这个应该怎么解决
    2020-02-27
  • wzyxs :
    真是个好东西!perfect~
    2019-08-25
  • qwe7412227 :
    代码不错,解决了我一个难题,楼下说不能获得后缀名根本就是没有好好上手用这个小控件吧?
    2019-02-28

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明