internal void RemovePane(DockPane pane) { if (!this.Panes.Contains(pane)) return; this.Panes.Remove(pane); }