Beispiel #1
0
 private void btnDecodingOptions_Click(object sender, EventArgs e)
 {
     using (var dlg = new DecodingOptionsForm(barcodeReader))
     {
         dlg.ShowDialog(this);
     }
 }
 private void btnDecodingOptions_Click(object sender, EventArgs e)
 {
     using (var dlg = new DecodingOptionsForm(barcodeReader, TryMultipleBarcodes, TryOnlyMultipleQRCodes))
     {
         if (dlg.ShowDialog(this) == DialogResult.OK)
         {
             TryMultipleBarcodes    = dlg.MultipleBarcodes;
             TryOnlyMultipleQRCodes = dlg.MultipleBarcodesOnlyQR;
         }
     }
 }
 private void btnDecodingOptions_Click(object sender, EventArgs e)
 {
    using (var dlg = new DecodingOptionsForm(barcodeReader))
    {
       dlg.ShowDialog(this);
    }
 }
 private void btnDecodingOptions_Click(object sender, EventArgs e)
 {
    using (var dlg = new DecodingOptionsForm(barcodeReader, TryMultipleBarcodes, TryOnlyMultipleQRCodes))
    {
       if (dlg.ShowDialog(this) == DialogResult.OK)
       {
          TryMultipleBarcodes = dlg.MultipleBarcodes;
          TryOnlyMultipleQRCodes = dlg.MultipleBarcodesOnlyQR;
       }
    }
 }