예제 #1
0
        private void DoShowIDCardInfo(object objData)
        {
            IDBaseTextDecoder idTextDecoder = (IDBaseTextDecoder)objData;

            this.idCardGifBox.Hide();
            this.idCardPicCtrl.Show();

            faceDetect.LoadIDPhoto(); //load id photo
            this.idCardPicCtrl.DrawIDInfo(idTextDecoder, faceDetect.GetIDPhoto());
        }
예제 #2
0
 public void ShowIDCardInfo(IDBaseTextDecoder idTextDecoder)
 {
     this.Invoke(new MyFuncDelegate1(DoShowIDCardInfo), idTextDecoder);
 }
예제 #3
0
 public void DrawIDInfo(IDBaseTextDecoder idTextDecoder, Bitmap idPhoto)
 {
     this.idTextDecoder = idTextDecoder;
     this.bmIDPhoto     = idPhoto;
     this.Invalidate();
 }