• 大小: 0.18M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-03-27
  • 语言: C#
  • 标签: c#  

资源简介


C# CAD 绘制圆,矩形,椭圆,直线 .. 捕捉焦点 移动图形 ,捕捉坐标

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ImitataCad;

namespace CADDemo
{
    public partial class CADDemo : Form
    {
        GraphicDisplay pGraphicDisplay;
        //线工具的注册名
        public const string LINETOOL_REGISTERNAME = “LINETOOL_REGISTERNAME“;
        //抓取工具的注册名
        public const string HANDTOOL_REGISTERNAME = “HANDTOOL_REGISTERNAME“;
        //矩形工具注册名
        public const string RECTANGLETOOL_REGISTERNAME = “RECTANGLETOOL_REGISTERNAME“;
        //椭圆工具注册名
        public const string ELLIPESTOOL_REGISTERNAME = “ELLIPESTOOL_REGISTERNAME“;
        //圆矩形工具注册名
        public const string CIRCLERECTANGLETOOL_REGISTERNAME = “CIRCLERECTANGLETOOL_REGISTERNAME“;
        //曲线工具注册名
        public const string CURVETOOL_REGISTERNAME = “CURVETOOL_REGISTERNAME“;
        public CADDem

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-08-09 09:51  CADDemo\
     目录           0  2017-05-28 14:04  CADDemo\.vs\
     目录           0  2017-05-28 14:04  CADDemo\.vs\CADDemo\
     目录           0  2017-05-28 14:04  CADDemo\.vs\CADDemo\v15\
     文件       85504  2017-08-09 09:52  CADDemo\.vs\CADDemo\v15\.suo
     目录           0  2017-05-29 10:16  CADDemo\CADDemo\
     文件         189  2017-05-28 14:04  CADDemo\CADDemo\App.config
     文件        3890  2017-05-28 17:44  CADDemo\CADDemo\CADDemo.csproj
     文件        9165  2017-05-29 10:15  CADDemo\CADDemo\Form1.Designer.cs
     文件        2905  2017-05-29 10:16  CADDemo\CADDemo\Form1.cs
     文件        6216  2017-05-29 10:15  CADDemo\CADDemo\Form1.resx
     文件         521  2017-05-28 14:26  CADDemo\CADDemo\Program.cs
     目录           0  2017-05-29 07:33  CADDemo\CADDemo\Properties\
     文件        1312  2017-05-28 14:04  CADDemo\CADDemo\Properties\AssemblyInfo.cs
     文件        3954  2017-05-29 07:33  CADDemo\CADDemo\Properties\Resources.Designer.cs
     文件        6673  2017-05-29 07:33  CADDemo\CADDemo\Properties\Resources.resx
     文件        1094  2017-05-28 14:04  CADDemo\CADDemo\Properties\Settings.Designer.cs
     文件         249  2017-05-28 14:04  CADDemo\CADDemo\Properties\Settings.settings
     目录           0  2017-05-29 07:33  CADDemo\CADDemo\Resources\
     文件        3140  2017-05-28 17:43  CADDemo\CADDemo\Resources\hand.png
     文件        3140  2017-05-28 17:41  CADDemo\CADDemo\Resources\hand1.png
     文件         248  2017-05-29 07:33  CADDemo\CADDemo\Resources\move.png
     目录           0  2017-05-28 14:04  CADDemo\CADDemo\bin\
     目录           0  2017-05-28 16:06  CADDemo\CADDemo\bin\Debug\
     文件       19456  2017-08-09 09:52  CADDemo\CADDemo\bin\Debug\CADDemo.exe
     文件         189  2017-05-28 14:04  CADDemo\CADDemo\bin\Debug\CADDemo.exe.config
     文件       24064  2017-08-09 09:52  CADDemo\CADDemo\bin\Debug\CADDemo.pdb
     文件       27136  2017-08-09 09:52  CADDemo\CADDemo\bin\Debug\ImitataCad.dll
     文件       97792  2017-08-09 09:52  CADDemo\CADDemo\bin\Debug\ImitataCad.pdb
     目录           0  2017-05-28 14:04  CADDemo\CADDemo\obj\
     目录           0  2017-08-09 09:52  CADDemo\CADDemo\obj\Debug\
............此处省略58个文件信息

评论

共有 条评论