private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { ActionLock.Unlock(); AppManager.GetAction(DisposeAction.Name).ProcessEvent(sender, e); }