Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing values between forms
Message
De
28/09/2006 09:24:20
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
28/09/2006 06:20:27
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
01157776
Message ID:
01157821
Vues:
16
In addition to Einar's response, you can also add a property to frmB.
Public Class frmB

    Dim testValue As String

    Public Property Test()
        Get
            Return testValue
        End Get
        Set(ByVal value)
            testValue = value
        End Set
    End Property

End Class
And you could call your form like so:
Dim frmB1 AS New frmB
frmB1.Test = "Value I want to pass in"
frmB1.Show
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform