コード例 #1
0
        private void _toReadSymbologyListBox_ItemDoubleClicked(object sender, SymbologyListBoxItemDoubleClickedEventArgs e)
        {
            _toReadSymbologyListBox.BeginUpdate();
            _toReadSymbologyListBox.Items.RemoveAt(e.Index);
            _toReadSymbologyListBox.EndUpdate();

            UpdateAvailableSymbologies();
        }
コード例 #2
0
        private void _availableSymbologyListBox_ItemDoubleClicked(object sender, SymbologyListBoxItemDoubleClickedEventArgs e)
        {
            _toReadSymbologyListBox.BeginUpdate();
            BarcodeSymbology symbology = (BarcodeSymbology)_availableSymbologyListBox.Items[e.Index];

            _toReadSymbologyListBox.Items.Add(symbology);
            _toReadSymbologyListBox.EndUpdate();

            UpdateAvailableSymbologies();
        }