Forex_Strategy_Builder.Scanner.OnShown C# (CSharp) Method

OnShown() protected method

Loads data and recalculates.
protected OnShown ( EventArgs e ) : void
e System.EventArgs
return void
        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);

            if (isCompactMode)
                return;

            if (!Data.IsIntrabarData)
            {
                StartLoading();
            }
            else
            {
                Backtester.Scan();
                ShowScanningResult();
                progressBar.Value = 100;
                btnClose.Focus();
            }

            return;
        }