DocWindowExtend.cs 430 B

1234567891011121314151617181920
  1. using System;
  2. using System.Windows.Forms;
  3. using WeifenLuo.WinFormsUI.Docking;
  4. namespace WWPipeLine.MapBasic
  5. {
  6. public partial class DocWindowExtend : DockContent
  7. {
  8. public DocWindowExtend()
  9. {
  10. this.AutoScaleMode = AutoScaleMode.Dpi;
  11. this.CloseButtonVisible = false;
  12. this.CloseButton = false;
  13. InitializeComponent();
  14. this.DockAreas = DockAreas.Document;
  15. this.DockPanel.AllowEndUserDocking = false;
  16. }
  17. }
  18. }