예제 #1
0
        public static void Confirm(string message, EventHandler <WindowClosedEventArgs> closed, int width = 400)
        {
            DialogParameters dialogParameters = ConfirmationWindow.\u200B‎‪‬‌‏‌‪‍‏‬‌‫‬‏‌‪‭​​‌‮‬‪​‏‭‮();
            TextBlock        textBlock        = ConfirmationWindow.\u200D‎​‮‏‍‮‏‬‫‭‭‬‬‌‮‫‎‍‍‎‪‬‮‏‬‍‪‏‮();
            string           str1             = message;

            ConfirmationWindow.\u200F‬‎‏‬‪‪‬‍‪‭​‫‭‏‍‫‭‏‌‎‪‎‮‪‮(textBlock, str1);
            double num1 = (double)width;

            ConfirmationWindow.\u200D‬‭‫‏‮‭‭‭‮‪​‭‍‭‏‪‮‫‎‏‌‫​‏‪‪‮((FrameworkElement)textBlock, num1);
            int num2 = 2;

            ConfirmationWindow.\u206E‮‎‌‏‏‍‍‍‌‍‍‮‪‫​‪‏‌​‏‮(textBlock, (TextWrapping)num2);
            ConfirmationWindow.\u202E‎‮‎‍‬‎‭‎‬‫​‪‫‮‪​‫‫‪​‎​‭‮(dialogParameters, (object)textBlock);
            string str2 = \u003CModule\u003E.\u206B‎‏‎‮‌​‪‏‭‭‍‍‬‬‫‌‎‮‮‪‌‪‮ <string>(4108996109U);

            ConfirmationWindow.\u200B‏‬​‮‍‪‎‮‎‬‮‌‪‮‮‫‬‭‏‬‍‌‪‪‭‫‭‍‎‮(dialogParameters, (object)str2);
            string str3 = \u003CModule\u003E.\u200E‏‍‬‌‌‌‫‎‮‎‌‍‌‮‬‎‎‌‎‌‫‬‮‮ <string>(2654545477U);

            ConfirmationWindow.\u206F​‪‮‌‎‌‪​‫‪‭‌‮‭‮​‭‌‮‪‭‭‎‮‏‌‍‭‮(dialogParameters, (object)str3);
            EventHandler <WindowClosedEventArgs> eventHandler = closed;

            ConfirmationWindow.\u206A‎‬‎‮‭‪‌​‭‎‬‪‌‬‫‎‮‏‪‭‭​‭‪‮‭‍‫‪‮(dialogParameters, eventHandler);
            Window window = ConfirmationWindow.\u206C‍‏​‬‫‍‍‌‮‪‪‏‎​‎‮‌‏‫‪‎‍‎​‌‮‍‏‮(ConfirmationWindow.\u200D‌‪‬‍‌‮‪‏‏‎‏‭‏‫​‏‭‌‏‪‬‌‎‪‎‮());

            ConfirmationWindow.\u202D​‭‏‏​‌​‬‌‮​‪‏​‭‌‎‬‭‍‮​​‮‪‮(dialogParameters, (ContentControl)window);
            ConfirmationWindow.\u200B‎‫‮​‎‬‍‬‪‌‬‏‍‮‍‭‮‮‫‮‍‌‫‮‫​‪‍‮(dialogParameters);
label_1:
            int num3 = 547398914;

            while (true)
            {
                int  num4 = 228941397;
                uint num5;
                switch ((num5 = (uint)(num3 ^ num4)) % 3U)
                {
                case 0:
                    goto label_1;

                case 1:
                    num3 = (int)num5 * 752961306 ^ 1570273528;
                    continue;

                case 2:
                    goto label_3;

                default:
                    goto label_5;
                }
            }
label_5:
            return;

            label_3 :;
        }
예제 #2
0
        public static void Prompt(string message, EventHandler <WindowClosedEventArgs> closed, int width = 400)
        {
            label_1 :
            int num1 = -2027896472;

            while (true)
            {
                int  num2 = -225222726;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 3U)
                {
                case 0:
                    goto label_3;

                case 1:
                    DialogParameters dialogParameters = ConfirmationWindow.\u200B‎‪‬‌‏‌‪‍‏‬‌‫‬‏‌‪‭​​‌‮‬‪​‏‭‮();
                    TextBlock        textBlock        = ConfirmationWindow.\u200D‎​‮‏‍‮‏‬‫‭‭‬‬‌‮‫‎‍‍‎‪‬‮‏‬‍‪‏‮();
                    string           str1             = message;
                    ConfirmationWindow.\u200F‬‎‏‬‪‪‬‍‪‭​‫‭‏‍‫‭‏‌‎‪‎‮‪‮(textBlock, str1);
                    double num4 = (double)width;
                    ConfirmationWindow.\u200D‬‭‫‏‮‭‭‭‮‪​‭‍‭‏‪‮‫‎‏‌‫​‏‪‪‮((FrameworkElement)textBlock, num4);
                    int num5 = 2;
                    ConfirmationWindow.\u206E‮‎‌‏‏‍‍‍‌‍‍‮‪‫​‪‏‌​‏‮(textBlock, (TextWrapping)num5);
                    ConfirmationWindow.\u202E‎‮‎‍‬‎‭‎‬‫​‪‫‮‪​‫‫‪​‎​‭‮(dialogParameters, (object)textBlock);
                    string str2 = \u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(447670033U);
                    ConfirmationWindow.\u200B‏‬​‮‍‪‎‮‎‬‮‌‪‮‮‫‬‭‏‬‍‌‪‪‭‫‭‍‎‮(dialogParameters, (object)str2);
                    string str3 = \u003CModule\u003E.\u200E‏‍‬‌‌‌‫‎‮‎‌‍‌‮‬‎‎‌‎‌‫‬‮‮ <string>(2726924953U);
                    ConfirmationWindow.\u206F​‪‮‌‎‌‪​‫‪‭‌‮‭‮​‭‌‮‪‭‭‎‮‏‌‍‭‮(dialogParameters, (object)str3);
                    EventHandler <WindowClosedEventArgs> eventHandler = closed;
                    ConfirmationWindow.\u206A‎‬‎‮‭‪‌​‭‎‬‪‌‬‫‎‮‏‪‭‭​‭‪‮‭‍‫‪‮(dialogParameters, eventHandler);
                    Window window = ConfirmationWindow.\u206C‍‏​‬‫‍‍‌‮‪‪‏‎​‎‮‌‏‫‪‎‍‎​‌‮‍‏‮(ConfirmationWindow.\u200D‌‪‬‍‌‮‪‏‏‎‏‭‏‫​‏‭‌‏‪‬‌‎‪‎‮());
                    ConfirmationWindow.\u202D​‭‏‏​‌​‬‌‮​‪‏​‭‌‎‬‭‍‮​​‮‪‮(dialogParameters, (ContentControl)window);
                    ConfirmationWindow.\u206C‍‮‬​‬‪‎‮‏‬‍‫‮​​‬‌‌‬​‭‬‌‮(dialogParameters);
                    num1 = (int)num3 * -1726818930 ^ -889134255;
                    continue;

                case 2:
                    goto label_1;

                default:
                    goto label_5;
                }
            }
label_5:
            return;

            label_3 :;
        }