private void editor_Updated(object sender, EventArgs e)
{
try
{
QbItemBase qbItem = (QbItemBase)lstQbItems.SelectedItems[0].Tag;
if (lstQbItems.SelectedItems.Count != 0)
{
ListViewItem li = lstQbItems.SelectedItems[0];
//update the itemqbkey text in the list view
li.SubItems[1].Text = (qbItem.ItemQbKey != null) ? qbItem.ItemQbKey.Text : string.Empty;
//refresh the item
lstItems_ItemSelectionChanged(lstQbItems, new ListViewItemSelectionChangedEventArgs(li, li.Index, true));
}
refreshListPosLength();
}
catch (Exception ex)
{
showException("Failed to Refresh List", ex);
return;
}
btnSavePak.Enabled = true;
}