private void Inventory_OnInventoryItemCopied(InventoryBase item)
{
if (InvokeRequired)
{
if (!instance.MonoRuntime || IsHandleCreated)
BeginInvoke(new MethodInvoker(() => Inventory_OnInventoryItemCopied(item)));
return;
}
if (null == item) return;
instance.TabConsole.DisplayNotificationInChat(
string.Format("{0} saved to inventory", item.Name),
ChatBufferTextStyle.Invisible);
tlblStatus.Text = "Saved";
if (item is InventoryNotecard)
{
Notecard nc = new Notecard(instance, (InventoryNotecard)item);
nc.pnlKeepDiscard.Visible = true;
nc.ShowDetached();
}
}