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

OnActivated() protected method

This main window is now the active one handle any data changes made in other applications. (By analogy with FwMainWindow, may also need to do something about Find/Replace?? (JT)).
protected OnActivated ( EventArgs e ) : void
e System.EventArgs
return void
		protected override void OnActivated(EventArgs e)
		{
			base.OnActivated(e);
			Logger.WriteEvent(WindowHandleInfo("Activated window"));

			/* Bad things happen, when this is done and the parser is running.
			 * TODO: Figure out how they can co-exist.
			if (FwApp.App != null)
			{
				FwApp.App.SyncFromDb();
			}
			*/
			m_delegate.OnActivated();
		}
FwXWindow