protected override void Dispose(bool disposing) { if (disposing) { if (this.DockPanel != null) this.DockPanel.RemoveFloatWindow(this); this.m_dockPanel = null; } base.Dispose(disposing); }