open new form and closing the previous one

Mar 5 2006 3:04 PM
Hi
I am opening a new form by:
ChooseLeve chl = new ChooseLevel();
chl.owner = this;
chl.close;

i want that when the user clicks on button1 in chl (ChooseLevel), the preiouse form will be closed,
how do i do it?

Answers (2)