예제 #1
0
 private void bnStop_Click(object sender, EventArgs e)
 {
     if (Ret_Value.SUCCESS_SETTING != EM1300DLL.EM1300DecodeState(false))
     {
         MessageBox.Show("停止扫描失败");
     }
 }
예제 #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;
     }
 }
예제 #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();
         }
     }
 }