PP,
How do you have the form objects set up? If form2 is being called as a
dialog from form1 (using the Form.ShowDialog(owner) call), you can get a
reference to form1 from form2 with a call to this.ParentForm
If you have some code you could post up, that would be helpful.
HTH,
-Mark
"MingChih Tsai" <mj*@seed.net.tw> wrote in message
news:ui**************@TK2MSFTNGP12.phx.gbl...
Dear All,
I have two forms and each form has one button.
When I click the button 1(on form1), the form1 will hide and the form2
will show.
My question is how should I do if I want to click the button2(on form2)
the form2 will hide and the form1 will show ?
Thanks,
PP