コード例 #1
0
        public QRCodeDecoder()
        {
            _barcodeReader = new BarcodeReaderImage
            {
                AutoRotate = false,
                Options = { PossibleFormats = new List<ZXing.BarcodeFormat> { ZXing.BarcodeFormat.QR_CODE } }
            };

            PropertyChanged += (s, e) =>
            {
                switch (e.PropertyName)
                {
                    case TryHarderPropertyName:
                        _barcodeReader.Options.TryHarder = TryHarder;
                        break;
                }
            };
        }
コード例 #2
0
        public QRCodeDecoder()
        {
            _barcodeReader = new BarcodeReaderImage
            {
                AutoRotate = false,
                Options    = { PossibleFormats = new List <ZXing.BarcodeFormat> {
                                   ZXing.BarcodeFormat.QR_CODE
                               } }
            };

            PropertyChanged += (s, e) =>
            {
                switch (e.PropertyName)
                {
                case TryHarderPropertyName:
                    _barcodeReader.Options.TryHarder = TryHarder;
                    break;
                }
            };
        }
コード例 #3
0
 public Form1()
 {
     InitializeComponent();
     reader = new BarcodeReaderImage();
 }
コード例 #4
0
ファイル: EmguCVDemoForm.cs プロジェクト: n1rvana/ZXing.NET
 public EmguCVDemoForm()
 {
    InitializeComponent();
    reader = new BarcodeReaderImage();
 }
コード例 #5
0
ファイル: EmguCVDemoForm.cs プロジェクト: zyj0021/ZXing.Net
 public EmguCVDemoForm()
 {
     InitializeComponent();
     reader = new BarcodeReaderImage();
 }