SIL.FieldWorks.XWorks.FwXWindow.XWindow_Closing C# (CSharp) Method

XWindow_Closing() protected method

protected XWindow_Closing ( object sender, System e ) : void
sender object
e System
return void
		protected override void XWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
		{
			SaveSettingsNow();
			// LT-6440
			// In the case of a shutdown while the parser is starting, we were getting
			// into a situation where the main window was disposed of while the parser
			// thread was trying to execute com calls on the UI thread and using the
			// main form as the Invoke point.
			m_mediator.SendMessageToAllNow("StopParser", null);
			base.XWindow_Closing(sender, e);
		}
FwXWindow