In my program there are 2 forms. There is a loop function in Form1. I can show Form2 from a button. By using:
Form1 form2 = new Form2();
frm2.show();
method. When I pressed a button on From2 to show Form1, Form1 starts its loop again(resets). How can I hide Form1 temporary and show it again from the point it hides.