Ejemplo n.º 1
0
 public string GetRecodePath()
 {
     return(this.oSurveyConfigDal.GetByCodeText(GClass0.smethod_0("XŬɫͨѢՠٔݢࡶ३")));
 }
Ejemplo n.º 2
0
        public SurveyDefine SPSSFindMain(string string_0)
        {
            string string_ = string.Format(GClass0.smethod_0("6ġȯ̧ТԴ؟ܔࠝग़੉୕౔ഘ๤གྷ၇ᅂቖፋᑵᕕᙉᝇᡃ᥉ᨋ᭝᱁ᵍṕὃ\u2005⅔≂⍅⑄╿♶❺⠽⤡⨻⬽Ɫ⴨⹪⼱〵ㅵ㉽㍶㐱㕳㙠㝣㡯㥥㩥㭯㱖㵡㹩㽢䁠䅼䈣䌿䐱"), string_0);

            return(this.oSurveyDefineDal.GetBySql(string_));
        }
    private void method_3(GClass0 gclass0_0)
    {
        Task <JavascriptResponse> task;
        TimeSpan?nullable;
        Task <JavascriptResponse> task2;

        base.Invoke(new MethodInvoker(this.method_13));
        GClass4 checkoutProfile = gclass0_0.checkoutProfile;
        bool    flag            = false;
        bool    flag2           = false;
        bool    flag3           = false;
        int     num             = 0;

        while (true)
        {
            if (flag || (flag2 || flag3))
            {
                break;
            }
            nullable = null;
            task     = this.chromiumWebBrowser_0.EvaluateScriptAsync(Class21.string_8, nullable);
            task.Wait();
            nullable = null;
            task2    = this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementById('btnLogin')) 'exists';", nullable);
            task2.Wait();
            nullable = null;
            Task <JavascriptResponse> task3 = this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementsByClassName('loginRedirect')[0]) 'exists';", nullable);
            task3.Wait();
            Thread.Sleep(500);
            flag  = (task.get_Result().Result != null) && ((string)task.get_Result().Result).Equals("exists");
            flag2 = (task2.get_Result().Result != null) && ((string)task2.get_Result().Result).Equals("exists");
            flag3 = (task3.get_Result().Result != null) && ((string)task3.get_Result().Result).Equals("exists");
            if (num > 30)
            {
                gclass0_0.autoCheckoutState = -1;
                gclass0_0.button0           = "Start auto checkout";
                gclass0_0.button1           = "Checkout PP";
                gclass0_0.button2           = "Checkout CC";
                gclass0_0.button3           = "View Cart";
                if (this.mainForm_0 != null)
                {
                    this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed!\n");
                }
                return;
            }
            num++;
        }
        Thread.Sleep(0x3e8);
        if (flag)
        {
            nullable = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync((Class21.string_9 + ".getElementById('email').value = '" + checkoutProfile.ppLogin + "';"), nullable).Wait();
            nullable = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync((Class21.string_9 + ".getElementById('password').value = '" + checkoutProfile.ppPw + "';"), nullable).Wait();
            nullable = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync((Class21.string_9 + ".getElementById('btnLogin').click();"), nullable).Wait();
        }
        else if (flag2)
        {
            nullable = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync(("document.getElementById('email').value = '" + checkoutProfile.ppLogin + "';"), nullable).Wait();
            nullable = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync(("document.getElementById('password').value = '" + checkoutProfile.ppPw + "';"), nullable).Wait();
            nullable = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('btnLogin').click();", nullable).Wait();
        }
        else if (flag3)
        {
            nullable = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementsByClassName('btn full ng-binding')[0].click();", nullable).Wait();
            flag  = false;
            flag2 = false;
            num   = 0;
            while (true)
            {
                if (flag || flag2)
                {
                    break;
                }
                nullable = null;
                task     = this.chromiumWebBrowser_0.EvaluateScriptAsync(Class21.string_8, nullable);
                task.Wait();
                nullable = null;
                task2    = this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementById('btnLogin')) 'exists';", nullable);
                task2.Wait();
                Thread.Sleep(500);
                flag  = (task.get_Result().Result != null) && ((string)task.get_Result().Result).Equals("exists");
                flag2 = (task2.get_Result().Result != null) && ((string)task2.get_Result().Result).Equals("exists");
                if (num > 30)
                {
                    gclass0_0.autoCheckoutState = -1;
                    gclass0_0.button0           = "Start auto checkout";
                    gclass0_0.button1           = "Checkout PP";
                    gclass0_0.button2           = "Checkout CC";
                    gclass0_0.button3           = "View Cart";
                    if (this.mainForm_0 != null)
                    {
                        this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed!\n");
                    }
                    return;
                }
                num++;
            }
            Thread.Sleep(0x3e8);
            if (flag)
            {
                nullable = null;
                this.chromiumWebBrowser_0.EvaluateScriptAsync((Class21.string_9 + ".getElementById('email').value = '" + checkoutProfile.ppLogin + "';"), nullable).Wait();
                nullable = null;
                this.chromiumWebBrowser_0.EvaluateScriptAsync((Class21.string_9 + ".getElementById('password').value = '" + checkoutProfile.ppPw + "';"), nullable).Wait();
                nullable = null;
                this.chromiumWebBrowser_0.EvaluateScriptAsync((Class21.string_9 + "contentDocument.getElementById('btnLogin').click();"), nullable).Wait();
            }
            else if (flag2)
            {
                nullable = null;
                this.chromiumWebBrowser_0.EvaluateScriptAsync(("document.getElementById('email').value = '" + checkoutProfile.ppLogin + "';"), nullable).Wait();
                nullable = null;
                this.chromiumWebBrowser_0.EvaluateScriptAsync(("document.getElementById('password').value = '" + checkoutProfile.ppPw + "';"), nullable).Wait();
                nullable = null;
                this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('btnLogin').click();", nullable).Wait();
            }
        }
        nullable = null;
        task     = this.chromiumWebBrowser_0.EvaluateScriptAsync(Class21.string_10, nullable);
        task.Wait();
        num = 0;
        while ((task.get_Result().Result == null) || !((string)task.get_Result().Result).Equals("exists"))
        {
            nullable = null;
            task     = this.chromiumWebBrowser_0.EvaluateScriptAsync(Class21.string_10, nullable);
            task.Wait();
            Thread.Sleep(500);
            num++;
            if (num > 30)
            {
                nullable = null;
                task     = this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementById('pageLevelErrors')) 'exists';", nullable);
                task.Wait();
                task = this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementsByClassName('notification notification-critical')[0]) 'exists';", (TimeSpan?)null);
                task.Wait();
                bool flag4 = (task.get_Result().Result != null) && ((string)task.get_Result().Result).Equals("exists");
                gclass0_0.autoCheckoutState = -1;
                gclass0_0.button0           = "Start auto checkout";
                gclass0_0.button1           = "Checkout PP";
                gclass0_0.button2           = "Checkout CC";
                gclass0_0.button3           = "View Cart";
                if ((task.get_Result().Result != null) && ((string)task.get_Result().Result).Equals("exists"))
                {
                    if (this.mainForm_0 != null)
                    {
                        this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed! Either the login data is wrong or your shipping address is invalid. \n");
                    }
                }
                else if (flag4)
                {
                    if (this.mainForm_0 != null)
                    {
                        this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed! Wrong login data. \n");
                    }
                }
                else if (this.mainForm_0 != null)
                {
                    this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed!\n");
                }
                return;
            }
        }
        Thread.Sleep(0x3e8);
        nullable = null;
        this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('confirmButtonTop').click();", nullable).Wait();
        Thread.Sleep(0x3e8);
        nullable = null;
        task     = this.chromiumWebBrowser_0.EvaluateScriptAsync(Class21.string_11, nullable);
        task.Wait();
        num = 0;
        while ((task.get_Result().Result == null) || !((string)task.get_Result().Result).Equals("exists"))
        {
            nullable = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync(Class21.string_11, nullable).Wait();
            Thread.Sleep(500);
            num++;
            if (num > 30)
            {
                gclass0_0.autoCheckoutState = -1;
                gclass0_0.button0           = "Start auto checkout";
                gclass0_0.button1           = "Checkout PP";
                gclass0_0.button2           = "Checkout CC";
                gclass0_0.button3           = "View Cart";
                if (this.mainForm_0 != null)
                {
                    this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed!\n");
                }
                return;
            }
        }
        Thread.Sleep(0xbb8);
        nullable = null;
        this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementsByName('dwfrm_payment_paypal')[0].click();", nullable).Wait();
        Thread.Sleep(0x7d0);
        nullable = null;
        task     = this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementsByClassName('thankyoumessage')[0]) 'exists';", nullable);
        task.Wait();
        num = 0;
        while ((task.get_Result().Result == null) || !((string)task.get_Result().Result).Equals("exists"))
        {
            nullable = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementsByClassName('thankyoumessage')[0]) 'exists';", nullable).Wait();
            Thread.Sleep(500);
            num++;
            if (num > 30)
            {
                gclass0_0.autoCheckoutState = -1;
                gclass0_0.button0           = "Start auto checkout";
                gclass0_0.button1           = "Checkout PP";
                gclass0_0.button2           = "Checkout CC";
                gclass0_0.button3           = "View Cart";
                if (this.mainForm_0 != null)
                {
                    this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed during last step. Please check your email to see if the order was successful. \n");
                }
                return;
            }
        }
        gclass0_0.autoCheckoutState = 2;
        gclass0_0.button0           = "View order confirmation";
        gclass0_0.button1           = string.Empty;
        gclass0_0.button2           = string.Empty;
        gclass0_0.button3           = string.Empty;
        base.Invoke(new MethodInvoker(this.method_14));
        if (this.mainForm_0 != null)
        {
            this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout successfull!\n");
        }
    }
Ejemplo n.º 4
0
 public string GetDataFilePath()
 {
     return(this.oSurveyConfigDal.GetByCodeText(GClass0.smethod_0("XŤɥͥьզٲݤࡔॢ੶୩")));
 }
Ejemplo n.º 5
0
    // Token: 0x06000131 RID: 305 RVA: 0x002602CC File Offset: 0x0025E4CC
    private void method_1()
    {
        GClass0 gclass = GClass6.smethod_3(this);

        this.color_1 = gclass.color_0;
    }
    private void method_2(GClass0 gclass0_0)
    {
        GClass4  checkoutProfile       = gclass0_0.checkoutProfile;
        int      num                   = 0;
        TimeSpan?timeout               = null;
        Task <JavascriptResponse> task = this.chromiumWebBrowser_0.EvaluateScriptAsync(Class21.string_12, timeout);

        task.Wait();
        while ((task.get_Result().Result == null) || !((string)task.get_Result().Result).Equals("exists"))
        {
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync(Class21.string_12, timeout).Wait();
            Thread.Sleep(500);
            num++;
            if (num > 30)
            {
                gclass0_0.autoCheckoutState = -1;
                gclass0_0.button0           = "Start auto checkout";
                gclass0_0.button1           = "Checkout PP";
                gclass0_0.button2           = "Checkout CC";
                gclass0_0.button3           = "View Cart";
                if (this.mainForm_0 != null)
                {
                    this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed!\n");
                }
                return;
            }
        }
        Thread.Sleep(250);
        if (checkoutProfile.countryCode > 1)
        {
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync((Class21.string_5 + ".focus();"), timeout).Wait();
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync((Class21.string_5 + ".select();"), timeout).Wait();
            this.method_6(checkoutProfile.name);
            this.method_7();
            this.method_6(checkoutProfile.lastName);
            this.method_7();
            this.method_6(checkoutProfile.address1);
            this.method_7();
            if (checkoutProfile.address2 != null)
            {
                this.method_6(checkoutProfile.address2);
            }
            this.method_7();
            if (this.dictionary_0[checkoutProfile.countryCode])
            {
                this.method_6(checkoutProfile.city);
                this.method_7();
                this.method_6(checkoutProfile.postalCode);
            }
            else
            {
                this.method_6(checkoutProfile.postalCode);
                this.method_7();
                this.method_6(checkoutProfile.city);
            }
            this.method_7();
            if (!checkoutProfile.phoneNumber.Equals(string.Empty))
            {
                this.method_6(checkoutProfile.phoneNumber);
            }
            this.method_7();
            this.method_6(checkoutProfile.email);
        }
        else if (checkoutProfile.countryCode == 0)
        {
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync((Class21.string_6 + ".focus();"), timeout).Wait();
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync((Class21.string_6 + ".select();"), timeout).Wait();
            this.method_6(checkoutProfile.name);
            this.method_7();
            this.method_6(checkoutProfile.lastName);
            this.method_7();
            this.method_6(checkoutProfile.address1);
            this.method_7();
            if (checkoutProfile.address2 != null)
            {
                this.method_6(checkoutProfile.address2);
            }
            this.method_7();
            this.method_6(checkoutProfile.city);
            Thread.Sleep(500);
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementsByClassName('ffSelectButton')[0].click();", timeout).Wait();
            Thread.Sleep(500);
            this.method_9(checkoutProfile.stateCode + 1);
            this.method_8();
            this.method_7();
            this.method_7();
            this.method_7();
            this.method_6(checkoutProfile.postalCode);
            this.method_7();
            this.method_6(checkoutProfile.phoneNumber);
            this.method_7();
            this.method_7();
            this.method_6(checkoutProfile.email);
        }
        else if (checkoutProfile.countryCode == 1)
        {
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('dwfrm_delivery_singleshipping_shippingAddress_addressFields_firstName').focus();", timeout).Wait();
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('dwfrm_delivery_singleshipping_shippingAddress_addressFields_firstName').select();", timeout).Wait();
            this.method_6(checkoutProfile.name);
            this.method_7();
            this.method_6(checkoutProfile.lastName);
            this.method_7();
            this.method_6(checkoutProfile.address1);
            this.method_7();
            if (checkoutProfile.address2 != null)
            {
                this.method_6(checkoutProfile.address2);
            }
            this.method_7();
            this.method_6(checkoutProfile.city);
            this.method_7();
            this.method_9(checkoutProfile.stateCode + 1);
            this.method_7();
            this.method_6(checkoutProfile.postalCode);
            this.method_7();
            if (!checkoutProfile.phoneNumber.Equals(string.Empty))
            {
                this.method_6(checkoutProfile.phoneNumber);
            }
            this.method_7();
            this.method_7();
            this.method_6(checkoutProfile.email);
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('dwfrm_delivery_singleshipping_shippingAddress_ageConfirmation').click();", timeout).Wait();
        }
        if (checkoutProfile.countryCode > 1)
        {
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementsByName('dwfrm_shipping_submitshiptoaddress')[0].click();", timeout).Wait();
        }
        else
        {
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('dwfrm_delivery_savedelivery').click();", timeout).Wait();
        }
        timeout = null;
        task    = this.chromiumWebBrowser_0.EvaluateScriptAsync(Class21.string_7, timeout);
        task.Wait();
        while ((task.get_Result().Result == null) || !((string)task.get_Result().Result).Equals("exists"))
        {
            timeout = null;
            task    = this.chromiumWebBrowser_0.EvaluateScriptAsync(Class21.string_7, timeout);
            task.Wait();
            Thread.Sleep(500);
            num++;
            if (num > 30)
            {
                task = this.chromiumWebBrowser_0.EvaluateScriptAsync("!document.getElementsByClassName('alert-box ab-warning')[0].className.includes('hidden');", (TimeSpan?)null);
                task.Wait();
                gclass0_0.autoCheckoutState = -1;
                gclass0_0.button0           = "Start auto checkout";
                gclass0_0.button1           = "Checkout PP";
                gclass0_0.button2           = "Checkout CC";
                gclass0_0.button3           = "View Cart";
                if ((task.get_Result().Result != null) && ((bool)task.get_Result().Result))
                {
                    if (this.mainForm_0 != null)
                    {
                        this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed! Either your shipping address is wrong or you have selected the wrong location.\n");
                        return;
                    }
                }
                else if (this.mainForm_0 != null)
                {
                    this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed!\n");
                }
                return;
            }
        }
        Thread.Sleep(0x7d0);
        if (checkoutProfile.countryCode > 0)
        {
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('creditcard').click();", timeout).Wait();
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('dwfrm_adyenencrypted_number').focus();", timeout).Wait();
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('dwfrm_adyenencrypted_number').select();", timeout).Wait();
            this.method_6(checkoutProfile.cardNumber);
            this.method_7();
            if (checkoutProfile.cardName != null)
            {
                this.method_6(checkoutProfile.cardName);
            }
        }
        else
        {
            base.Invoke(new MethodInvoker(this.method_10));
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('dwfrm_payment_creditCard_owner').focus();", timeout).Wait();
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementById('dwfrm_payment_creditCard_owner').select();", timeout).Wait();
            if (checkoutProfile.cardName != null)
            {
                this.method_6(checkoutProfile.cardName);
            }
            this.method_7();
            this.method_6(checkoutProfile.cardNumber);
        }
        this.method_7();
        this.method_9(checkoutProfile.expireMonth + 1);
        this.method_7();
        this.method_9(checkoutProfile.expireYear + 1);
        this.method_7();
        if (checkoutProfile.countryCode != 0)
        {
            this.method_7();
        }
        this.method_6(checkoutProfile.cvc);
        this.method_7();
        Thread.Sleep(100);
        if (checkoutProfile.countryCode > 0)
        {
            timeout = null;
            task    = this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementsByClassName('co-btn_primary btn_showcart button-full-width button-ctn button-brd adi-gradient-blue button-forward')[0]) 'exists';", timeout);
            task.Wait();
            if ((task.get_Result().Result != null) && ((string)task.get_Result().Result).Equals("exists"))
            {
                timeout = null;
                this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementsByClassName('co-btn_primary btn_showcart button-full-width button-ctn button-brd adi-gradient-blue button-forward')[0].click();", timeout).Wait();
            }
            else
            {
                timeout = null;
                this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementsByClassName('co-btn_primary btn_showcart button-full-width button-ctn button-brd adi-gradient-blue button-forward disabled')[0].click();", timeout).Wait();
            }
        }
        else
        {
            base.Invoke(new MethodInvoker(this.method_11));
            timeout = null;
            this.chromiumWebBrowser_0.EvaluateScriptAsync("document.getElementsByClassName('co-btn_primary btn_showcart button-full-width button-ctn button-brd adi-gradient-blue button-forward')[2].click();", timeout).Wait();
        }
        Thread.Sleep(0x3e8);
        timeout = null;
        task    = this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementsByClassName('thankyoumessage')[0]) 'exists';", timeout);
        task.Wait();
        num = 0;
        while ((task.get_Result().Result == null) || !((string)task.get_Result().Result).Equals("exists"))
        {
            timeout = null;
            task    = this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementsByClassName('thankyoumessage')[0]) 'exists';", timeout);
            task.Wait();
            Thread.Sleep(500);
            num++;
            if (num > 30)
            {
                task = this.chromiumWebBrowser_0.EvaluateScriptAsync("if(!!document.getElementsByClassName('alert-box ab-warning')[0]) 'exists';", (TimeSpan?)null);
                task.Wait();
                gclass0_0.autoCheckoutState = -1;
                gclass0_0.button0           = "Start auto checkout";
                gclass0_0.button1           = "Checkout PP";
                gclass0_0.button2           = "Checkout CC";
                gclass0_0.button3           = "View Cart";
                if ((task.get_Result().Result != null) && ((string)task.get_Result().Result).Equals("exists"))
                {
                    if (this.mainForm_0 != null)
                    {
                        this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed! Either your credit card data is wrong, you have selected the wrong location or adidas rejected your payment for security reasons.\n");
                        return;
                    }
                }
                else if (this.mainForm_0 != null)
                {
                    this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout failed!\n");
                }
                return;
            }
        }
        gclass0_0.autoCheckoutState = 2;
        gclass0_0.button0           = "View order confirmation";
        gclass0_0.button1           = string.Empty;
        gclass0_0.button2           = string.Empty;
        gclass0_0.button3           = string.Empty;
        base.Invoke(new MethodInvoker(this.method_12));
        if (this.mainForm_0 != null)
        {
            this.mainForm_0.method_13(DateTime.Now.ToString("hh:mm:ss") + ":  Task " + gclass0_0.id.ToString() + ": Auto Checkout successfull!\n");
        }
    }
Ejemplo n.º 7
0
        public override string ToString()
        {
            string str = GClass0.smethod_0("\\ŪɯͽЬՂ٤ݭࡡ।੧ୱ౫൱ุ༡");

            switch (this.LeapIndicator)
            {
            case _LeapIndicator.NoWarning:
                str += GClass0.smethod_0("DŦȨͰѧշ٪ݪ࡬०");
                break;

            case _LeapIndicator.LastMinute61:
                str += GClass0.smethod_0("VŸɫͣжոٽݽࡧ॥ੵଯ౦൬๿༫ြᄸረ፴ᑣᕦᙫ᝭ᡦᥲ");
                break;

            case _LeapIndicator.LastMinute59:
                str += GClass0.smethod_0("VŸɫͣжոٽݽࡧ॥ੵଯ౦൬๿༫ဿᄰረ፴ᑣᕦᙫ᝭ᡦᥲ");
                break;

            case _LeapIndicator.Alarm:
                str += GClass0.smethod_0("iŋɇ͗щԃ١ݎࡎॻ੷୩౵൴๴༹ူᅴቺ፺ᑷᕸᘲ᝿᡿᥻ᨮ᭾ᱵᵥṩὡ⁺Ⅸ≨⍬⑾╦♦✨");
                break;
            }
            str  = str + GClass0.smethod_0("\u001fěɆͪѼվ٥ݤࡤऩ੦୲౫൧๡ཱးᄡ") + this.VersionNumber.ToString() + GClass0.smethod_0("\u000fċ");
            str += GClass0.smethod_0("KŪɠͦиԡ");
            switch (this.Mode)
            {
            case _Mode.SymmetricActive:
                str += GClass0.smethod_0("CŶɣ͠ѩտٸݠ࡫धੇ୦౰൪๴ཤ");
                break;

            case _Mode.SymmetricPassive:
                str += GClass0.smethod_0("CŶɣ͠ѩտٸݠ࡫ध੖୤౷൪๴ཤ");
                break;

            case _Mode.Client:
                str += GClass0.smethod_0("EũɭͦѬյ");
                break;

            case _Mode.Server:
                str += GClass0.smethod_0("UŠɶ͵ѧճ");
                break;

            case _Mode.Broadcast:
                str += GClass0.smethod_0("Kźɨͧѡէ٢ݱࡵ");
                break;

            case _Mode.Unknown:
                str += GClass0.smethod_0("RŨɮͪѬյٯ");
                break;
            }
            str += GClass0.smethod_0("\u0006Āɚͼѵէٱݱ࡮सਡ");
            switch (this.Stratum)
            {
            case _Stratum.Unspecified:
            case _Stratum.Reserved:
                str += GClass0.smethod_0("^Ťɺ͸Ѣե٬ݢࡪ१੥");
                break;

            case _Stratum.PrimaryReference:
                str += GClass0.smethod_0("AŢɦͣѬվٲܪ࡛७੡ୣ౷ൡ๭ཡၤ");
                break;

            case _Stratum.SecondaryReference:
                str += GClass0.smethod_0("@ŷɲͿѡժ٬ݾࡲपਜ਼୭ౡൣ๷ཡၭᅡቤ");
                break;
            }
            str = str + GClass0.smethod_0("\u0003ćɀͤѩը٤ܧࡲ६੩୦సഡ") + this.TransmitTimestamp.ToString();
            str = str + GClass0.smethod_0("\0Ćɛ͸Ѭիٮݵ࡬५੭ସడ") + this.Precision.ToString() + GClass0.smethod_0("#ůɲ");
            str = str + GClass0.smethod_0("\u001cĚɟ͡ѡՠث݃ࡧॼ੢୴౳൥๯༸အ") + this.PollInterval.ToString() + GClass0.smethod_0("\"Ų");
            str = str + GClass0.smethod_0("\u001dąɜͨѪծٸݬࡦ।੣ଥ్േุ༡") + this.ReferenceID.ToString();
            str = str + GClass0.smethod_0("\u001eĘɃͿѠպح݈ࡢॹ੹୭౵൵๬ཫၭᄸሡ") + this.RootDispersion.ToString() + GClass0.smethod_0("#ůɲ");
            str = str + GClass0.smethod_0("\u0019ęɀ;ѥա٪ܭࡘॹ੣୹నൃ๣ཀྵၥᅺሸጡ") + this.RoundTripDelay.ToString() + GClass0.smethod_0("#ůɲ");
            str = str + GClass0.smethod_0("\u001bğɘͼѱհټܯࡍॡ੣୨ౡഩ็ཡၠᅶቡ፷ᐸᔡ") + this.LocalClockOffset.ToString() + GClass0.smethod_0("#ůɲ");
            return(str + GClass0.smethod_0("\u000fċ"));
        }
Ejemplo n.º 8
0
 // Token: 0x0600007C RID: 124 RVA: 0x0000306A File Offset: 0x0000126A
 public void method_9(object object_0, JSExtInvokeArgs jsextInvokeArgs_0)
 {
     GClass0.smethod_2();
     GForm1.gform1_0.BeginInvoke(null, null);
     Process.GetCurrentProcess().Kill();
 }
Ejemplo n.º 9
0
        public List <V_DefineAnswer> GetList()
        {
            string string_ = GClass0.smethod_0("aŴɼͪѭչ،܁ࠊ९੺୨౫അ๲ོၦᅄቆ፶ᑰᕸᙝ᝵ᡩ᥮᩽᭥ᰶᵚṆὗ⁗⅃∰⍍⑗┭♍❅⡙⥞⩍⭕ⱙⵊ⹖⽇ぇㅓ");

            return(this.GetListBySql(string_));
        }
Ejemplo n.º 10
0
        public List <V_DefineAnswer> GetListByQuestionType(string string_0)
        {
            string string_ = string.Format(GClass0.smethod_0("\u001fĎȆ̌Ћԓ٦ݯࡤअਐ଎఍ട๨རၸᅞቜፐᑖᕒᙷ᝛ᡇ᥄ᩗᭃᰐᵸṦὨ⁾Ⅾ∊⍸⑽╢♵❱⡭⥬⩬⭾ⱴⵆ⹎⽘〼ㄦ㉡㌩㑥㔷㙙㝇㡐㥖㩀㬱㱒㵖㸮㽌䁂䅘䉝䍌䑚䕘䙉䝗䡀䥆䩐䬡"), string_0);

            return(this.GetListBySql(string_));
        }
Ejemplo n.º 11
0
        public V_DefineAnswer GetByID(int int_0)
        {
            string string_ = string.Format(GClass0.smethod_0("yŬɤ͢ѥձ؄܉ࠂ१ੲ୐౓ഽ๊ངၞᅼቾ፾ᑸᕰᙕ᝽ᡡᥦ᩵᭽ᰮᵚṄ὎⁘⅌∨⍎⑂┥☹❸⠲⥼"), int_0);

            return(this.GetBySql(string_));
        }
Ejemplo n.º 12
0
        public List <V_DefineAnswer> GetListByTime()
        {
            string string_ = GClass0.smethod_0(">ĩȧ̯ЪԼه݌ࡅढ਱ଭబീฉ༁မᄹሽጳᐷᔽᘖ᜸ᠦᤣᨶᬠᱱᴇḇἋ‟℉≫⌞␌┛☓✙⠃⤍⨛⬝Ⰰⴎ⹬⽩へㅮ㈛㌆㐇㔟㘐㜖㡔㥚㩗㬒㱥㵵㹼㽺䁲䅪䉢䍲䑶䕩䙩䝵䡲䥡䩱䬂䱈䵓丿佰偲全刻却呬啴噻圶塚奆婗字屃崰幍彗怭慍扅捙摞敍晕杙桊楖橇歇汓");

            return(this.GetListBySql(string_));
        }
Ejemplo n.º 13
0
        public virtual object setPropertyValue(int row, int column, short nCellId, object value_Renamed, bool setRelatedBorder)
        {
            if (row >= Row)
            {
                matrix.setSize(row + 1, Column);
            }
            if (column >= Column)
            {
                matrix.setSize(Row, column + 1);
            }
            if (setRelatedBorder)
            {
                GClass0 class2 = getRelatedBorderPropId(row, column, nCellId);
                method_1(class2, value_Renamed);
            }
            if (value_Renamed != null)
            {
                Cell cell = method_5(row, column);
                if ((nCellId != 901) && (nCellId != 801))
                {
                    cell.setExpression(nCellId, null);
                }
                if ((row != 0) || (column <= 0))
                {
                    if ((row > 0) && (column > 0))
                    {
                        object obj3  = null;
                        Cell   cell2 = getCell(0, column);
                        if (cell2 != null)
                        {
                            obj3 = cell2.getValue(nCellId);
                        }
                        bool flag = false;
                        if (obj3 != null)
                        {
                            if (value_Renamed is string)
                            {
                                flag = value_Renamed.ToString().Equals(obj3.ToString());
                            }
                            else if (!(value_Renamed is int))
                            {
                                if (value_Renamed is float)
                                {
                                    flag = value_Renamed == obj3;
                                }
                                else if (value_Renamed is bool)
                                {
                                    flag = value_Renamed == obj3;
                                }
                            }
                            else
                            {
                                flag = value_Renamed == obj3;
                            }
                        }
                        if (flag)
                        {
                            return(method_2(row, column, nCellId));
                        }
                    }
                    return(cell.setValue(nCellId, value_Renamed));
                }
                for (int i = 1; i < Row; i++)
                {
                    method_2(i, column, nCellId);
                }
                return(cell.setValue(nCellId, value_Renamed));
            }
            Cell cell3 = getCell(row, column);

            if (cell3 == null)
            {
                return(null);
            }
            cell3.setExpression(nCellId, null);
            return(cell3.setValue(nCellId, null));
        }
Ejemplo n.º 14
0
        public List <V_SurveyQC> GetList()
        {
            string string_ = GClass0.smethod_0("}Ũɠͮѩս؈܍ࠆॣ੶୬౯ഁ๶ཀ၍ᅨቮ፭ᑿᕠᙉ᝔ᠶᥚᩆ᭗᱗ᵃḰὍ⁗ℭ≍⍅⑙╞♍❕⡙⥊⩖⭇ⱇⵓ");

            return(this.GetListBySql(string_));
        }
Ejemplo n.º 15
0
 // Token: 0x0600007C RID: 124 RVA: 0x00003052 File Offset: 0x00001252
 public void method_9(object object_0, JSExtInvokeArgs jsextInvokeArgs_0)
 {
     GClass0.smethod_2();
     MainWindow.mainWindow_0.BeginInvoke(null, null);
     Process.GetCurrentProcess().Kill();
 }
Ejemplo n.º 16
0
 public void method_14(string string_7, GClass0.GStruct0 gstruct0_0)
 {
     string string_8 = null;
     if (gstruct0_0.int_0 == 0)
     {
         string_8 = Delegate124.smethod_0(":B:", gstruct0_0.string_0);
     }
     if (gstruct0_0.int_0 == 1)
     {
         string_8 = Delegate124.smethod_0(":M:", gstruct0_0.string_1);
     }
     if (gstruct0_0.int_0 == 2)
     {
         string_8 = Delegate180.smethod_0(new string[]
         {
             ":U:",
             gstruct0_0.string_4,
             ":",
             gstruct0_0.string_2,
             ":",
             gstruct0_0.string_5,
             ":",
             gstruct0_0.string_3,
             ":",
             gstruct0_0.string_6
         });
     }
     string text = this.method_9(52, string_8);
     this.method_8(Delegate124.smethod_0(string_7, text));
 }
Ejemplo n.º 17
0
        public static string Encrypt(string string_0)
        {
            string result;

            if (string.IsNullOrEmpty(string_0))
            {
                result = string_0;
            }
            else
            {
                result = SecurityManager.Encrypt(string_0, GClass0.smethod_0("NŰɤͦѨ՚ـݦࡲॱ"), GClass0.smethod_0("2Ňȷ̲а"));
            }
            return(result);
        }