private void OnFormClosed(object sender, FormClosedEventArgs e) { if (m_options.saveProfileOnClosing) { m_coreOptions.Save(m_options.coreOptionsFileName); } m_mainSplitContainer.ClearResults(); GetSavedViewOptions(); m_options.Save(); StartFinishForm startFinishForm = new StartFinishForm(m_core, m_options); startFinishForm.ExecuteFinish(); m_core.Dispose(); }