Skip to content

Commit d329f39

Browse files
CopilotBillWagner
andcommitted
Use xref syntax for My.MyApplication and events
Co-authored-by: BillWagner <[email protected]>
1 parent d60f684 commit d329f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/visual-basic/misc/bc30738.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If you need programmatic control over application startup (for example, to selec
4444

4545
## Accessing My.MyApplication.Main
4646

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.
4848

4949
## See also
5050

0 commit comments

Comments
 (0)