using System.Windows.Forms; using WeifenLuo.WinFormsUI.Docking; namespace WWPipeLine.MapBasic { public partial class ToolWindowExtend : DockContent { public ToolWindowExtend() { this.AutoScaleMode = AutoScaleMode.Dpi; this.CloseButtonVisible = false; this.CloseButton = false; this.AllowEndUserDocking = false; InitializeComponent(); //this.DockAreas = ((DockAreas)((((DockAreas.DockLeft | DockAreas.DockRight) //| DockAreas.DockTop) //| DockAreas.DockBottom | DockAreas.Document))); } } }