c# 真正的线控件(直线、斜线)而且不会遮盖

上传者: 38327551 | 上传时间: 2019-12-21 20:49:16 | 文件大小: 100KB | 文件类型: rar
C# 编写的真正线控件。在网上找到的大部分都没有处理两个线相交情况互相遮盖的部分。 这次我利用GDI+ 的异形把线控件遮盖部分去掉,变成完全的线控件,添加后可以拖动还可以改变大小方向。而且多个线相交,只有相交部分重叠,其他部分都可以看到。 类似VB里面的线控件。

文件下载

资源详情

[{"title":"( 47 个子文件 100KB ) c# 真正的线控件(直线、斜线)而且不会遮盖","children":[{"title":"LineControl","children":[{"title":"StraightLine","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"LineControl.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"StraightLine.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"StraightLine.dll <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"LineControl.dll <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LineBase.cs <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"LineControl.csproj <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"LineControl.csproj.FileList.txt <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"LineControl.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"StraightLine.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"StraightLine.dll <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Refactor","children":[{"title":"LineControl.dll <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"LineControl.dll <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"StraightLine.csproj.FileList.txt <span style='color:#111;'> 154B </span>","children":null,"spread":false}],"spread":true},{"title":"StraightLine.cs <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"StraightLineTypeEditor.cs <span style='color:#111;'> 11.80KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LineControl","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"LineControl.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"DemoExample.exe <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false},{"title":"DemoExample.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"LineControl.dll <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"FormDemo.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"DemoExample.csproj.FileList.txt <span style='color:#111;'> 405B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"DemoExample.csproj.GenerateResource.Cache <span style='color:#111;'> 903B </span>","children":null,"spread":false},{"title":"DemoExample.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DemoExample.FormDemo.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DemoExample.exe <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false},{"title":"DemoExample.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 7.29KB </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":"Refactor","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"FormDemo.Designer.cs <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"FormDemo.cs <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"DemoExample.csproj <span style='color:#111;'> 3.42KB </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.15KB </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.78KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LineControl.suo <span style='color:#111;'> 23.00KB </span>","children":null,"spread":false},{"title":"LineControl.sln <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"Demo.JPG <span style='color:#111;'> 9.32KB </span>","children":null,"spread":false},{"title":"Build","children":[{"title":"LineControl.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"DemoExample.exe <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false},{"title":"DemoExample.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"DemoExample.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"LineControl.dll <span style='color:#111;'> 24.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test.txt <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • qiuzixuan520 :
    还不错,很久没用winform了,恢复学习
    2021-03-11
  • h960153045 :
    不错不错还可以
    2019-10-20
  • wooddy1982 :
    很有参考的价值,不过还有别的问题需要解决。
    2019-02-14

免责申明

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