C#流程图绘制视觉+运动控制的演化

上传者: 21516871 | 上传时间: 2022-07-09 21:05:06 | 文件大小: 367KB | 文件类型: RAR
1、要画流程图,肯定需要一个画板,一个画笔。此处用一个Panel作为画板,画笔的选择就简单粗暴的用button来实现了。 2、点击左侧的画笔按钮进行切换绘制的类型,用一个字段来记录画笔的当前状态就可以了。 3、点击左侧的画笔按钮,鼠标的光标也相应改变。 4、流程节点的框框就用一个自定义控件。拖拽功能就更简单了,直接在MouseMoving事件中去改变画板中控件的显示位置。 5、为了在拖拽之后画板上的控件更容易对齐,在释放鼠标的时候让控件的位置按画板上的网格宽度进行取整即可。 6、保存的时候讲自定义控件的一些自定义属性保存到数据库即可。

文件下载

资源详情

[{"title":"( 52 个子文件 367KB ) C#流程图绘制视觉+运动控制的演化","children":[{"title":"DGVisionEditor","children":[{"title":".vs","children":[{"title":"NetronLight","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Diagramming for dummies.doc <span style='color:#111;'> 2.95MB </span>","children":null,"spread":false},{"title":"from.gif <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"LightUI","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"NetronLightUI.vshost.exe <span style='color:#111;'> 22.16KB </span>","children":null,"spread":false},{"title":"NetronLight.dll <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"NetronLightUI.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"NetronLight.pdb <span style='color:#111;'> 67.50KB </span>","children":null,"spread":false},{"title":"NetronLightUI.exe <span style='color:#111;'> 44.00KB </span>","children":null,"spread":false},{"title":"NetronLightUI.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LightUI.csproj.user <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"LightUI.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.30KB </span>","children":null,"spread":false},{"title":"LightUI.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"LightUI.csprojResolveAssemblyReference.cache <span style='color:#111;'> 6.73KB </span>","children":null,"spread":false},{"title":"LightUI.csproj.GenerateResource.Cache <span style='color:#111;'> 903B </span>","children":null,"spread":false},{"title":"NetronLightUI.exe <span style='color:#111;'> 44.00KB </span>","children":null,"spread":false},{"title":"NetronLightUI.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"LightUI.Form1.resources <span style='color:#111;'> 16.72KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 7.91KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 23.32KB </span>","children":null,"spread":false},{"title":"LightUI.csproj <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false},{"title":"NAF.ico <span style='color:#111;'> 8.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"NetronLight","children":[{"title":"Collections","children":[{"title":"ShapeCollection.cs <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"ConnectorCollection.cs <span style='color:#111;'> 687B </span>","children":null,"spread":false},{"title":"ConnectionCollection.cs <span style='color:#111;'> 544B </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"NetronLight.dll <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"NetronLight.pdb <span style='color:#111;'> 67.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"NetronLight.csproj <span style='color:#111;'> 5.15KB </span>","children":null,"spread":false},{"title":"ShapeBase.cs <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"UI","children":[{"title":"GraphControl.cs <span style='color:#111;'> 16.43KB </span>","children":null,"spread":false},{"title":"GraphControl.resx <span style='color:#111;'> 5.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"NetronLight.csproj.user <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"NetronLight.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"NetronLight.dll <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"NetronLight.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"NetronLight.csproj.GenerateResource.Cache <span style='color:#111;'> 913B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"NetronLight.csprojResolveAssemblyReference.cache <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"NetronLight.pdb <span style='color:#111;'> 67.50KB </span>","children":null,"spread":false},{"title":"NetronLight.GraphControl.resources <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Connector.cs <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"Enums","children":[{"title":"Enums.cs <span style='color:#111;'> 117B </span>","children":null,"spread":false}],"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Shapes","children":[{"title":"TextLabel.cs <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"SimpleRectangle.cs <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"OvalShape.cs <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false}],"spread":false},{"title":"Connection.cs <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"Entity.cs <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"Diagramming4dummies.pdf <span style='color:#111;'> 110.82KB </span>","children":null,"spread":false},{"title":"NetronLight.sln <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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