0
我在Motorola EMDK 2.8中使用Symbol.Barcode和Symbol.Barcode.DesignCF35.dll。 我正在獲得連續發射條形碼掃描器OnRead事件的問題。我有摩托羅拉ES400 Windows移動設備。 我在設計視圖中將EnableScanner屬性設置爲True,BufferSize = 7905。並且我還生成OnRead事件表單設計視圖。Motorola ES400條形碼掃描OnRead事件問題
以下是Barcdoe
private void barcodeTruck_OnRead(object sender, Symbol.Barcode.ReaderData readerData)
{
Cursor.Current = Cursors.WaitCursor;
try
{
txtVinNumber.Text = readerData.Text;
readerData.Dispose();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
Cursor.Current = Cursors.Default;
}
的事件當我按下掃描按鈕OnRead事件被觸發,它保持不斷調用該事件。我在設計中設置屬性在下圖中給出。 劑量任何人都有解決這個問題?
感謝
嗨,感謝您的回覆。我使用設計生成_OnRead事件。並且沒有任何屬性可以設置「Handled = True」。你能幫我,我怎麼生成條形碼事件和設置屬性「處理=真」 – user3136006 2015-02-23 09:57:55