예제 #1
0
        public void SavePattern()
        {
            if (this.Pattern == null)
            {
                return;
            }
label_1:
            int num1 = 482040132;

            while (true)
            {
                int  num2 = 1600770177;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 8U)
                {
                case 0:
                    goto label_10;

                case 1:
                    num1 = 334552889;
                    continue;

                case 2:
                    LayoutEditorViewModel.\u206B‫‍‎​‮‬‍‭‭‭‫‭‎‎‬‭‫‬‪‮‪‌‪‪‬‏‪‫‌‮(this.View);
                    num1 = (int)num3 * 1523450932 ^ 2146197743;
                    continue;

                case 3:
                    int num4 = this.View != null ? 627562361 : (num4 = 1729555962);
                    int num5 = (int)num3 * -2121503154;
                    num1 = num4 ^ num5;
                    continue;

                case 4:
                    goto label_1;

                case 5:
                    num1 = (int)num3 * 1233656256 ^ -1547757554;
                    continue;

                case 6:
                    num1 = (int)num3 * -507745689 ^ -816291574;
                    continue;

                case 7:
                    this.Pattern.Save("");
                    num1 = (int)num3 * 291398037 ^ 989372881;
                    continue;

                default:
                    goto label_11;
                }
            }
label_11:
            return;

            label_10 :;
        }
예제 #2
0
        internal void ApplyPattern()
        {
label_1:
            int num1 = 1754051099;

            while (true)
            {
                int  num2 = 1495299277;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 7U)
                {
                case 0:
                    num1 = (int)num3 * -1843622112 ^ 324889960;
                    continue;

                case 1:
                    num1 = (int)num3 * -1647476912 ^ 1472521032;
                    continue;

                case 2:
                    goto label_1;

                case 4:
                    num1 = (int)num3 * 17173739 ^ 1558346319;
                    continue;

                case 5:
                    this.Engine.ActivePattern = this.pattern;
                    num1 = (int)num3 * 190123113 ^ -375687618;
                    continue;

                case 6:
                    LayoutEditorViewModel.\u206A‌‭‮‏‎‍‫‏‮‍​‫‬‬‬‏‍‫‮‎‮‭‮(ViewModelBase.log, (object)\u003CModule\u003E.\u202A​‬‫‪‫‪‮‪‫‎‭‪‏‮‎‭‍‌‎‫‍​‎‎‮ <string>(840756860U));
                    num1 = (int)num3 * -861706646 ^ -1682201740;
                    continue;

                default:
                    goto label_8;
                }
            }
label_8:
            IEnumerator <ZoomWindow> enumerator = this.Engine.SharedData.ActiveWindows.GetEnumerator();

            try
            {
label_12:
                int num2 = !LayoutEditorViewModel.\u206F​‏‎‮‮‪‪​‍‬‭‬‮‮‫‪​​‏‪‍‎‪‮((IEnumerator)enumerator) ? 103098590 : (num2 = 1598253786);
                while (true)
                {
                    int        num3 = 1495299277;
                    uint       num4;
                    ZoomWindow current;
                    switch ((num4 = (uint)(num2 ^ num3)) % 5U)
                    {
                    case 0:
                        num2 = 1598253786;
                        continue;

                    case 1:
                        goto label_19;

                    case 2:
                        goto label_12;

                    case 3:
                        current = enumerator.Current;
                        num2    = 11013717;
                        continue;

                    case 4:
                        current.Refresh(true, false);
                        num2 = (int)num4 * 1686689017 ^ -1399521604;
                        continue;

                    default:
                        goto label_15;
                    }
                }
label_15:
                return;

                label_19 :;
            }
            finally
            {
                if (enumerator != null)
                {
                    label_17 :
                    int num2 = 1715368298;
                    while (true)
                    {
                        int  num3 = 1495299277;
                        uint num4;
                        switch ((num4 = (uint)(num2 ^ num3)) % 4U)
                        {
                        case 0:
                            goto label_17;

                        case 1:
                            num2 = (int)num4 * 453982476 ^ 358784343;
                            continue;

                        case 3:
                            LayoutEditorViewModel.\u206F‏‮‪‌‎‬​​‍‏​‬‫‪‬‌‏‌‏‭‬‮‬‌‮‮‎‮((IDisposable)enumerator);
                            num2 = (int)num4 * -1638718586 ^ 1702373750;
                            continue;

                        default:
                            goto label_22;
                        }
                    }
                }
                label_22 :;
            }
        }
예제 #3
0
        public LayoutEditorViewModel(IEventAggregator eventAggregator)
        {
label_1:
            int num1 = -955482391;

            while (true)
            {
                int  num2 = -685954451;
                uint num3;
                bool flag;
                switch ((num3 = (uint)(num1 ^ num2)) % 13U)
                {
                case 0:
                    num1 = (int)num3 * -43715327 ^ -1750037825;
                    continue;

                case 1:
                    num1 = (int)num3 * -2146344305 ^ 559371616;
                    continue;

                case 2:
                    int num4 = flag ? -855015473 : (num4 = -418975873);
                    int num5 = (int)num3 * -640734352;
                    num1 = num4 ^ num5;
                    continue;

                case 3:
                    this.LoadCommands();
                    num1 = -1547615424;
                    continue;

                case 4:
                    this.Pattern = new LayoutPattern();
                    num1         = (int)num3 * 140043839 ^ -1598681443;
                    continue;

                case 5:
                    goto label_3;

                case 6:
                    num1 = (int)num3 * -1074953805 ^ 727338699;
                    continue;

                case 7:
                    num1 = -666421729;
                    continue;

                case 8:
                    flag = LayoutEditorViewModel.\u200F‭‭‍‍‬‍‬‮‏‬‌‍‬​‪‌‎​‍‭​‭‎‬‫​‌‮((ViewModelBase)this);
                    num1 = (int)num3 * -2101111948 ^ 272844597;
                    continue;

                case 9:
                    this.Pattern.PatternName = \u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(2299176897U);
                    num1 = (int)num3 * 1687062051 ^ 467858433;
                    continue;

                case 10:
                    num1 = (int)num3 * 132124566 ^ 102058748;
                    continue;

                case 11:
                    num1 = (int)num3 * -312616392 ^ -922351933;
                    continue;

                case 12:
                    goto label_1;

                default:
                    goto label_15;
                }
            }
label_15:
            return;

            label_3 :;
        }
예제 #4
0
        internal void DeletePattern()
        {
            ConfirmationWindow.Confirm(\u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(782746678U), (EventHandler <WindowClosedEventArgs>)((windowSender, args) =>
            {
                bool?nullable = LayoutEditorViewModel.\u202E‏‬‮‭‎‌‮‭‎‎​‫‪‌‫‪‏‏​‬‭‬‌‬‌‌‮(args);
                label_1:
                int num1 = 432217700;
                while (true)
                {
                    int num2 = 62327845;
                    uint num3;
                    bool flag1;
                    bool flag2;
                    int num4;
                    int num5;
                    switch ((num3 = (uint)(num1 ^ num2)) % 14U)
                    {
                    case 0:
                        num4 = this.View is LayoutEditorView ? 1 : 0;
                        goto label_16;

                    case 1:
                        num1 = (int)num3 * 899776043 ^ 1707084181;
                        continue;

                    case 2:
                        int num6 = !flag1 ? -2019159653 : (num6 = -1965400082);
                        int num7 = (int)num3 * 722040888;
                        num1     = num6 ^ num7;
                        continue;

                    case 3:
                        flag2 = true;
                        num1  = (int)num3 * -1969208802 ^ 1352022135;
                        continue;

                    case 4:
                        num5 = 0;
                        break;

                    case 5:
                        num1 = (int)num3 * -89386269 ^ -792696650;
                        continue;

                    case 6:
                        if (nullable.GetValueOrDefault() == flag2)
                        {
                            num5 = nullable.HasValue ? 1 : 0;
                            break;
                        }
                        num1 = (int)num3 * 956485048 ^ -136728119;
                        continue;

                    case 7:
                        LayoutEditorViewModel.\u206B‫‍‎​‮‬‍‭‭‭‫‭‎‎‬‭‫‬‪‮‪‌‪‪‬‏‪‫‌‮(this.View);
                        num1 = (int)num3 * -909168828 ^ -221513866;
                        continue;

                    case 8:
                        num1 = 635991835;
                        continue;

                    case 9:
                        this.Pattern.Delete("");
                        num1 = (int)num3 * -434036564 ^ 771102297;
                        continue;

                    case 10:
                        num1 = (int)num3 * 363829336 ^ -245232924;
                        continue;

                    case 11:
                        goto label_1;

                    case 12:
                        goto label_3;

                    case 13:
                        if (this.View != null)
                        {
                            num1 = (int)num3 * -1785316941 ^ 457674242;
                            continue;
                        }
                        num4 = 0;
                        goto label_16;

                    default:
                        goto label_22;
                    }
                    int num8;
                    num1 = num8 = num5 != 0 ? 119165344 : (num8 = 635991835);
                    continue;
                    label_16:
                    flag1 = num4 != 0;
                    num1  = 1764024463;
                }
                label_22:
                return;

                label_3:;
            }), 400);
        }