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
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho