internal void AddPane(DockPane pane) { if (this.Panes.Contains(pane)) return; this.Panes.Add(pane); }