コード例 #1
0
 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);
 }
コード例 #2
0
        public override void removeChild(MDIWindow window)
        {
            int index = windows.IndexOf(window);

            if (index != -1)
            {
                windows.RemoveAt(index);
                window._setParent(null);
                window._ParentContainer = null;
            }
        }