CAD二次开发&C#.Net编程—CAD创建右键菜单 private static ContextMenuExtension m_ContextMenu; //装载右键菜单 public static void Attach() { //右键菜单 对象 m_ContextMenu = new ContextMenuExtension(); m_ContextMenu.Title = "修改"; //右键菜单项及其事件 MenuItem MenuItem_1 = new MenuItem("竖井"); MenuItem_1.Click +=