|
-
Jan 23rd, 2007, 04:24 PM
#1
Thread Starter
Lively Member
[RESOLVED] Closing a Form, then Showing it Again
Hi,
I am using Visual Studio 2005 (writing a VB program for Pocket PC, but I think this question/answer applies to regular windows forms as well). I have a seemingly simple question:
After I use form1.close, how do I show the form again. form1.show does not work and even the help file says that it will not work (it only works with form1.hide). I do not want to use form1.hide because when I make form1 appear next, I need it to be completely reset to its original state. I believe that there used to be a form1.load in vb4, but it is apparently not available in vs2005.
Alternatively, is there something I can do to simply reset the form back to its original state? It would be much easier to either close and reload the form or reset it rather than programmatically change everything back to its original state.
Any help will be greatly appreciated!!
Thank You,
Corey
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|