• 大小: 25.65MB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2024-02-22
  • 语言: 其他
  • 标签: netron  

资源简介

netron流程图绘制源代码,对于想要编写流程图绘制程序的人来说是很不错的参考。不过架构比较复杂,简单的可以看netron light

资源截图

代码片段和文件信息

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2661  2009-07-03 10:05  Netron2009\BasicShapes\BasicShapes.csproj

     文件       7168  2009-07-06 16:45  Netron2009\BasicShapes\bin\Debug\BasicShapes.dll

     文件      15872  2009-07-06 16:45  Netron2009\BasicShapes\bin\Debug\BasicShapes.pdb

     文件     143360  2009-03-20 16:21  Netron2009\BasicShapes\bin\Debug\IP.Components.dll

     文件     659456  2009-07-06 16:45  Netron2009\BasicShapes\bin\Debug\Netron.Diagramming.Core.dll

     文件    1492480  2009-07-06 16:45  Netron2009\BasicShapes\bin\Debug\Netron.Diagramming.Core.pdb

     文件     345088  2009-07-06 16:45  Netron2009\BasicShapes\bin\Debug\Netron.Diagramming.Win.dll

     文件     265728  2009-07-06 16:45  Netron2009\BasicShapes\bin\Debug\Netron.Diagramming.Win.pdb

     文件     155648  2009-07-06 14:10  Netron2009\BasicShapes\bin\Debug\ToolBox.dll

     文件     353792  2009-07-06 14:10  Netron2009\BasicShapes\bin\Debug\ToolBox.pdb

     文件     155648  2009-03-20 16:33  Netron2009\BasicShapes\bin\Debug\XPExplorerBar.dll

     文件       7168  2009-03-24 15:06  Netron2009\BasicShapes\bin\Release\BasicShapes.dll

     文件     618496  2009-03-23 12:51  Netron2009\BasicShapes\bin\Release\Netron.Diagramming.Core.dll

     文件     143360  2009-03-23 12:50  Netron2009\BasicShapes\bin\Release\ToolBox.dll

     文件     155648  2009-03-20 16:33  Netron2009\BasicShapes\bin\Release\XPExplorerBar.dll

     文件        983  2009-07-06 14:10  Netron2009\BasicShapes\obj\Debug\BasicShapes.csproj.FileListAbsolute.txt

     文件       7168  2009-07-06 16:45  Netron2009\BasicShapes\obj\Debug\BasicShapes.dll

     文件      15872  2009-07-06 16:45  Netron2009\BasicShapes\obj\Debug\BasicShapes.pdb

     文件       4608  2009-07-01 15:44  Netron2009\BasicShapes\obj\Debug\Refactor\BasicShapes.dll

     文件      26880  2009-07-06 14:10  Netron2009\BasicShapes\obj\Debug\ResolveAssemblyReference.cache

     文件       1384  2009-07-01 17:04  Netron2009\BasicShapes\Properties\AssemblyInfo.cs

     文件       8863  2009-07-01 17:43  Netron2009\BasicShapes\TriangleShape.cs

     文件       4096  2009-07-03 17:43  Netron2009\ClassLibraryWang\bin\Debug\ClassLibraryWang.dll

     文件      13824  2009-07-03 17:43  Netron2009\ClassLibraryWang\bin\Debug\ClassLibraryWang.pdb

     文件     143360  2009-03-20 16:31  Netron2009\ClassLibraryWang\bin\Debug\IP.Components.dll

     文件     659456  2009-07-03 17:43  Netron2009\ClassLibraryWang\bin\Debug\Netron.Diagramming.Core.dll

     文件    1492480  2009-07-03 17:43  Netron2009\ClassLibraryWang\bin\Debug\Netron.Diagramming.Core.pdb

     文件     345600  2009-07-03 17:43  Netron2009\ClassLibraryWang\bin\Debug\Netron.Diagramming.Win.dll

     文件     267776  2009-07-03 17:43  Netron2009\ClassLibraryWang\bin\Debug\Netron.Diagramming.Win.pdb

     文件      17920  2009-07-03 17:43  Netron2009\ClassLibraryWang\bin\Debug\NetronProject.dll

............此处省略1193个文件信息

评论

共有 条评论