/// ------------------------------------------------------------------------------------ void m_cieOptionsDropDownContainer_Closed(object sender, ToolStripDropDownClosedEventArgs e) { // Make sure the drop-down completely goes away before proceeding. Application.DoEvents(); if (CurrentTab.CieOptionsDropDown.OptionsChanged) { // Save the options as the new defaults for the project. App.Project.SaveCIEOptions(CurrentTab.CieOptionsDropDown.CIEOptions); CurrentTab.ResultView.Grid.CIEOptions = CurrentTab.CieOptionsDropDown.CIEOptions; CurrentTab.CIEViewRefresh(); } CurrentTab.CieOptionsDropDownContainer.Closed -= m_cieOptionsDropDownContainer_Closed; }