在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
/// <summary> /// 方法委托 /// </summary> /// <param name="dwEnrollNum"></param> /// <param name="enrolldata"></param> /// <param name="dwMachineID"></param> public delegate void GetFingerInfor_Delegate(string dwEnrollNum, string enrolldata, int dwMachineID); /// <summary> /// 为控件赋值 /// </summary> /// <param name="dwEnrollNum"></param> /// <param name="enrolldata"></param> /// <param name="dwMachineID"></param> public void GetFingerInfor(string dwEnrollNum, string enrolldata, int dwMachineID) { try { Btn_Read.Text = "读取指纹"; txt_id.Text = dwEnrollNum; txt_fingerprint.Text = enrolldata; //关闭监听 bool b_end = Fingerprint.EndListen(axSB100PC1, dwMachineID); } catch (Exception ex) { string str_ex = ex.ToString(); } } //调用方法 GetFingerInfor_Delegate fingerInfor = new GetFingerInfor_Delegate(GetFingerInfor); this.BeginInvoke(fingerInfor, new object[] { dwEnrollNum.ToString(), enrolldata, dwMachineID });
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论