Esempio n. 1
0
        private void xe2e0ed61975ce467(System.Drawing.Point x13d4cb8d1bd20347)
        {
            LayoutSystemBase layoutSystemAt = this.x0467b00af7810f0c.GetLayoutSystemAt(x13d4cb8d1bd20347);

            if (!(layoutSystemAt is ControlLayoutSystem))
            {
                return;
            }
            while (this.x531514c39973cbc6 == null)
            {
                ControlLayoutSystem controlLayoutSystem = (ControlLayoutSystem)layoutSystemAt;
                if (true)
                {
                    DockControl controlAt = controlLayoutSystem.GetControlAt(x13d4cb8d1bd20347);
                    this.x531514c39973cbc6 = (xedb4922162c60d3d) new x31248f32f85df1dd(this.x0467b00af7810f0c.Manager, this.x0467b00af7810f0c, (LayoutSystemBase)controlLayoutSystem, controlAt, controlLayoutSystem.SelectedControl.MetaData.DockedContentSize, x13d4cb8d1bd20347, DockingHints.TranslucentFill);
                    this.x531514c39973cbc6.x67ecc0d0e7c9a202 += new xedb4922162c60d3d.DockingManagerFinishedEventHandler(this.x46ff430ed3944e0f);
                    this.x531514c39973cbc6.x868a32060451dd2e += new EventHandler(this.x0ae87c4881d90427);
                    this.x0467b00af7810f0c.Capture            = true;
                    if (true)
                    {
                        break;
                    }
                    break;
                }
            }
        }
Esempio n. 2
0
 protected internal virtual Rectangle AdjustDockControlClientBounds(
     ControlLayoutSystem layoutSystem,
     DockControl control,
     Rectangle clientBounds)
 {
     return(clientBounds);
 }
Esempio n. 3
0
        internal static int[] x27f6597db2aeb7d7(ControlLayoutSystem x5d3b2a2c534d6d79)
        {
            ArrayList        arrayList    = new ArrayList();
            LayoutSystemBase layoutSystem = (LayoutSystemBase)x5d3b2a2c534d6d79;

label_3:
            if (layoutSystem != null)
            {
                while (layoutSystem.Parent != null)
                {
                    arrayList.Add((object)layoutSystem.Parent.LayoutSystems.IndexOf(layoutSystem));
                    if (true)
                    {
                        break;
                    }
                }
                do
                {
                    layoutSystem = (LayoutSystemBase)layoutSystem.Parent;
                }while (false);
                goto label_3;
            }
            else
            {
                arrayList.Reverse();
                return((int[])arrayList.ToArray(typeof(int)));
            }
        }
Esempio n. 4
0
        private void x8e9e04a70e31e166(object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc)
        {
            if (this.x6fd7c9ad69859c3e != null)
            {
                goto label_4;
            }
label_1:
            if (!this.HasSingleControlLayoutSystem)
            {
                this.xa6607dfd4b3038ad.Text = "";
                this.x6fd7c9ad69859c3e      = (ControlLayoutSystem)null;
                return;
            }
            goto label_5;
label_4:
            this.x6fd7c9ad69859c3e.xcc55983eb55360ac -= new ControlLayoutSystem.xf09a9df3c262275d(this.xe20c835979d60df8);
            if (true)
            {
                goto label_1;
            }
label_5:
            do
            {
                this.x6fd7c9ad69859c3e = (ControlLayoutSystem)this.LayoutSystem.LayoutSystems[0];
                this.x6fd7c9ad69859c3e.xcc55983eb55360ac += new ControlLayoutSystem.xf09a9df3c262275d(this.xe20c835979d60df8);
                this.xe20c835979d60df8((DockControl)null, this.x6fd7c9ad69859c3e.SelectedControl);
            }while (false);
        }
Esempio n. 5
0
 internal void x200394302d96eb9b(ControlLayoutSystem x6e150040c8d97700)
 {
     this.x7e9646eed248ed11();
     if (this.x23498f53d87354d4 != x6e150040c8d97700)
     {
         return;
     }
     this.x5fea292ffeb2c28c.PerformLayout();
 }
Esempio n. 6
0
 protected internal override Rectangle AdjustDockControlClientBounds(ControlLayoutSystem layoutSystem, DockControl control, Rectangle clientBounds)
 {
     if (layoutSystem is DocumentLayoutSystem)
     {
         clientBounds.Inflate(-4, -4);
         return clientBounds;
     }
     return base.AdjustDockControlClientBounds(layoutSystem, control, clientBounds);
 }
Esempio n. 7
0
		protected internal override Rectangle AdjustDockControlClientBounds(ControlLayoutSystem layoutSystem, DockControl control, Rectangle clientBounds)
		{
			if (layoutSystem is DocumentLayoutSystem)
			{
				clientBounds.X++;
				clientBounds.Width -= 2;
				clientBounds.Height--;
				return clientBounds;
			}
			return base.AdjustDockControlClientBounds(layoutSystem, control, clientBounds);
		}
Esempio n. 8
0
 protected internal override Rectangle AdjustDockControlClientBounds(
     ControlLayoutSystem layoutSystem,
     DockControl control,
     Rectangle clientBounds)
 {
     if (!(layoutSystem is DocumentLayoutSystem))
     {
         return(base.AdjustDockControlClientBounds(layoutSystem, control, clientBounds));
     }
     clientBounds.Inflate(-2, -2);
     return(clientBounds);
 }
Esempio n. 9
0
 private bool x8956f13386ebab05()
 {
     if (this.xd3311d815ca25f02.HasSingleControlLayoutSystem)
     {
         ControlLayoutSystem layoutSystem = (ControlLayoutSystem)this.xd3311d815ca25f02.LayoutSystem.LayoutSystems[0];
         if (layoutSystem.SelectedControl != null)
         {
             this.xd3311d815ca25f02.x8ba6fce4f4601549(new ShowControlContextMenuEventArgs(layoutSystem.SelectedControl, layoutSystem.SelectedControl.PointToClient(Cursor.Position), ContextMenuContext.RightClick));
             return(true);
         }
     }
     return(false);
 }
Esempio n. 10
0
        protected override void OnActivated(EventArgs e)
        {
            base.OnActivated(e);
            if (this.xd3311d815ca25f02.ActiveControl != null)
            {
                return;
            }
            ControlLayoutSystem controlLayoutSystem = LayoutUtilities.FindControlLayoutSystem((DockContainer)this.xd3311d815ca25f02);

            if (controlLayoutSystem == null)
            {
                return;
            }
            if (false)
            {
                ;
            }
            if (controlLayoutSystem.SelectedControl == null)
            {
                return;
            }
            this.xd3311d815ca25f02.ActiveControl = (Control)controlLayoutSystem.SelectedControl;
        }
Esempio n. 11
0
 protected internal virtual Rectangle AdjustDockControlClientBounds(ControlLayoutSystem layoutSystem, DockControl control, Rectangle clientBounds) => clientBounds;
Esempio n. 12
0
 public bool x263d579af1d0d43f(ControlLayoutSystem x6e150040c8d97700)
 {
     return(this.List.Contains((object)x6e150040c8d97700));
 }
Esempio n. 13
0
        internal void x333d8ec4f70a6d86()
        {
            if (!this.x0c2484ccd29b8358)
            {
                goto label_2;
            }
            else
            {
                goto label_33;
            }
label_1:
            this.CalculateAllMetricsAndLayout();
            return;

label_2:
            this.CalculateAllMetricsAndLayout();
            if (true)
            {
                return;
            }
label_3:
            int num1;

            this.Height = num1;
            if (true)
            {
                return;
            }
label_5:
            if (this.x61c108cc44ef385a)
            {
                goto label_1;
            }
label_7:
            if (this.Height != num1)
            {
                if ((num1 & 0) != 0)
                {
                    goto label_18;
                }
            }
            else
            {
                goto label_1;
            }
label_13:
            bool flag;

            if ((uint)num1 - (uint)flag <= uint.MaxValue)
            {
                goto label_35;
            }
label_14:
            if (this.x61c108cc44ef385a)
            {
                if ((uint)num1 + (uint)num1 <= uint.MaxValue)
                {
                    while (this.Width == num1)
                    {
                        if (false)
                        {
                            if (true)
                            {
                                goto label_5;
                            }
                        }
                        else if ((uint)num1 - (uint)flag >= 0U)
                        {
                            if ((num1 | 1) == 0 || true)
                            {
                                goto label_5;
                            }
                            else
                            {
                                goto label_7;
                            }
                        }
                        else
                        {
                            goto label_13;
                        }
                    }
                }
                this.Width = num1;
                return;
            }
            goto label_5;
label_18:
            if (!flag)
            {
                num1 += this.ContentSize + (this.AllowResize ? 4 : 0);
                goto label_14;
            }
            else
            {
                goto label_34;
            }
label_33:
            flag = true;
            int num2;

            if ((uint)num2 >= 0U)
            {
                IEnumerator enumerator = this.x83627743ea4ce5a2.GetEnumerator();
                try
                {
                    do
                    {
                        if (!enumerator.MoveNext())
                        {
                            if ((uint)flag <= uint.MaxValue)
                            {
                                break;
                            }
                        }
                        LayoutSystemBase current = (LayoutSystemBase)enumerator.Current;
                        if (current is ControlLayoutSystem)
                        {
                            ControlLayoutSystem controlLayoutSystem = (ControlLayoutSystem)current;
                            if ((uint)num2 + (uint)flag < 0U || !controlLayoutSystem.Collapsed)
                            {
                                flag = false;
                                break;
                            }
                        }
                    }while ((uint)num2 >= 0U);
                }
                finally
                {
                    (enumerator as IDisposable)?.Dispose();
                }
                num1 = 0;
                goto label_18;
            }
label_34:
            if (true)
            {
                goto label_14;
            }
label_35:
            if ((uint)num1 - (uint)num1 <= uint.MaxValue)
            {
                goto label_3;
            }
        }
Esempio n. 14
0
        internal static ControlLayoutSystem xba5fd484c0e6478b(
            SandDockManager x91f347c6e97f1846,
            DockSituation xd39eba9a9a1b028e,
            x129cb2a2bdfd0ab2 xfffbdea061bfa120)
        {
            int index1;

            DockContainer[] dockContainers1;
            int             index2;

            ControlLayoutSystem[] controlLayoutSystemArray1;
            int index3;

            DockContainer[] dockContainers2;
            switch (xd39eba9a9a1b028e)
            {
            case DockSituation.Docked:
                dockContainers2 = x91f347c6e97f1846.GetDockContainers();
                index3          = 0;
                goto label_26;

            case DockSituation.Document:
                if (x91f347c6e97f1846.DocumentContainer != null)
                {
                    controlLayoutSystemArray1 = LayoutUtilities.x1494f515233a1246((DockContainer)x91f347c6e97f1846.DocumentContainer);
                    if (true)
                    {
                        index2 = 0;
                        goto label_21;
                    }
                    else
                    {
                        goto label_29;
                    }
                }
                else
                {
                    break;
                }

            case DockSituation.Floating:
                dockContainers1 = x91f347c6e97f1846.GetDockContainers();
                int num1;
                if ((uint)num1 + (uint)num1 >= 0U)
                {
                    index1 = 0;
                    goto label_4;
                }
                else
                {
                    goto label_21;
                }

            default:
                throw new InvalidOperationException();
            }
label_2:
            return((ControlLayoutSystem)null);

label_3:
            ++index1;
label_4:
            DockContainer xd3311d815ca25f02_1;

            if (index1 < dockContainers1.Length)
            {
                xd3311d815ca25f02_1 = dockContainers1[index1];
            }
            else
            {
                goto label_2;
            }
label_6:
            int index4;

            ControlLayoutSystem[] controlLayoutSystemArray2;
            if (LayoutUtilities.x8d287cc6f0a2f529(xd3311d815ca25f02_1) != xd39eba9a9a1b028e)
            {
                if (true)
                {
                    goto label_3;
                }
                else
                {
                    goto label_44;
                }
            }
            else
            {
                controlLayoutSystemArray2 = LayoutUtilities.x1494f515233a1246(xd3311d815ca25f02_1);
                if ((uint)index4 + (uint)index2 >= 0U)
                {
                    index4 = 0;
                }
                else
                {
                    goto label_44;
                }
            }
label_8:
            if (index4 >= controlLayoutSystemArray2.Length)
            {
                if (true)
                {
                    if ((uint)index1 - (uint)index2 <= uint.MaxValue)
                    {
                        goto label_3;
                    }
                    else
                    {
                        goto label_6;
                    }
                }
                else
                {
                    goto label_40;
                }
            }
label_14:
            ControlLayoutSystem controlLayoutSystem1 = controlLayoutSystemArray2[index4];
            ControlLayoutSystem controlLayoutSystem2;

            if (!(controlLayoutSystem1.x0217cda8370c1f17 == xfffbdea061bfa120.x703937d70a13725c))
            {
                ++index4;
                goto label_8;
            }
            else
            {
                controlLayoutSystem2 = controlLayoutSystem1;
                goto label_44;
            }
label_19:
            for (; index2 < controlLayoutSystemArray1.Length; ++index2)
            {
                ControlLayoutSystem controlLayoutSystem3 = controlLayoutSystemArray1[index2];
                if (controlLayoutSystem3.x0217cda8370c1f17 == xfffbdea061bfa120.x703937d70a13725c)
                {
                    controlLayoutSystem2 = controlLayoutSystem3;
                    goto label_44;
                }
            }
            goto label_2;
label_21:
            int num2;
            int num3;

            if ((uint)num2 - (uint)num3 < 0U)
            {
                goto label_29;
            }
            else
            {
                goto label_19;
            }
label_26:
            DockContainer xd3311d815ca25f02_2;

            if (index3 < dockContainers2.Length)
            {
                xd3311d815ca25f02_2 = dockContainers2[index3];
                goto label_30;
            }
            else
            {
                goto label_2;
            }
label_28:
            if (false)
            {
                goto label_30;
            }
label_29:
            ++index3;
            if (false)
            {
                if (false)
                {
                    goto label_19;
                }
                else
                {
                    goto label_28;
                }
            }
            else
            {
                goto label_26;
            }
label_30:
            if (LayoutUtilities.x8d287cc6f0a2f529(xd3311d815ca25f02_2) != xd39eba9a9a1b028e && (uint)index1 + (uint)index3 <= uint.MaxValue)
            {
                goto label_29;
            }
label_40:
            int index5;

            do
            {
                ControlLayoutSystem[] controlLayoutSystemArray3 = LayoutUtilities.x1494f515233a1246(xd3311d815ca25f02_2);
                do
                {
                    for (index5 = 0; index5 < controlLayoutSystemArray3.Length; ++index5)
                    {
                        ControlLayoutSystem controlLayoutSystem3 = controlLayoutSystemArray3[index5];
                        if (controlLayoutSystem3.x0217cda8370c1f17 == xfffbdea061bfa120.x703937d70a13725c)
                        {
                            controlLayoutSystem2 = controlLayoutSystem3;
                            goto label_44;
                        }
                    }
                    if ((uint)index3 - (uint)index2 <= uint.MaxValue)
                    {
                        goto label_28;
                    }
                }while ((uint)index3 < 0U);
            }while ((uint)index5 + (uint)index1 < 0U);
            if ((index4 & 0) == 0)
            {
                if ((index3 | 1) != 0)
                {
                    goto label_30;
                }
                else
                {
                    goto label_29;
                }
            }
            else
            {
                goto label_14;
            }
label_44:
            return(controlLayoutSystem2);
        }
Esempio n. 15
0
        internal static void xf1cbd48a28ce6e74(DockControl x43bec302f92080b9)
        {
            if (x43bec302f92080b9 == null)
            {
                throw new ArgumentNullException();
            }
            ControlLayoutSystem layoutSystem = x43bec302f92080b9.LayoutSystem;
            bool flag;

            if (((flag ? 1 : 0) & 0) != 0 || layoutSystem == null)
            {
                return;
            }
            DockContainer dockContainer = layoutSystem.DockContainer;
            bool          containsFocus = x43bec302f92080b9.ContainsFocus;

            if (false)
            {
                goto label_4;
            }
            else
            {
                goto label_15;
            }
label_1:
            if (!containsFocus)
            {
                return;
            }
            if (x43bec302f92080b9.Manager == null)
            {
                if (((containsFocus ? 1 : 0) | 4) != 0)
                {
                    return;
                }
            }
            else
            {
                goto label_9;
            }
label_7:
            DockControl recentlyUsedWindow = x43bec302f92080b9.Manager.FindMostRecentlyUsedWindow(~DockSituation.None, x43bec302f92080b9);

            goto label_8;
label_9:
            recentlyUsedWindow = x43bec302f92080b9.Manager.FindMostRecentlyUsedWindow(DockSituation.Document, x43bec302f92080b9);
            if (recentlyUsedWindow != null)
            {
                goto label_8;
            }
            else
            {
                goto label_7;
            }
label_3:
            recentlyUsedWindow.x6d1b64d6c637a91d(true);
            return;

label_4:
            if (true)
            {
                if (false)
                {
                    goto label_3;
                }
                else
                {
                    goto label_1;
                }
            }
label_8:
            if (recentlyUsedWindow == null)
            {
                return;
            }
            goto label_3;
label_15:
            if (containsFocus)
            {
                goto label_16;
            }
label_12:
            layoutSystem.Controls.Remove(x43bec302f92080b9);
            while (layoutSystem.Controls.Count == 0)
            {
                LayoutUtilities.x4487f2f8917e3fd0(layoutSystem);
                if (true)
                {
                    break;
                }
            }
            goto label_1;
label_16:
            Form form = x43bec302f92080b9.FindForm();

            if ((uint)containsFocus + (uint)containsFocus < 0U || form != null)
            {
                form.ActiveControl = (Control)null;
                goto label_12;
            }
            else
            {
                goto label_12;
            }
        }
Esempio n. 16
0
        internal static void x4487f2f8917e3fd0(ControlLayoutSystem x6e150040c8d97700)
        {
            if (x6e150040c8d97700 == null)
            {
                throw new ArgumentNullException();
            }
            DockContainer dockContainer = x6e150040c8d97700.DockContainer;

            if (x6e150040c8d97700.x10ac79a4257c7f52 != null)
            {
                goto label_22;
            }
            else
            {
                goto label_15;
            }
label_1:
            if (!dockContainer.x61d88745bde7a5ec())
            {
                return;
            }
            goto label_8;
label_3:
            if (x6e150040c8d97700.Parent == null)
            {
                return;
            }
            goto label_17;
label_7:
            dockContainer.Dispose();
            return;

label_8:
            if (!(dockContainer is DocumentContainer))
            {
                goto label_7;
            }
label_9:
            if (dockContainer.Manager != null && dockContainer.Manager.EnableEmptyEnvironment)
            {
                return;
            }
            goto label_7;
label_15:
            if (false)
            {
                if (false)
                {
                    if (false)
                    {
                        if (false)
                        {
                            goto label_3;
                        }
                        else
                        {
                            goto label_8;
                        }
                    }
                    else
                    {
                        goto label_1;
                    }
                }
            }
            else
            {
                goto label_3;
            }
label_17:
            x6e150040c8d97700.Parent.LayoutSystems.Remove((LayoutSystemBase)x6e150040c8d97700);
            if (dockContainer == null)
            {
                if (true)
                {
                    if (false)
                    {
                        goto label_1;
                    }
                }
                else if (true)
                {
                    goto label_1;
                }
                if (true)
                {
                    return;
                }
                goto label_9;
            }
            else
            {
                goto label_1;
            }
label_22:
            if (x6e150040c8d97700.x10ac79a4257c7f52.x23498f53d87354d4 == x6e150040c8d97700)
            {
                x6e150040c8d97700.x10ac79a4257c7f52.xcdb145600c1b7224(true);
                if (false)
                {
                    goto label_9;
                }
                else
                {
                    goto label_3;
                }
            }
            else
            {
                goto label_3;
            }
        }
Esempio n. 17
0
 public int xd6b6ed77479ef68c(ControlLayoutSystem x6e150040c8d97700)
 {
     return(this.List.Add((object)x6e150040c8d97700));
 }
Esempio n. 18
0
        internal void xe6ff614263a59ef9(
            DockControl x43bec302f92080b9,
            bool x0b9c38731edfc369,
            bool x17cc8f73454a0462)
        {
            if (this.xdf67155884991aa8 == x43bec302f92080b9.LayoutSystem)
            {
                goto label_54;
            }
label_1:
            int num;

            if (x0b9c38731edfc369)
            {
                num = 1;
            }
            else
            {
                goto label_46;
            }
label_3:
            x0b9c38731edfc369 = num != 0;
            x43bec302f92080b9.LayoutSystem.SelectedControl = x43bec302f92080b9;
            if (x43bec302f92080b9.LayoutSystem.SelectedControl != x43bec302f92080b9)
            {
                return;
            }
            try
            {
                if (this.xdf67155884991aa8 == x43bec302f92080b9.LayoutSystem)
                {
                    if ((uint)x17cc8f73454a0462 + (uint)x17cc8f73454a0462 > uint.MaxValue)
                    {
                        if (((x0b9c38731edfc369 ? 1 : 0) & 0) != 0 && (uint)x0b9c38731edfc369 + (uint)x0b9c38731edfc369 >= 0U)
                        {
                            goto label_11;
                        }
                    }
                    else
                    {
                        goto label_35;
                    }
                }
                else
                {
                    goto label_20;
                }
label_8:
                TD.SandDock.x87cf4de36131799d xd70b090e3181abff;
                if (xd70b090e3181abff.IsDisposed)
                {
                    return;
                }
                if (xd70b090e3181abff.Parent == null)
                {
                    goto label_11;
                }
label_10:
                this.x5fea292ffeb2c28c         = xd70b090e3181abff;
                this.xdf67155884991aa8         = x43bec302f92080b9.LayoutSystem;
                this.x2076b5c9f1eb82ef.Enabled = true;
                x43bec302f92080b9.OnAutoHidePopupOpened(EventArgs.Empty);
                if ((uint)x17cc8f73454a0462 + (uint)x17cc8f73454a0462 >= 0U)
                {
                    return;
                }
                goto label_35;
label_11:
                if ((uint)x17cc8f73454a0462 - (uint)x0b9c38731edfc369 <= uint.MaxValue)
                {
                    return;
                }
label_12:
                if (((x17cc8f73454a0462 ? 1 : 0) | 8) == 0)
                {
                    return;
                }
                goto label_8;
label_20:
                Rectangle xd2acd28268ef2513;
                do
                {
                    this.xcdb145600c1b7224(true);
                    if (true)
                    {
                        this.x792c0fd4639cad90 = this.x8012502b8eced8ff(x43bec302f92080b9.LayoutSystem.xca843b3e9a1c605f, out xd2acd28268ef2513);
                        xd70b090e3181abff      = new TD.SandDock.x87cf4de36131799d(this);
                        IEnumerator enumerator = x43bec302f92080b9.LayoutSystem.Controls.GetEnumerator();
                        try
                        {
                            while (enumerator.MoveNext())
                            {
                                DockControl current = (DockControl)enumerator.Current;
                                while (current.Parent != null)
                                {
                                    LayoutUtilities.xa7513d57b4844d46((Control)current);
                                    if ((uint)x17cc8f73454a0462 - (uint)x0b9c38731edfc369 >= 0U)
                                    {
                                        goto label_24;
                                    }
                                }
                                if (((x17cc8f73454a0462 ? 1 : 0) & 0) != 0)
                                {
                                    continue;
                                }
label_24:
                                current.Parent = (Control)xd70b090e3181abff;
                            }
                        }
                        finally
                        {
                            IDisposable disposable = enumerator as IDisposable;
                            while (disposable != null)
                            {
                                disposable.Dispose();
                                if (true)
                                {
                                    break;
                                }
                            }
                        }
                        xd70b090e3181abff.x5a9cbf8ad0ee9896 = x43bec302f92080b9.LayoutSystem;
                        xd70b090e3181abff.Visible           = false;
                    }
                    else
                    {
                        goto label_12;
                    }
                }while ((uint)x17cc8f73454a0462 > uint.MaxValue);
                if (true)
                {
                    this.Parent.Controls.Add((Control)xd70b090e3181abff);
                    xd70b090e3181abff.Bounds = this.x792c0fd4639cad90;
                    if (true)
                    {
                        if (true)
                        {
                            goto label_18;
                        }
label_15:
                        while (x0b9c38731edfc369)
                        {
                            if ((uint)x0b9c38731edfc369 >= 0U)
                            {
                                if ((uint)x17cc8f73454a0462 - (uint)x17cc8f73454a0462 >= 0U)
                                {
                                    goto label_14;
                                }
                            }
                            else
                            {
                                goto label_10;
                            }
                        }
                        goto label_17;
label_14:
                        xd70b090e3181abff.Bounds = this.x792c0fd4639cad90;
                        xd70b090e3181abff.ResumeLayout();
                        goto label_8;
label_17:
                        this.x53cde82d34a241f8(xd70b090e3181abff, xd2acd28268ef2513, this.x792c0fd4639cad90);
                        goto label_14;
label_18:
                        xd70b090e3181abff.SuspendLayout();
                        xd70b090e3181abff.Bounds  = xd2acd28268ef2513;
                        xd70b090e3181abff.Visible = true;
                        xd70b090e3181abff.BringToFront();
                        goto label_15;
                    }
                }
label_35:
                if (false)
                {
                    ;
                }
                return;
            }
            finally
            {
                if (x17cc8f73454a0462 && (((x0b9c38731edfc369 ? 1 : 0) | 1) == 0 || this.x23498f53d87354d4 == x43bec302f92080b9.LayoutSystem))
                {
                    x43bec302f92080b9.Activate();
                }
            }
label_46:
            num = !this.x6991238ec3e25129() ? 1 : 0;
            goto label_3;
label_54:
            if ((uint)x0b9c38731edfc369 - (uint)x17cc8f73454a0462 >= 0U)
            {
                if (x43bec302f92080b9.LayoutSystem.SelectedControl != x43bec302f92080b9)
                {
                    if (((x17cc8f73454a0462 ? 1 : 0) | int.MaxValue) != 0)
                    {
                        goto label_1;
                    }
                    else
                    {
                        goto label_46;
                    }
                }
            }
            else
            {
                goto label_52;
            }
label_50:
            if (!x17cc8f73454a0462)
            {
                if ((uint)x17cc8f73454a0462 < 0U)
                {
                    ;
                }
                return;
            }
            goto label_53;
label_52:
            if ((uint)x0b9c38731edfc369 + (uint)x0b9c38731edfc369 <= uint.MaxValue)
            {
                goto label_50;
            }
label_53:
            x43bec302f92080b9.Activate();
        }
Esempio n. 19
0
        internal void xcdb145600c1b7224(bool x0b9c38731edfc369)
        {
            if (this.xdf67155884991aa8 == null)
            {
                return;
            }
            TD.SandDock.x87cf4de36131799d x5fea292ffeb2c28c = this.x5fea292ffeb2c28c;
label_19:
            if (true)
            {
                goto label_20;
            }
label_7:
            Control[] controlArray1;
            x5fea292ffeb2c28c.Controls.CopyTo((Array)controlArray1, 0);
            Control[] controlArray2 = controlArray1;
            int       index;

            if ((uint)x0b9c38731edfc369 + (uint)index >= 0U)
            {
                goto label_4;
            }
label_2:
            ControlLayoutSystem xdf67155884991aa8;

            if (xdf67155884991aa8 == null || (uint)x0b9c38731edfc369 <= uint.MaxValue && xdf67155884991aa8.SelectedControl == null)
            {
                return;
            }
            xdf67155884991aa8.SelectedControl.OnAutoHidePopupClosed(EventArgs.Empty);
            if ((uint)index - (uint)x0b9c38731edfc369 <= uint.MaxValue)
            {
                return;
            }
            goto label_11;
label_4:
            for (index = 0; index < controlArray2.Length; ++index)
            {
                LayoutUtilities.xa7513d57b4844d46(controlArray2[index]);
            }
            x5fea292ffeb2c28c.Dispose();
            goto label_2;
label_10:
            xdf67155884991aa8      = this.xdf67155884991aa8;
            this.xdf67155884991aa8 = (ControlLayoutSystem)null;
            controlArray1          = new Control[x5fea292ffeb2c28c.Controls.Count];
            goto label_7;
label_11:
            x5fea292ffeb2c28c.ResumeLayout();
            if (((x0b9c38731edfc369 ? 1 : 0) & 0) == 0)
            {
                while ((uint)x0b9c38731edfc369 <= uint.MaxValue)
                {
                    if ((uint)index <= uint.MaxValue)
                    {
                        goto label_10;
                    }
                }
            }
            else
            {
                goto label_19;
            }
label_12:
            if (!x0b9c38731edfc369)
            {
                Rectangle xd2acd28268ef2513;
                this.x8012502b8eced8ff(this.xdf67155884991aa8.xca843b3e9a1c605f, out xd2acd28268ef2513);
                x5fea292ffeb2c28c.SuspendLayout();
                this.x53cde82d34a241f8(x5fea292ffeb2c28c, x5fea292ffeb2c28c.Bounds, xd2acd28268ef2513);
                goto label_11;
            }
            else
            {
                goto label_10;
            }
label_20:
            int num;

            if (x0b9c38731edfc369)
            {
                num = 1;
            }
            else
            {
                goto label_21;
            }
label_16:
            x0b9c38731edfc369 = num != 0;
            this.x2076b5c9f1eb82ef.Enabled = false;
            goto label_12;
label_21:
            if (false)
            {
                ;
            }
            num = !this.x6991238ec3e25129() ? 1 : 0;
            goto label_16;
        }
Esempio n. 20
0
 public void x52b190e626f65140(ControlLayoutSystem x6e150040c8d97700)
 {
     this.List.Remove((object)x6e150040c8d97700);
 }