internal int Add(DockPane pane) { if (InnerList.Contains(pane)) return InnerList.IndexOf(pane); return InnerList.Add(pane); }