C# 选择文件的自定义控件SelectFileText(支持拖拽)

上传者: suenjoe | 上传时间: 2021-06-22 20:02:58 | 文件大小: 58KB | 文件类型: ZIP
开发过程中经常遇到选择文件路径然后对文件进行处理,普通的处理方式代码粘贴来粘贴去,很麻烦,因此对openFileDialog做了封装,可以直接选取文件,并支持拖拽

文件下载

资源详情

[{"title":"( 29 个子文件 58KB ) C# 选择文件的自定义控件SelectFileText(支持拖拽)","children":[{"title":"UserControlDemo","children":[{"title":"lblControl.resx <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"Resources","children":[{"title":"image_loading.png <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"lblControl.cs <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"ImageInfoControl.Designer.cs <span style='color:#111;'> 6.03KB </span>","children":null,"spread":false},{"title":"DataGridViewControl.Designer.cs <span style='color:#111;'> 6.59KB </span>","children":null,"spread":false},{"title":"DataGridViewControl.cs <span style='color:#111;'> 380B </span>","children":null,"spread":false},{"title":"lblControl.Designer.cs <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"SelectFilesText.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"SelectFilesText.Designer.cs <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 7.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"DataGridViewControl.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"UserControlDemo.csproj <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"ImageInfoControl.cs <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"ImageInfoControl.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"UserControlDemo.lblControl.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"UserControlDemo.Properties.Resources.resources <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"UserControlDemo.csproj.GenerateResource.Cache <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"UserControlDemo.ImageInfoControl.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"UserControlDemo.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"UserControlDemo.DataGridViewControl.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"UserControlDemo.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"UserControlDemo.SelectFilesText.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"UserControlDemo.dll <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"SelectFilesText.cs <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"UserControlDemo.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"UserControlDemo.dll <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

  • xinglang123 :
    可以用 但不是我需要的
    2019-03-07
  • laozhelaozhe :
    还行,至少能用。
    2016-07-15
  • zxdxp8laa :
    有自定义的效果,但是不是我想要的,我想要又不能改又可以拉的那种
    2014-08-18
  • wuxiangyang2008 :
    不错,适用新手研究自定义控件。
    2013-04-11
  • yishuihan_2012 :
    很强大,比较实用
    2012-12-18

免责申明

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