ARCed.Forms.Splash.SplashScreenForm.SplashForm_FormClosing C# (CSharp) Method

SplashForm_FormClosing() private method

Prevents the closing of form other than by calling the CloseSplashScreen function
private SplashForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
sender object
e FormClosingEventArgs
return void
        private void SplashForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (this.CloseSplashScreenFlag == false)
                e.Cancel = true;
        }