/// <summary/> protected virtual void Dispose(bool fDisposing) { System.Diagnostics.Debug.WriteLineIf(!fDisposing, "****** Missing Dispose() call for " + GetType() + ". *******"); if (fDisposing && m_dlg != null) { // dispose managed and unmanaged objects m_dlg.Dispose(); } m_dlg = null; }
public override void Dispose() { if (fdlg != null) { fdlg.Dispose(); } if (fbdlg != null) { fbdlg.Dispose(); } }