internal void xe9a159cd1e028df2( SandDockManager x91f347c6e97f1846, DockContainer xd3311d815ca25f02, LayoutSystemBase x6e150040c8d97700, DockControl x43bec302f92080b9, int x9562cf1322eeedf1, System.Drawing.Point x6afebf16b45c02e0, DockingHints x48cee1d69929b4fe, DockingManager xab4835b6b3620991) { if (xab4835b6b3620991 == DockingManager.Whidbey) { goto label_5; } label_1: this.x531514c39973cbc6 = new xedb4922162c60d3d(x91f347c6e97f1846, this.DockContainer, this, x43bec302f92080b9, x9562cf1322eeedf1, x6afebf16b45c02e0, x48cee1d69929b4fe); label_2: this.x531514c39973cbc6.x67ecc0d0e7c9a202 += new xedb4922162c60d3d.DockingManagerFinishedEventHandler(this.x46ff430ed3944e0f); this.x531514c39973cbc6.x868a32060451dd2e += new EventHandler(this.x0ae87c4881d90427); if (true) { this.x531514c39973cbc6.OnMouseMove(Cursor.Position); return; } label_5: if (x890231ddf317379e.xca8cda6e489f8dd8()) { this.x531514c39973cbc6 = (xedb4922162c60d3d) new x31248f32f85df1dd(x91f347c6e97f1846, this.DockContainer, this, x43bec302f92080b9, x9562cf1322eeedf1, x6afebf16b45c02e0, x48cee1d69929b4fe); goto label_2; } else { goto label_1; } }
public x890231ddf317379e( Control control, DockingHints dockingHints, bool hollow, int tabStripSize) : this(control, dockingHints, hollow) { this.x189455fe88a3b711 = tabStripSize; }
public x8e80e1c8bce8caf7( DockContainer container, SplitLayoutSystem splitLayout, LayoutSystemBase aboveLayout, LayoutSystemBase belowLayout, System.Drawing.Point startPoint, DockingHints dockingHints) : base((Control)container, dockingHints, false) { label_7: this.xd3311d815ca25f02 = container; this.xd0bab8a0f8013a7b = splitLayout; this.xc13a8191724b6d55 = aboveLayout; this.x5aa50bbadb0a1e6c = belowLayout; this.xcb09bd0cee4909a3 = startPoint; if (splitLayout.SplitMode == Orientation.Horizontal) { goto label_5; } else { goto label_3; } label_2: this.OnMouseMove(startPoint); return; label_3: this.xffa8345bf918658d = aboveLayout.Bounds.X + 25; do { this.xb646339c3b9e735a = belowLayout.Bounds.Right - 25; if (true) { if (true) { this.x3fb8b43b602e016f = aboveLayout.WorkingSize.Width + belowLayout.WorkingSize.Width; } else { goto label_7; } } else { goto label_5; } }while (false); goto label_2; label_5: this.xffa8345bf918658d = aboveLayout.Bounds.Y + 25; this.xb646339c3b9e735a = belowLayout.Bounds.Bottom - 25; this.x3fb8b43b602e016f = aboveLayout.WorkingSize.Height + belowLayout.WorkingSize.Height; goto label_2; }
protected AbstractManager(Control control, DockingHints dockingHints, bool hollow) { _control = control; _hollow = hollow; #if NO_LAYERED_WINDOW var flag = false; #else var flag = OSFeature.Feature.IsPresent(OSFeature.LayeredWindows); #endif if (dockingHints == DockingHints.TranslucentFill && !flag) dockingHints = DockingHints.RubberBand; _dockingHints = dockingHints; _form = _control.FindForm(); if (_form != null) _form.Deactivate += OnDeactivate; _control.MouseCaptureChanged += OnMouseCaptureChanged; Application.AddMessageFilter(this); if (_dockingHints == DockingHints.TranslucentFill) _translucentForm = new TranslucentForm(hollow); }
public x890231ddf317379e(Control control, DockingHints dockingHints, bool hollow) { label_12: this.x43bec302f92080b9 = control; this.x21480c2e0df4efcd = hollow; bool flag = OSFeature.Feature.IsPresent(OSFeature.LayeredWindows); if (dockingHints != DockingHints.TranslucentFill || flag) { goto label_8; } else { goto label_9; } label_4: control.MouseCaptureChanged += new EventHandler(this.x772288dc6422a53d); Application.AddMessageFilter((IMessageFilter)this); while (dockingHints == DockingHints.TranslucentFill) { this.x74e209c76c4b5a3e = new x7a797590a9beb775(hollow); if (true) { if ((uint)hollow - (uint)hollow <= uint.MaxValue) { return; } goto label_12; } } if ((uint)flag - (uint)hollow <= uint.MaxValue) { return; } label_6: this.xa6607dfd4b3038ad = control.FindForm(); if (this.xa6607dfd4b3038ad != null) { this.xa6607dfd4b3038ad.Deactivate += new EventHandler(this.xbf6ca0f637696dc9); goto label_4; } else { goto label_4; } label_8: this.x48cee1d69929b4fe = dockingHints; if ((uint)flag > uint.MaxValue) { return; } goto label_6; label_9: dockingHints = DockingHints.RubberBand; if ((uint)flag - (uint)hollow < 0U) { goto label_4; } else { goto label_8; } }
protected AbstractManager(Control control, DockingHints dockingHints, bool hollow, int tabStripSize) : this(control, dockingHints, hollow) { _tabStripSize = tabStripSize; }
public Class8(SandDockManager manager, DockContainer container, LayoutSystemBase sourceControlSystem, DockControl sourceControl, int dockedSize, Point startPoint, DockingHints dockingHints) : base(manager, container, sourceControlSystem, sourceControl, dockedSize, startPoint, dockingHints) { arrayList_0 = new ArrayList(); if (Manager?.DockSystemContainer != null) method_22(); }
public Class7(SandDockManager manager, DockContainer container, LayoutSystemBase sourceControlSystem, DockControl sourceControl, int dockedSize, Point startPoint, DockingHints dockingHints) : base(container, dockingHints, true, container.Renderer.TabStripMetrics.Height) { Manager = manager; Container = container; SourceControlSystem = sourceControlSystem; SourceControl = sourceControl; DockedSize = dockedSize; if (container is DocumentContainer) { cursor_0 = new Cursor(GetType().Assembly.GetManifestResourceStream("TD.SandDock.Resources.splitting.cur")); cursor_1 = new Cursor(GetType().Assembly.GetManifestResourceStream("TD.SandDock.Resources.splittingno.cur")); } if (sourceControlSystem is SplitLayoutSystem) { size_0 = ((FloatingContainer)container).FloatingSize; } else if (sourceControl == null) { size_0 = (sourceControlSystem as ControlLayoutSystem)?.SelectedControl?.FloatingSize ?? sourceControlSystem.Bounds.Size; } else { size_0 = sourceControl.FloatingSize; } var bounds = sourceControlSystem.Bounds; if (bounds.Width <= 0) { startPoint.X = size_0.Width / 2; } else { startPoint.X -= bounds.Left; startPoint.X = Convert.ToInt32(startPoint.X / (float)bounds.Width * size_0.Width); } point_0 = sourceControl == null ? new Point(startPoint.X, startPoint.Y - bounds.Top) : new Point(startPoint.X, size_0.Height - (bounds.Bottom - startPoint.Y)); point_0.Y = Math.Max(point_0.Y, 0); point_0.Y = Math.Min(point_0.Y, size_0.Height); ControlLayoutSystem_0 = method_10(); Container.OnDockingStarted(EventArgs.Empty); }
internal void method_0(SandDockManager manager, DockContainer container, LayoutSystemBase layoutSystem, DockControl control, int int_2, Point point_0, DockingHints dockingHints, DockingManager dockingManager_0) { if (dockingManager_0 == DockingManager.Whidbey && AbstractManager.smethod_0()) { class7_0 = new Class8(manager, DockContainer, this, control, int_2, point_0, dockingHints); } else { class7_0 = new Class7(manager, DockContainer, this, control, int_2, point_0, dockingHints); } class7_0.DockingManagerFinished += OnDockingManagerFinished; class7_0.Cancalled += OnCancalled; class7_0.OnMouseMove(Cursor.Position); }
public SplittingManager(DockContainer container, SplitLayoutSystem splitLayout, LayoutSystemBase aboveLayout, LayoutSystemBase belowLayout, Point startPoint, DockingHints dockingHints) : base(container, dockingHints, false) { this.container = container; SplitLayout = splitLayout; this.aboveLayout = aboveLayout; this.belowLayout = belowLayout; this.startPoint = startPoint; if (splitLayout.SplitMode != Orientation.Horizontal) { int_7 = aboveLayout.Bounds.X + 25; int_8 = belowLayout.Bounds.Right - 25; float_2 = aboveLayout.WorkingSize.Width + belowLayout.WorkingSize.Width; } else { int_7 = aboveLayout.Bounds.Y + 25; int_8 = belowLayout.Bounds.Bottom - 25; float_2 = aboveLayout.WorkingSize.Height + belowLayout.WorkingSize.Height; } OnMouseMove(startPoint); }