You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/visual-basic/misc/bc30738.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ If you need programmatic control over application startup (for example, to selec
44
44
45
45
## Accessing My.MyApplication.Main
46
46
47
-
If you need to access the automatically generated startup code, you can work with the `My.MyApplication` object and its events such as `Startup`, `StartupNextInstance`, and `Shutdown`. The application framework provides these events specifically for customizing application behavior without defining your own `Main` procedure.
47
+
If you need to access the automatically generated startup code, you can work with the <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase> object and its events such as <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Startup>, <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.StartupNextInstance>, and <xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Shutdown>. The application framework provides these events specifically for customizing application behavior without defining your own `Main` procedure.
0 commit comments