yangyin
2025-01-13 36616eb44dc36a4e6e3e7a7540310cb850218ea9
WinFrmUI/DPumpHydr.WinFrmUI.RLT/Docking/Crown/CrownDockPanel.cs
@@ -157,7 +157,14 @@
            {
                region.Width = RightDockWidth;
            }
            if (dockContent.DockArea == DockArea.Left )
            {
                region.Width = LeftDockWidth;
            }
            if(dockContent.DockArea == DockArea.Bottom)
            {
                region.Height = BottomDockHeight;
            }
            region.AddContent(dockContent, dockGroup);
            ContentAdded?.Invoke(this, new DockContentEventArgs(dockContent));
@@ -165,6 +172,8 @@
            dockContent.Select();
        }
        public int RightDockWidth { get; set; } = 310;
        public int LeftDockWidth { get; set; } = 220;
        public int BottomDockHeight { get; set; } = 200;
        public void InsertContent(CrownDockContent dockContent, CrownDockGroup dockGroup, DockInsertType insertType)
        {