Ejemplo n.º 1
0
 private void bnStop_Click(object sender, EventArgs e)
 {
     if (Ret_Value.SUCCESS_SETTING != EM1300DLL.EM1300DecodeState(false))
     {
         MessageBox.Show("停止扫描失败");
     }
 }
Ejemplo n.º 2
0
 private void Scan_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.KeyData == Keys.F20)
     {
         if (Ret_Value.SUCCESS_SETTING != EM1300DLL.EM1300DecodeState(false))
         {
             MessageBox.Show("关闭扫描失败");
             //return;
         }
         State = false;
     }
 }
Ejemplo n.º 3
0
 private void Scan_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyData == Keys.F20)
     {
         if (State == false)
         {
             if (Ret_Value.SUCCESS_SETTING != EM1300DLL.EM1300DecodeState(true))
             {
                 MessageBox.Show("开始扫描失败");
             }
             State = true;
             resumeEvent.Set();
         }
     }
 }