コード例 #1
0
 public FingerprintOPFormUserMgt(AxGrFingerXLib.AxGrFingerXCtrl grfingerxFormAuth, EnrollFingerprints f, TextBox txtLog, string personId)
 {
     grfingerx      = grfingerxFormAuth;
     this.txtLog    = txtLog;
     this.personId  = personId;
     template1      = new TTemplate();
     template2      = new TTemplate();
     template3      = new TTemplate();
     templateSearch = new TTemplate();
     frm            = f;
     connection     = DBHelper.GetConnection();
 }
コード例 #2
0
        private void cmdEnrollFingerprintBiometrics_Click(object sender, EventArgs e)
        {
            int j = lstvStaffDetails.SelectedIndices.Count;

            if (j > 0)
            {
                action    = "ENROLL";
                biometric = new EnrollFingerprints(grFingerXCtrl, data, this);
                new OpenForms().openModalForm(biometric);
            }
            else
            {
                Messaging.warning("You must select person name in the list to proceed", title);
            }
        }