예제 #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();
        }