private bool bDoGoodScan = true;                // used to alternate between a 'good' ack and a 'bad' ack for demo
#endif
        public SingleEntry()
        {
            InitializeComponent();
            lblStatus.Text = "Initializing...";
            _scanApiHelper = new ScanApiHelper.ScanApiHelper();
            _scanApiHelper.SetNotification(this);
// This is for the Host Acknowledgment feature. These lines can
// be safely removed from #if to the #endif from your application
// if this feature is not needed
#if HOSTACK
            _scanApiHelper.PostSetConfirmationMode((char)ScanAPI.ISktScanProperty.values.confirmationMode.kSktScanDataConfirmationModeApp, null);
#else
            _scanApiHelper.PostSetConfirmationMode((char)ScanAPI.ISktScanProperty.values.confirmationMode.kSktScanDataConfirmationModeDevice, null);
#endif
        }
 public SingleEntry()
 {
     InitializeComponent();
     lblStatus.Text = "Initializing...";
     _scanApiHelper = new ScanApiHelper.ScanApiHelper();
     _scanApiHelper.SetNotification(this);
     // This is for the Host Acknowledgment feature. These lines can
     // be safely removed from #if to the #endif from your application
     // if this feature is not needed
     #if HOSTACK
     _scanApiHelper.PostSetConfirmationMode((char)ScanAPI.ISktScanProperty.values.confirmationMode.kSktScanDataConfirmationModeApp, null);
     #else
     _scanApiHelper.PostSetConfirmationMode((char)ScanAPI.ISktScanProperty.values.confirmationMode.kSktScanDataConfirmationModeDevice, null);
     #endif
 }