hi there,
i am creating an application in visual studio 2008 standard edition. i have a form all frmMainMenu and a frmLogin and a frmAddNewProposal.
i have a close button in frmMainMenu, i want to coed this so that when i click on the close button the frmLogin should appear. and also when i click on the frmMainMenu right hand side close icon in the from the same should happen.
in the fromClosing event I wrote the code as
new frmLogin().show();
this.close();
and also in the close button i wrote the code as
new frmLogin().show();
this.close();
but there is an error occuring??
i have asked this question previously also, but it was not clear and how do you handle this when there are multiple forms.
how can i solve this question?
thanxxx