|
-
Jul 24th, 2003, 04:01 PM
#1
Thread Starter
New Member
Really simple question
okay been messing around with this for an hour and for some reason can't figure it out.
i have a form that when finiished closes then opens another form
i want to later call the form load event of the first form to redisplay it how do i call that from the second form?
it's probably something really stupid that i'm missing but any help will be greatly appreciated
-
Jul 24th, 2003, 04:03 PM
#2
Huh? Are you trying to show one form fro the other?
VB Code:
Dim frm As New MyFromNameHere
frm.Show
Remember though if you close the 'main' form of the application then everything will close.
-
Jul 24th, 2003, 04:05 PM
#3
Thread Starter
New Member
does .show in vb.net reload the form though?
i know in vb six it didn't is why i've been trying to find a way to call the load event since there is no mroe .load in .net
-
Jul 24th, 2003, 04:12 PM
#4
Yes (basically) see in VB6 you almost always loaded only 1 instance of a form but now in .NET forms are like every other object and need to be instanced so the As New part actually creates a New form.
-
Jul 24th, 2003, 04:14 PM
#5
Thread Starter
New Member
thanks much for the quick replys
i didn't realize that had changed
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
|