Accessing Application Forms (Visual Basic)
The My.Forms
object provides an easy way to access an instance of each Windows Form declared in the application's project. You can also use properties of the My.Application
object to access the application's splash screen and main form, and get a list of the application's open forms.
Tasks
The following table lists examples showing how to access an application's forms.
To | See |
---|---|
Access one form from another form in an application. | My.Forms Object |
Display the titles of all the application's open forms. | OpenForms |
Update the splash screen with status information as the application starts. | SplashScreen |
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.