Method | Description | |
---|---|---|
SAApplication ( ISAApplication sa ) : System |
We inherit from the VB.NET WindowsFormApplicationBase class, which has the single-instance functionality.
|
Method | Description | |
---|---|---|
OnCreateMainForm ( ) : void |
We are responsible for creating the application's main form in this override.
|
|
SAApplication_StartupNextInstance ( object sender, Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs eventArgs ) : void |
This is called for additional instances. The application model will call this function, and terminate the additional instance when this returns.
|
public SAApplication ( ISAApplication sa ) : System | ||
sa | ISAApplication | |
return | System |
protected SAApplication_StartupNextInstance ( object sender, Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs eventArgs ) : void | ||
sender | object | |
eventArgs | Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs | |
return | void |