Esempio n. 1
0
        private static void OnColumnDefinitionsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
label_1:
            int num1 = 1500632598;

            while (true)
            {
                int      num2 = 669484549;
                uint     num3;
                bool     flag;
                string   newValue;
                string[] strArray1;
                string[] strArray2;
                int      index;
                string   length;
                Grid     grid;
                switch ((num3 = (uint)(num1 ^ num2)) % 18U)
                {
                case 0:
                    num1 = (int)num3 * -392681729 ^ 1503721486;
                    continue;

                case 1:
                    num1 = (int)num3 * -1446607649 ^ 1606741188;
                    continue;

                case 2:
                    int num4;
                    num1 = num4 = index >= strArray2.Length ? 2031969093 : (num4 = 529140342);
                    continue;

                case 3:
                    grid = d as Grid;
                    num1 = (int)num3 * -349729296 ^ 1399183803;
                    continue;

                case 4:
                    ++index;
                    num1 = (int)num3 * 2052899649 ^ 784971275;
                    continue;

                case 5:
                    goto label_1;

                case 6:
                    flag = length.Trim() == "";
                    num1 = (int)num3 * -641152792 ^ -1448245841;
                    continue;

                case 7:
                    num1 = 1121206847;
                    continue;

                case 8:
                    GridUtils.\u206F‪‮‏‪‮‭‭‏‫‫​‭‎‏‪‫‏‎‭‎‌‮(GridUtils.\u202E‬‪‫‮‪‎‭‎‮‍‍‭​‮​‏‎‭‭‮‌‮(grid));
                    newValue = e.NewValue as string;
                    num1     = (int)num3 * -690924099 ^ 1169322275;
                    continue;

                case 9:
                    length = strArray2[index];
                    num1   = 1076875822;
                    continue;

                case 10:
                    int num5 = flag ? 1507309831 : (num5 = 80178198);
                    int num6 = (int)num3 * 1456277392;
                    num1 = num5 ^ num6;
                    continue;

                case 11:
                    num1 = (int)num3 * -265618399 ^ 1546870685;
                    continue;

                case 12:
                    grid.ColumnDefinitions.Add(new ColumnDefinition());
                    num1 = (int)num3 * -512428143 ^ -364095275;
                    continue;

                case 13:
                    strArray2 = strArray1;
                    index     = 0;
                    num1      = (int)num3 * -871176546 ^ -2074409577;
                    continue;

                case 14:
                    strArray1 = newValue.Split(',');
                    num1      = (int)num3 * 902127709 ^ 2034526608;
                    continue;

                case 15:
                    grid.ColumnDefinitions.Add(new ColumnDefinition()
                    {
                        Width = GridUtils.ParseLength(length)
                    });
                    num1 = 557750708;
                    continue;

                case 16:
                    goto label_3;

                case 17:
                    num1 = (int)num3 * 1787319306 ^ -282502646;
                    continue;

                default:
                    goto label_20;
                }
            }
label_20:
            return;

            label_3 :;
        }
Esempio n. 2
0
        private static void OnRowDefinitionsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Grid grid = d as Grid;

            GridUtils.\u202E‪‎‏‭‏​‌‬‪‌‪‍‌‌​‬‌‌‫‬‪‏‍‮(GridUtils.\u206C​‭‍‏‭‪‪‎‭‌‫‍‫‍‮‪‪‪‮‎‍‮(grid));
label_1:
            int num1 = 1347820847;

            while (true)
            {
                int      num2 = 541808663;
                uint     num3;
                int      index;
                string[] strArray;
                string   length;
                switch ((num3 = (uint)(num1 ^ num2)) % 20U)
                {
                case 0:
                    num1 = (int)num3 * -1743007090 ^ -728412313;
                    continue;

                case 1:
                    num1 = (int)num3 * 683278318 ^ 268335525;
                    continue;

                case 2:
                    goto label_1;

                case 3:
                    length = strArray[index];
                    num1   = 834546768;
                    continue;

                case 4:
                    num1 = (int)num3 * -56249893 ^ -1975995722;
                    continue;

                case 5:
                    int num4 = length.Trim() == "" ? -1269391221 : (num4 = -274359439);
                    int num5 = (int)num3 * 1606088683;
                    num1 = num4 ^ num5;
                    continue;

                case 6:
                    goto label_3;

                case 7:
                    num1 = (int)num3 * 1822803389 ^ 516345383;
                    continue;

                case 8:
                    int num6;
                    num1 = num6 = index < strArray.Length ? 471198356 : (num6 = 999537581);
                    continue;

                case 9:
                    num1 = (int)num3 * -424943027 ^ 368876932;
                    continue;

                case 10:
                    strArray = (e.NewValue as string).Split(',');
                    num1     = (int)num3 * 1499367205 ^ -272240192;
                    continue;

                case 11:
                    num1 = (int)num3 * 1893579581 ^ 353399150;
                    continue;

                case 12:
                    ++index;
                    num1 = (int)num3 * 118115432 ^ 1872792099;
                    continue;

                case 13:
                    grid.RowDefinitions.Add(new RowDefinition()
                    {
                        Height = GridUtils.ParseLength(length)
                    });
                    num1 = 229495901;
                    continue;

                case 14:
                    num1 = (int)num3 * -1382759309 ^ 1042006042;
                    continue;

                case 15:
                    grid.RowDefinitions.Add(new RowDefinition());
                    num1 = (int)num3 * 1822109523 ^ -535122458;
                    continue;

                case 16:
                    num1 = (int)num3 * 1993861213 ^ 221823657;
                    continue;

                case 17:
                    index = 0;
                    num1  = (int)num3 * -1638213249 ^ -240599675;
                    continue;

                case 18:
                    num1 = 647478403;
                    continue;

                case 19:
                    num1 = (int)num3 * -2119101322 ^ -1953456316;
                    continue;

                default:
                    goto label_22;
                }
            }
label_22:
            return;

            label_3 :;
        }