OnStart()

Description

The OnStart() method can be overridden to initialize your own variables, perform license checks or call up user forms, etc. OnStart() is only called up once at the beginning of the script, after OnInit() and before OnCalculate() are called up which results in the following execution sequence:

OnInit OnStart OnStop OnDispose

See OnDispose().

More information can be found here: Events.

Parameter

none

Usage

protected override void OnStart()

Example

private myForm Window;
protected override void OnStart()
{
    if (Chart != null)
    {
    Window = new myForm();
    Window.Show();
    }
}

Last updated