0

Hi,I am new in c# development and I have some problems in my smart device application.I have 3 forms: Orders, Add_orders, Add_client.
Orders is the mainform. What I want is that when I click 'Save' on Add_orders form, to navigate back to Orders form but not to close the Add_orders form, only to reset the controls in it!That is because I don't want to reload the clients and the products xml files next time the user adds an order - it takes to long.
Using

Add_order.Visible = false;
causes data lose in the form and when I add a new order I have to reload the xml otherways the clients combo or products combobox are empty!

Add_order.SendToBack();
seems to be ok but when I click add in the mainform the Add_order form doesn't come in front(Add_order.BringToFront(); )

Is there anyone who can help me?

Edited by Gobytza: n/a

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by lolafuertes
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.