Beispiel #1
0
        private void ScannerLab1_Load(object sender, EventArgs e)
        {
            explorer = new PosExplorer();

            scannerList1             = explorer.GetDevices();
            bsDevices.DataSource     = scannerList1;
            cboDevices.DisplayMember = scannerList1.ToString();

            scannerList = explorer.GetDevices(DeviceType.Scanner);
            devicesBindingSource.DataSource = scannerList;
            cboDevices.DisplayMember        = scannerList.ToString();
        }