WinForm动态生成控件,生成的控件并可拖动源码

上传者: tom_8899 | 上传时间: 2021-05-12 12:07:20 | 文件大小: 403KB | 文件类型: 7Z
C# Winform 界面开发 此例是以在左边点击按钮,在右边动态成生Lable控件, 此控件可拖动,并获取新位置的X,Y位置。位对只能拖动的区间做了判断。 从网上收集,经测试,此例子完全可以正常运行,调试。 给大家分享。

文件下载

资源详情

[{"title":"( 27 个子文件 403KB ) WinForm动态生成控件,生成的控件并可拖动源码","children":[{"title":"CDRForm","children":[{"title":"Form1.cs <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 488B </span>","children":null,"spread":false},{"title":"CDRForm.csproj <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 146.25KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 5.46KB </span>","children":null,"spread":false},{"title":"image","children":[{"title":"02.gif <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"Thumbs.db <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false},{"title":"ff.jpg <span style='color:#111;'> 86.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 5.93KB </span>","children":null,"spread":false},{"title":"CDRForm.Form1.resources <span style='color:#111;'> 94.05KB </span>","children":null,"spread":false},{"title":"CDRForm.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"CDRForm.exe <span style='color:#111;'> 105.00KB </span>","children":null,"spread":false},{"title":"CDRForm.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"CDRForm.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"CDRForm.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"CDRForm.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"CDRForm.exe <span style='color:#111;'> 105.00KB </span>","children":null,"spread":false},{"title":"CDRForm.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false},{"title":"image","children":[{"title":"02.gif <span style='color:#111;'> 138B </span>","children":null,"spread":false}],"spread":false},{"title":"CDRForm.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"CDRForm.suo <span style='color:#111;'> 15.00KB </span>","children":null,"spread":false},{"title":"CDRForm.sln <span style='color:#111;'> 911B </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • jianuo0670 :
    挺好用,值得借鉴
    2016-05-16
  • fjbfei :
    好用!感谢分享
    2016-05-12
  • 傻飞螺蛳 :
    我用VS2013打开运行不了,说是The type or namespace name 'PowerPacks' does not exist in the namespace 'Microsoft.
    2015-12-07
  • on1forever :
    刚好需要,哈哈哈。可以参照了。
    2015-10-12
  • lichengjiayou88 :
    挺好用的,推荐
    2015-08-19

免责申明

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