资源简介
WINFORM 绘制流程图 开源 .net开源的矢量图、流程图这绘制软件,对学习.Net项目中的MVC架构、C#编程、GDI+图像处理、实现应用程序的撤消与重做等其他很多知识都有很好的帮助。
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using Netron.Diagramming.Core;
using System.Drawing.Drawing2D;
using System.Runtime.Serialization;
namespace BasicShapes
{
[Serializable()]
[Shape(
“Triangle“ // Shape Name
“5B148C27-31F4-456f-8D1F-C7B8C8E86283“ // Shape Key
“Basic Shapes“ // Category
“A triangular shape.“ // Description
false)] // Is for internal use only? NO.
public class TriangleShape : SimpleShapebase
{
#region Fields
// ------------------------------------------------------------------
///
/// The current version - used when deserializing the shape.
///
// ------------------------------------------------------------------
protected double triangleShapeVersion = 1.0;
#endregion
#region Properties
// ------------------------------------------------------------------
///
/// Gets the graphics path that defines this triangle.
///
// ------------------------------------------------------------------
public GraphicsPath Path
{
get
{
GraphicsPath path = new GraphicsPath();
path.AddLine(TopCenter
BottomRightCorner);
path.AddLine(BottomRightCorner
BottomLeftCorner);
path.AddLine(BottomLeftCorner
TopCenter);
return path;
}
}
// ------------------------------------------------------------------
///
/// Gets the friendly name of this shape.
///
// ------------------------------------------------------------------
public override string EntityName
{
get
{
return “三角形“;
}
}
// ------------------------------------------------------------------
///
/// Returns the version of this shape.
///
// ------------------------------------------------------------------
public override double Version
{
get
{
return triangleShapeVersion;
}
}
#endregion
#region Constructors
// ------------------------------------------------------------------
///
/// Default constructor.
///
// ------------------------------------------------------------------
public TriangleShape()
: base()
{
}
// ------------------------------------------------------------------
///
/// Constructor that receives
相关资源
- Winform可视化打印模板设计工具含源码
- c# winform 自动登录 百度账户 源代码
- DirectX.Capturec# winform 操作摄像头录像附
- C# 五子棋程序 附带编程日记
- C# winform实现表数据导出到Excel表格
- C# WinForm读写INI文件
- C#处理png图片位深度和交错属性
- winform(c#)最全73种非常漂亮界面样式
- winform与内嵌echarts的数据交互,让数据
- winform分页控件
- winform materialskin好看的皮肤组件
- winform 皮肤
- C#全套皮肤一共73款(IrisSkin4)
- 开源版C#商场超市收银商品管理财务管
- UI界面皮肤(winform)
- winform开发的人脸识别打卡系统
- OPCUA:C#使用OpcUaHelper开源库开发客M
- winform下拉多选自定义控件(带全选)
- winform控件库
- C# winform简洁漂亮的图形界面库SunnyU
- C# 斑马标签打印 (WEBamp;WINFORM)
- winform shell编程
- winform实时获取网卡网速全部源码,获
- winform实现饼状图、柱状图、折线图(
- winform简单用户登录(带验证码)
- 输入框自动切换中文(C#winform)vs20
- winform右下角弹窗
- windorm 加载WPF控件 ,实现dxf文件显示
- C# 俄罗斯方块(winform)
- C# 贪吃蛇(winform)
评论
共有 条评论