1
Reply

How to move listbox items to a listbox in another form?

Paul Molyneux

Paul Molyneux

Oct 16 2015 9:57 AM
352
Hi I am having a problem adding items from a listbox (with the click of a button) and then sending them to another listbox which is on another form.
 
My code:
 
private void PlaceOrder_Click(object sender, EventArgs e)
{
new AreYouSure().Show();
this.Show();
MenuBox.Items.Clear();
TotalBox.Items.Clear();
total.Clear();
ordertotal = 0;
}
 
My button is called 'Place Order' and my other form is called 'Confirmation'
 
Any help whatsoever is very much appreciated... 

Answers (1)