首页 > 代码库 > AutoCAD中Form的引导程序

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);
        }
    }
}