internal void Add(DockPane pane) { if (pane == null) { return; } DockList oldDockList = (pane.DockListContainer == null) ? null : pane.DockListContainer.DockList; if (oldDockList != null) { oldDockList.InternalRemove(pane); } InnerList.Add(pane); if (oldDockList != null) { oldDockList.CheckFloatWindowDispose(); } }