The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
WindowsFormsApplicationBase::OnStartup Method (StartupEventArgs^)
.NET Framework (current version)
When overridden in a derived class, allows for code to run when the application starts.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Parameters
- eventArgs
-
Type:
Microsoft.VisualBasic.ApplicationServices::StartupEventArgs^
StartupEventArgs. Contains the command-line arguments of the application and indicates whether the application startup should be canceled.
Return Value
Type: System::BooleanA Boolean that indicates if the application should continue starting up.
.NET Framework
Available since 2.0
Available since 2.0
Show: