Thread: Showing Forms
View Single Post
  #3 (permalink)  
Old October 12th, 2004, 12:08 AM
pradeep_itguy pradeep_itguy is offline
Friend of Wrox
 
Join Date: Feb 2004
Location: Bangalore, Karnataka, India.
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can Hide the form using "Hide" method of Form variable and you can hide at the place where you are opening the other form. At the closing of form means you can use the "Closing" event and show the Form that you hide earlier.

In my opinion if you have mutiple forms to be loaded then I would recomment you to use the MDI forms or else if it is only 2 or 3 forms you can use Hide and Show method itself.

Between closing and Hiding the forms it is up to you to do that, you can check your app with closing the form and opening the form if you find this is slow or odd then you can hide and show the form.



It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
Reply With Quote