I am busy with visual c# project on win mobile 2003 se.
I have a main form which sync with the server through web service and get the recent list of orders.
for this action I call another class syncDB and that class do the synchronization and writes the records locally.
The process is going fine.
When I want to go to the detail form to see the details I do the main form hide and show the detail form like bellow.
EKS_comsy.detailFrom df=new detailForm(orderNr);
then if i want to come back to the main form again i say in the datail form
EKS_comsy.MainForm mf=new MainForm();
Here i am creating a new object of the main form it initalize all the elements before it come there. How can i avoid this problem and call the form that i have already. The way i use the code now makes the preformence of the program very low.
Can anyone help me to solve this issue.
thanks in advance.