Paint.PaintApp.InitiateShutdown C# (CSharp) Method

InitiateShutdown() private method

Initiates the shutdown process. We will display a 'busy' form/window -- we pass in a delegate/action to be run once the form has displayed
private InitiateShutdown ( ) : void
return void
        private void InitiateShutdown()
        {
            if (this.paintMode != PaintMode.Exiting)
            {
                this.paintMode = PaintMode.Exiting;
                this.saveBusyMessageDisplay.Show(new Action(this.SaveAndExit));
            }
        }