Export (0) Print
Expand All

WindowsFormsApplicationBase Methods

The WindowsFormsApplicationBase type exposes the following members.

  Name Description
Public method ChangeCulture Changes the culture used by the current thread for string manipulation and for string formatting. (Inherited from ApplicationBase.)
Public method ChangeUICulture Changes the culture that the current thread uses for retrieving culture-specific resources. (Inherited from ApplicationBase.)
Public method DoEvents Processes all Windows messages currently in the message queue.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnvironmentVariable Returns the value of the specified environment variable. (Inherited from ApplicationBase.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HideSplashScreen Hides the application's splash screen.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnCreateMainForm When overridden in a derived class, allows a designer to emit code that configures the splash screen and main form.
Protected method OnCreateSplashScreen When overridden in a derived class, allows a designer to emit code that initializes the splash screen.
Protected method OnInitialize Sets the visual styles, text display styles, and current principal for the main application thread (if the application uses Windows authentication), and initializes the splash screen, if defined.
Protected method OnRun Provides the starting point for when the main application is ready to start running, after the initialization is done.
Protected method OnShutdown When overridden in a derived class, allows for code to run when the application shuts down.
Protected method OnStartup When overridden in a derived class, allows for code to run when the application starts.
Protected method OnStartupNextInstance When overridden in a derived class, allows for code to run when a subsequent instance of a single-instance application starts.
Protected method OnUnhandledException When overridden in a derived class, allows for code to run when an unhandled exception occurs in the application.
Public method Run Sets up and starts the Visual Basic Application model.
Protected method ShowSplashScreen Determines if the application has a splash screen defined, and if it does, displays it.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft