Пример #1
0
 public ResizerSettings()
 {
     this.c26cecf4775971b3dcd61f354863296df = c43a64d1e90bff4efca2edef8326f91bf;
     this.c918009801080aac07877fc923033decc = -1;
     this.c9c2eb72cb1f08184dbb274648706afcf = -1;
     this.c10b0d428736b571cc7f50d19430bda6e = -1;
     this.ce480f2a771a2094e329c89817f17e90f = -1;
     this.c8196f7fc37ffefdcfe8cdbacfefc3a70 = -1f;
 }
Пример #2
0
 internal ControlResizeEventArgs(System.Windows.Forms.Control c92ec88d675c52bc1fd9422d4e4032352, int cd03c605e2371c81d7acc5ae7a1f02fed, int cba5e657701b90ff0aacc637f0d245bed, int cd316589d318cf6f1091a8bedc6543c26, int c0f0b8dd499e68cef6658dcebaf96c6c7, float c16da6b67f2080cf3857158047d4e8ef8, ControlResizeSettings c9c2069cd91149a4be8fad8867a7cbde3)
 {
     this.c92ec88d675c52bc1fd9422d4e4032352 = c92ec88d675c52bc1fd9422d4e4032352;
     this.cd03c605e2371c81d7acc5ae7a1f02fed = cd03c605e2371c81d7acc5ae7a1f02fed;
     this.cba5e657701b90ff0aacc637f0d245bed = cba5e657701b90ff0aacc637f0d245bed;
     this.cd316589d318cf6f1091a8bedc6543c26 = cd316589d318cf6f1091a8bedc6543c26;
     this.c0f0b8dd499e68cef6658dcebaf96c6c7 = c0f0b8dd499e68cef6658dcebaf96c6c7;
     this.c16da6b67f2080cf3857158047d4e8ef8 = c16da6b67f2080cf3857158047d4e8ef8;
     this.c9c2069cd91149a4be8fad8867a7cbde3 = c9c2069cd91149a4be8fad8867a7cbde3;
 }
Пример #3
0
 internal static bool c071ede0ae116ddf5f7c966ba7d201efe(ControlResizeSettings c26cecf4775971b3dcd61f354863296df)
 {
     return((c26cecf4775971b3dcd61f354863296df & ControlResizeSettings.Height) != ControlResizeSettings.None);
 }
Пример #4
0
 internal static bool ce817b0b70eeeadab7ca29e44931b0bff(ControlResizeSettings c26cecf4775971b3dcd61f354863296df)
 {
     return((c26cecf4775971b3dcd61f354863296df & ControlResizeSettings.Children) != ControlResizeSettings.None);
 }
Пример #5
0
 internal static bool cd7264c8433d15e139e0e4ccda9173bc4(ControlResizeSettings c26cecf4775971b3dcd61f354863296df)
 {
     return((c26cecf4775971b3dcd61f354863296df & ControlResizeSettings.Width) != ControlResizeSettings.None);
 }
Пример #6
0
        internal void ccef4e49327327d2fb4ba685c83816060()
        {
            double num10 = Math.Round((double)(this.c6e1168351c09e3079747e64fef1d930c.ca2c8e8ca465a003d3ba5e1a59b9a0cae * this.cb162a8cb7d5530812f1d2374c2e0c0ac));
            int    num   = (int)num10;
            double num11 = Math.Round((double)(this.c6e1168351c09e3079747e64fef1d930c.c1b3a2cfa804b6c224c7d96add98d5924 * this.c797d1406cb8c7842b21a1ec291f1c83a));
            int    num2  = (int)num11;
            double num12 = Math.Round((double)(this.c6e1168351c09e3079747e64fef1d930c.ca2c8e8ca465a003d3ba5e1a59b9a0cae * this.c0a1e41fae2b968610a1b9c635835529c));
            int    num3  = (int)num12;
            double num13 = Math.Round((double)(this.c6e1168351c09e3079747e64fef1d930c.c1b3a2cfa804b6c224c7d96add98d5924 * this.cab6aa8793019378e8ba1e5609d4095dd));
            int    num4  = (int)num13;
            float  num5  = this.c6e1168351c09e3079747e64fef1d930c.ce57a1f6c17313c6239d748e38dc22262 * this.c37a9a2fb5b837df826ae100769632d47;
            ControlResizeSettings  settings = this.c26cecf4775971b3dcd61f354863296df;
            ControlResizeEventArgs e        = new ControlResizeEventArgs(this.c92ec88d675c52bc1fd9422d4e4032352, num4, num3, num2, num, num5, this.c26cecf4775971b3dcd61f354863296df);

            this.c6e1168351c09e3079747e64fef1d930c.OnControlResize(e);
            num4     = e.cd03c605e2371c81d7acc5ae7a1f02fed;
            num3     = e.cba5e657701b90ff0aacc637f0d245bed;
            num2     = e.cd316589d318cf6f1091a8bedc6543c26;
            num      = e.c0f0b8dd499e68cef6658dcebaf96c6c7;
            num5     = e.c16da6b67f2080cf3857158047d4e8ef8;
            settings = e.c9c2069cd91149a4be8fad8867a7cbde3;
            if (!cbe0bcba68c332f2c73336c87b00b3a86(settings))
            {
                return;
            }
            if (num >= 0)
            {
                goto Label_0109;
            }
Label_00F4:
            switch (6)
            {
            case 0:
                goto Label_00F4;

            default:
                if (1 == 0)
                {
                }
                num = 0;
                break;
            }
Label_0109:
            if (num2 >= 0)
            {
                goto Label_0119;
            }
Label_010D:
            switch (5)
            {
            case 0:
                goto Label_010D;

            default:
                num2 = 0;
                break;
            }
Label_0119:
            if (num5 > 0f)
            {
                goto Label_0133;
            }
Label_0122:
            switch (5)
            {
            case 0:
                goto Label_0122;

            default:
                num5 = 1f;
                break;
            }
Label_0133:
            if (!c78ee242687d153a9b230d62aaa546202(settings))
            {
                goto Label_0154;
            }
Label_013E:
            switch (3)
            {
            case 0:
                goto Label_013E;

            default:
                this.c92ec88d675c52bc1fd9422d4e4032352.Left = num4;
                break;
            }
Label_0154:
            if (cd7264c8433d15e139e0e4ccda9173bc4(settings))
            {
                this.c92ec88d675c52bc1fd9422d4e4032352.Width = num2;
            }
            if (!c423c9f1dc061750d18108abbee957a9e(settings))
            {
                goto Label_018C;
            }
Label_0176:
            switch (3)
            {
            case 0:
                goto Label_0176;

            default:
                this.c92ec88d675c52bc1fd9422d4e4032352.Top = num3;
                break;
            }
Label_018C:
            if (!c071ede0ae116ddf5f7c966ba7d201efe(settings))
            {
                goto Label_01AB;
            }
Label_0195:
            switch (2)
            {
            case 0:
                goto Label_0195;

            default:
                this.c92ec88d675c52bc1fd9422d4e4032352.Height = num;
                break;
            }
Label_01AB:
            if (cbe96c3489cbcecf7758c85a6b1547e36(settings))
            {
                Font       font       = this.c92ec88d675c52bc1fd9422d4e4032352.Font;
                FontFamily fontFamily = font.FontFamily;
                Font       font4      = this.c92ec88d675c52bc1fd9422d4e4032352.Font;
                this.c92ec88d675c52bc1fd9422d4e4032352.Font = new Font(fontFamily, num5, font4.Style);
            }
            if (!ce817b0b70eeeadab7ca29e44931b0bff(settings))
            {
                return;
            }
Label_01F5:
            switch (1)
            {
            case 0:
                goto Label_01F5;

            default:
            {
                Control.ControlCollection controls = this.c92ec88d675c52bc1fd9422d4e4032352.Controls;
                if (controls.Count <= 0)
                {
                    return;
                }
                break;
            }
            }
Label_0216:
            switch (1)
            {
            case 0:
                goto Label_0216;

            default:
                if (!(this.c92ec88d675c52bc1fd9422d4e4032352 is UserControl) & !(this.c92ec88d675c52bc1fd9422d4e4032352 is Form))
                {
                    this.c6e1168351c09e3079747e64fef1d930c.cb877c343a04f6cbb1998a5d0e8d44c4a(this.c92ec88d675c52bc1fd9422d4e4032352);
                }
                break;
            }
        }
Пример #7
0
 internal static bool cbe96c3489cbcecf7758c85a6b1547e36(ControlResizeSettings c26cecf4775971b3dcd61f354863296df)
 {
     return((c26cecf4775971b3dcd61f354863296df & ControlResizeSettings.Font) != ControlResizeSettings.None);
 }
Пример #8
0
 internal static bool cbe0bcba68c332f2c73336c87b00b3a86(ControlResizeSettings c26cecf4775971b3dcd61f354863296df)
 {
     return((c26cecf4775971b3dcd61f354863296df & ControlResizeSettings.All) != ControlResizeSettings.None);
 }
Пример #9
0
 internal static bool c78ee242687d153a9b230d62aaa546202(ControlResizeSettings c26cecf4775971b3dcd61f354863296df)
 {
     return((c26cecf4775971b3dcd61f354863296df & ControlResizeSettings.Left) != ControlResizeSettings.None);
 }
Пример #10
0
 internal static bool c423c9f1dc061750d18108abbee957a9e(ControlResizeSettings c26cecf4775971b3dcd61f354863296df)
 {
     return((c26cecf4775971b3dcd61f354863296df & ControlResizeSettings.Top) != ControlResizeSettings.None);
 }