public override void addChild(MDIWindow window) { window.SuppressLayout = true; window.CurrentDockLocation = DockLocation.Floating; window._setParent(this); window._ParentContainer = this; window.SuppressLayout = false; windows.Add(window); }
public override void removeChild(MDIWindow window) { int index = windows.IndexOf(window); if (index != -1) { windows.RemoveAt(index); window._setParent(null); window._ParentContainer = null; } }