SIL.FieldWorks.IText.ConcordanceControl.Dispose C# (CSharp) Метод

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void
		protected override void Dispose(bool disposing)
		{
			Debug.WriteLineIf(!disposing, "****************** Missing Dispose() call for " + GetType().Name + ". ******************");
			if (disposing)
			{
				if (components != null)
					components.Dispose();
				if (m_clerk != null)
					m_clerk.ConcordanceControl = null;
				if (m_pOSPopupTreeManager != null)
					m_pOSPopupTreeManager.Dispose();

				// Don't dispose of the clerk, since it can monitor relevant PropChanges
				// that affect the NeedToReloadVirtualProperty.
			}
			m_clerk = null;
			m_mediator = null;
			m_pOSPopupTreeManager = null;
			base.Dispose(disposing);
		}