protected override void Dispose(bool fDisposing) { if (fDisposing) { if (m_menuBar != null) { m_menuBar.Dispose(); } } m_menuBar = null; base.Dispose(fDisposing); }