我正在使用摩托罗拉MC55 / MC65,我发现使用Symbol.Keyboard.KeyPad
但是当我从“KeyPad”创建一个实例时,它会崩溃,但“不支持KeyState通知”。
如下所示的堆栈跟踪;
at v.h(IntPtr A_0, UInt32 A_1)
at Symbol.Keyboard.KeyPad..ctor()
at TestProj.Form1.btnOK_Click_1(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.ButtonBase.WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
at System.Windows.Forms.Application.Run(Form fm)
at TestProj.Program.Main()
我很困惑,我怎么能抓住橙色按钮或蓝色按钮?