private void _toReadSymbologyListBox_ItemDoubleClicked(object sender, SymbologyListBoxItemDoubleClickedEventArgs e) { _toReadSymbologyListBox.BeginUpdate(); _toReadSymbologyListBox.Items.RemoveAt(e.Index); _toReadSymbologyListBox.EndUpdate(); UpdateAvailableSymbologies(); }
private void _availableSymbologyListBox_ItemDoubleClicked(object sender, SymbologyListBoxItemDoubleClickedEventArgs e) { _toReadSymbologyListBox.BeginUpdate(); BarcodeSymbology symbology = (BarcodeSymbology)_availableSymbologyListBox.Items[e.Index]; _toReadSymbologyListBox.Items.Add(symbology); _toReadSymbologyListBox.EndUpdate(); UpdateAvailableSymbologies(); }