Exemple #1
0
        private StaticFarm AddFarm(string name, string tagName)
        {
            StaticFarm farm = new StaticFarm();

            farm.Name     = name;
            farm.TagName  = tagName;
            farm.DataType = DataType.Farm;
            return(farm);
        }
Exemple #2
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     if (StaticFarm.NewFingerTemplate != null)
     {
         this.Close();
         StaticFarm.SaveToDB(StaticFarm.NewFingerTemplate);
         StaticFarm.Label.Visibility  = System.Windows.Visibility.Visible;
         StaticFarm.Button.Visibility = System.Windows.Visibility.Hidden;
     }
     else
     {
         MessageBox.Show("Add At least One Finger");
     }
 }
Exemple #3
0
 private void EnrollmentControl_OnEnroll(object Control, int FingerMask, DPFP.Template Template, ref DPFP.Gui.EventHandlerStatus EventHandlerStatus)
 {
     StaticFarm.NewFingerTemplate     = Template;
     StaticFarm.NewFingerBase64String = StaticFarm.ConvertM(Template.Bytes);
 }