예제 #1
0
 private void BarcodeDetected(object sender, BarcodeDetectedEventArgs e)
 {
     barCodeBorder.Child = e.GetBarcodeBorderUIVideoUniformFill(barCodeBorder.ActualWidth, barCodeBorder.ActualHeight);
     DisplayResult(e.Result);
     if (_resetTextAction != null)
     {
         _resetTextAction.Start();
     }
 }
예제 #2
0
        private void BarcodeDetected(object sender, BarcodeDetectedEventArgs e)
        {
            _device.AutoDetectBarcode = false;
            barCodeBorder.Child       = e.GetBarcodeBorderUIVideoUniformFill(barCodeBorder.ActualWidth, barCodeBorder.ActualHeight);
            DisplayResult(e.Result);

            _device.Dispose();
            _device = null;
            NavigationService.GoBack();
        }