Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing from Form to Sub Main
Message
De
18/03/2004 16:19:40
 
 
À
18/03/2004 15:56:52
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00887072
Message ID:
00887686
Vues:
15
>I am opening the form from within a module, and a me.something cannot be used within a module.

OK, then why can't you just use this:
Dim MyVariable As String
If frmStartup.ShowDialog() = DialogResult.OK Then
   MyVariable = frmStartup.FormVariable
End If
and then pass it to your frmMain like this:
Dim oMainForm As New frmMain(MyVariable)
oMainForm.Show()
or am I missing something?

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform