private async void Aceptar(BuscarNUCView Window)
        {
            AceptarEnabled = false;
            if (ScannerMessage.Contains("Procesando..."))
            {
                AceptarEnabled = true;
                return;
            }

            if (SelectedInterconexion != null)
            {
                if (SelectRegistro != null)
                {
                    Imputado = SelectRegistro.Imputado;
                }
                MediaFiliacion();
                _IsSucceed          = true;
                CancelKeepSearching = true;
                isKeepSearching     = true;
                if (SelectRegistro != null)
                {
                    await WaitForFingerPrints();
                }
                Window.Close();
            }
            else
            {
                mensajeAlerta("Validación", "Favor de seleccionar un NUC.");
            }
            AceptarEnabled = true;
        }
        private void OnLoad(BuscarNUCView Window)
        {
            #region [Huellas Digitales]
            var myDoubleAnimation = new DoubleAnimation();
            myDoubleAnimation.From           = 0;
            myDoubleAnimation.To             = 185;
            myDoubleAnimation.Duration       = new Duration(TimeSpan.FromSeconds(1.3));
            myDoubleAnimation.AutoReverse    = true;
            myDoubleAnimation.RepeatBehavior = RepeatBehavior.Forever;

            Storyboard.SetTargetName(myDoubleAnimation, "Ln");
            Storyboard.SetTargetProperty(myDoubleAnimation, new PropertyPath(Canvas.TopProperty));
            var myStoryboard = new Storyboard();
            myStoryboard.Children.Add(myDoubleAnimation);
            myStoryboard.Begin(Window.Ln);
            #endregion

            Window.Closed += (s, e) =>
            {
                try
                {
                    if (OnProgress == null)
                    {
                        return;
                    }

                    if (!_IsSucceed)
                    {
                        SelectRegistro = null;
                    }

                    OnProgress.Abort();
                    CancelCaptureAndCloseReader(OnCaptured);
                }
                catch (Exception ex)
                {
                    StaticSourcesViewModel.ShowMessageError("Algo pasó...", "Ocurrió un error al cargar busqueda", ex);
                }
            };

            if (CurrentReader != null)
            {
                CurrentReader.Dispose();
                CurrentReader = null;
            }

            CurrentReader = Readers[0];

            if (CurrentReader == null)
            {
                return;
            }

            if (!OpenReader())
            {
                Window.Close();
            }

            if (!StartCaptureAsync(OnCaptured))
            {
                Window.Close();
            }

            OnProgress = new Thread(() => InvokeDelegate(Window));

            Application.Current.Dispatcher.Invoke((System.Action)(delegate
            {
                ScannerMessage = "Capture Huella";
                ColorMessage   = new SolidColorBrush(Colors.Green);
            }));
            GuardandoHuellas = true;
        }