VixenApplication.VixenApplication.VixenApp_FormClosing C# (CSharp) Метод

VixenApp_FormClosing() приватный Метод

private VixenApp_FormClosing ( object sender, FormClosingEventArgs e ) : void
sender object
e FormClosingEventArgs
Результат void
        private void VixenApp_FormClosing(object sender, FormClosingEventArgs e)
        {
            // close all open editors
            foreach (IEditorUserInterface editor in _openEditors.ToArray()) {
                editor.CloseEditor();
            }

            stopping = true;
            VixenSystem.Stop();

            _applicationData.SaveData();
            RemoveLockFile();
            Application.Exit();
        }