在Kean的博客中有如下的代码:
using Autodesk..ApplicationServices;
using Autodesk.AutoCAD.Runtime;
using System.Windows.Interop;
using System;
[CommandMethod("caps")]
public void Caps()
{
Application.PreTranslateMessage +=
new PreTranslateMessageEventHandler(CapsHandler);
}
为什么我在VS2005和CAD2008中的Application中找不到PreTranslateMessage 事件呢?
望大家给予帮组