Example #1
0
        public x87cf4de36131799d(x10ac79a4257c7f52 bar)
        {
            if (true)
            {
                goto label_3;
            }
label_1:
            if (false)
            {
                return;
            }
            this.xac1c850120b1f254 = new xf8f9565783602018((Control)this);
            this.xac1c850120b1f254.xa6e4f463e64a5987  = false;
            this.xac1c850120b1f254.x9b21ee8e7ceaada3 += new xf8f9565783602018.x58986a4a0b75e5b5(this.xa3a7472ac4e61f76);
            this.BackColor = SystemColors.Control;
            return;

label_3:
            this.x2ee8392f53a01b93 = bar;
            this.SetStyle(ControlStyles.ResizeRedraw | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true);
            this.SetStyle(ControlStyles.Selectable, false);
            goto label_1;
        }
Example #2
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                goto label_17;
            }
label_4:
            base.Dispose(disposing);
            return;

label_17:
            while (!this.IsDisposed)
            {
                if (true)
                {
                    goto label_12;
                }
                else
                {
                    goto label_14;
                }
label_9:
                if (!this.x2ee8392f53a01b93.x460ab163f44a604d.OwnerForm.IsMdiContainer && (uint)disposing - (uint)disposing <= uint.MaxValue)
                {
                    goto label_11;
                }
label_10:
                if (this.x2ee8392f53a01b93.x460ab163f44a604d.OwnerForm.ActiveMdiChild != null)
                {
                    this.x2ee8392f53a01b93.x460ab163f44a604d.OwnerForm.ActiveControl = (Control)this.x2ee8392f53a01b93.x460ab163f44a604d.OwnerForm.ActiveMdiChild;
                }
label_11:
                do
                {
                    this.x2ee8392f53a01b93.xcdb145600c1b7224(true);
                    if (true)
                    {
                        this.x2ee8392f53a01b93 = (x10ac79a4257c7f52)null;
                        this.x5a9cbf8ad0ee9896 = (ControlLayoutSystem)null;
                        if (false)
                        {
                            goto label_12;
                        }
                    }
                    if ((uint)disposing - (uint)disposing <= uint.MaxValue || true)
                    {
                        if (this.xac1c850120b1f254 != null)
                        {
                            this.xac1c850120b1f254.Dispose();
                        }
                        else
                        {
                            goto label_2;
                        }
                    }
                    else
                    {
                        goto label_17;
                    }
                }while (false);
                goto label_7;
label_2:
                if (this.x372569d2ea29984e != null)
                {
                    this.xd5979b8834306b81();
                    break;
                }
                break;
label_7:
                this.xac1c850120b1f254 = (xf8f9565783602018)null;
                if (((disposing ? 1 : 0) & 0) == 0)
                {
                    if ((uint)disposing + (uint)disposing > uint.MaxValue)
                    {
                        goto label_10;
                    }
                    else
                    {
                        goto label_2;
                    }
                }
                else
                {
                    goto label_9;
                }
label_12:
                if (this.ContainsFocus)
                {
                    if (false)
                    {
                        goto label_9;
                    }
                }
                else
                {
                    goto label_11;
                }
label_14:
                if (this.x2ee8392f53a01b93.x460ab163f44a604d.OwnerForm == null)
                {
                    goto label_11;
                }
                else
                {
                    goto label_9;
                }
            }
            goto label_4;
        }
Example #3
0
        public x7fc004d490c8a431(
            x10ac79a4257c7f52 bar,
            x87cf4de36131799d popupContainer,
            System.Drawing.Point startPoint)
            : base((Control)bar, bar.x460ab163f44a604d != null ? bar.x460ab163f44a604d.DockingHints : DockingHints.TranslucentFill, false)
        {
label_36:
            this.x2ee8392f53a01b93 = bar;
            if (true)
            {
                goto label_34;
            }
            else
            {
                goto label_31;
            }
label_28:
            int num1 = bar.x460ab163f44a604d.MaximumDockContainerSize;

label_29:
            int num2 = num1;

            this.xe7e5c1179f5c7ae1 = popupContainer.xca843b3e9a1c605f;
            int val2;

            do
            {
                DockStyle dock = bar.Dock;
                if (true)
                {
                    switch (dock)
                    {
                    case DockStyle.Top:
                        goto label_15;

                    case DockStyle.Bottom:
                        goto label_4;

                    case DockStyle.Left:
                        goto label_25;

                    case DockStyle.Right:
                        if (bar.x460ab163f44a604d == null)
                        {
                            continue;
                        }
                        goto label_19;

                    default:
                        goto label_3;
                    }
                }
                else
                {
                    goto label_35;
                }
            }while ((uint)val2 - (uint)num2 < 0U);
            goto label_18;
label_2:
            this.xffa8345bf918658d = startPoint.Y - (num2 - this.xe7e5c1179f5c7ae1);
            this.xb646339c3b9e735a = startPoint.Y + (this.xe7e5c1179f5c7ae1 - val2);
label_3:
            this.OnMouseMove(startPoint);
            if (true)
            {
                goto label_21;
            }
            else
            {
                goto label_5;
            }
label_4:
            Rectangle bounds;

            if (bar.x460ab163f44a604d != null)
            {
                if ((uint)num2 + (uint)num2 >= 0U)
                {
                    if (bar.x460ab163f44a604d.DockSystemContainer != null)
                    {
                        bounds = popupContainer.Bounds;
                        goto label_13;
                    }
                    else
                    {
                        goto label_2;
                    }
                }
                else
                {
                    goto label_21;
                }
            }
            else
            {
                goto label_2;
            }
label_5:
            num2 = Math.Max(bounds.Bottom - val2, val2);
            goto label_2;
label_7:
            this.xffa8345bf918658d = startPoint.Y - (this.xe7e5c1179f5c7ae1 - val2);
            this.xb646339c3b9e735a = startPoint.Y + (num2 - this.xe7e5c1179f5c7ae1);
            goto label_3;
label_12:
            if ((num2 | 1) != 0)
            {
                if (bar.x460ab163f44a604d.DockSystemContainer == null)
                {
                    if ((num2 & 0) == 0)
                    {
                        goto label_7;
                    }
                }
                else
                {
                    num2 = Math.Max(bar.x460ab163f44a604d.DockSystemContainer.Height - popupContainer.Bounds.Top - val2, val2);
                    goto label_7;
                }
            }
            else
            {
                goto label_24;
            }
label_13:
            if (true)
            {
                goto label_5;
            }
            else
            {
                goto label_21;
            }
label_15:
            if (bar.x460ab163f44a604d == null)
            {
                goto label_7;
            }
            else
            {
                goto label_12;
            }
label_18:
            this.xffa8345bf918658d = startPoint.X - (num2 - this.xe7e5c1179f5c7ae1);
            if ((uint)num2 - (uint)num2 >= 0U)
            {
                this.xb646339c3b9e735a = startPoint.X + (this.xe7e5c1179f5c7ae1 - val2);
                goto label_3;
            }
            else
            {
                goto label_12;
            }
label_19:
            if (bar.x460ab163f44a604d.DockSystemContainer != null)
            {
                num2 = Math.Max(popupContainer.Bounds.Right - val2, val2);
                goto label_18;
            }
            else
            {
                goto label_18;
            }
label_21:
            if ((uint)val2 - (uint)num2 >= 0U)
            {
                return;
            }
            if ((uint)val2 + (uint)num2 >= 0U)
            {
                goto label_36;
            }
            else
            {
                goto label_31;
            }
label_24:
            this.xb646339c3b9e735a = startPoint.X + (num2 - this.xe7e5c1179f5c7ae1);
            goto label_3;
label_25:
            if (bar.x460ab163f44a604d != null && bar.x460ab163f44a604d.DockSystemContainer != null)
            {
                goto label_26;
            }
label_23:
            this.xffa8345bf918658d = startPoint.X - (this.xe7e5c1179f5c7ae1 - val2);
            goto label_24;
label_26:
            num2 = Math.Max(bar.x460ab163f44a604d.DockSystemContainer.Width - popupContainer.Bounds.Left - val2, val2);
            goto label_23;
label_31:
            if ((uint)num2 - (uint)val2 < 0U)
            {
                goto label_35;
            }
            else
            {
                goto label_28;
            }
label_34:
            this.x5fea292ffeb2c28c = popupContainer;
label_35:
            if ((uint)val2 + (uint)val2 >= 0U)
            {
                this.xcb09bd0cee4909a3 = startPoint;
                val2 = bar.x460ab163f44a604d != null ? bar.x460ab163f44a604d.MinimumDockContainerSize : 30;
                if (bar.x460ab163f44a604d == null)
                {
                    num1 = 500;
                    goto label_29;
                }
                else
                {
                    goto label_28;
                }
            }
            else
            {
                goto label_36;
            }
        }
Example #4
0
 public x01c0afa1afffb431(x10ac79a4257c7f52 parent)
 {
     this.xb6a159a84cb992d6 = parent;
 }