欢迎加我的QQ群:193522571,一起来讨论、交流!

AutoCAD中Form的引导程序

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoCAD.ApplicationServices;
using System.Windows.Forms;

namespace Cylinder
{
    public class Shell
    {
        Cylinder SS = new Cylinder();
        [CommandMethod("Shell")]
        public void LoadShell()
        {
            Autodesk.AutoCAD.ApplicationServices.Application.ShowModalDialog(SS);
        }
    }
}

posted @ 2014-07-08 21:33  swtool  阅读(466)  评论(0)    收藏  举报
欢迎加我的QQ群:193522571,一起来讨论、交流!