private void Window_Closed(object sender, EventArgs e)
        {
            sensor.OnImageReceived -= Fp_OnImageReceived;
            sensor.OnEnroll        -= Fp_OnEnroll;
            sensor.OnFeatureInfo   -= Sensor_OnFeatureInfo;

            SensorInstance.CloseSensorConnection();
        }
        private void Identificacion_Desactivada()
        {
            if (sensor.Active)
            {
                sensor.OnCapture       -= Fp_OnCapture;
                sensor.OnImageReceived -= Fp_OnImageReceived;

                if (fpcHandle > 0)
                {
                    sensor.FreeFPCacheDB(fpcHandle);
                }

                SensorInstance.CloseSensorConnection();
            }
            profes.Clear();
        }