SIL.FieldWorks.IgnoreAppMessageProccessing.Dispose C# (CSharp) Méthode

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void
		public void Dispose()
		{
			if (m_app == null)
				return;

			try
			{
				foreach (IFwMainWnd mainWnd in m_app.MainWindows)
				{
					if (mainWnd is FwMainWnd)
						((FwMainWnd)mainWnd).Mediator.ProcessMessages = m_oldPrsMsgsVals[mainWnd];
				}
			}
			catch
			{
				// This is only used when bringing up the error dialog. We don't want to bother
				// with this exception since we have no idea what state the application is in.
			}
		}
IgnoreAppMessageProccessing