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);
}
}
}
AutoCAD中Form的引导程序,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/swtool/p/3832417.html