public void RemoveMoveItem(Item item, int count = 1) { if (MoveItems[item] < count) { return; } MoveItems[item] -= count; if (MoveItems[item] == 0) { MoveItems.Remove(item); } }
private void btnMoveItems_Click(object sender, EventArgs e) { MoveItems obj = new MoveItems(); obj.Show(); }