예제 #1
0
 // Token: 0x060005F2 RID: 1522 RVA: 0x000353F0 File Offset: 0x000335F0
 internal void method_0()
 {
     GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537714943));
     for (int i = 0; i < 5; i++)
     {
         GForm3.smethod_11(GClass0.string_2, false, true);
         if (GForm3.dateTime_0 > Class173.dateTime_0)
         {
             GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537714806));
             Class68.smethod_1();
             return;
         }
         Thread.Sleep(3000);
     }
     GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537716720));
 }
예제 #2
0
    // Token: 0x06000202 RID: 514 RVA: 0x0001328C File Offset: 0x0001148C
    private async void bunifuFlatButton_0_Click(object sender, EventArgs e)
    {
        this.bunifuFlatButton_0.ButtonText = Class185.smethod_0(537708238);
        string text = await GForm3.smethod_11(this.bunifuMetroTextbox_0.Text, true, false);

        if (text == Class185.smethod_0(537706979))
        {
            GClass0.string_2 = this.bunifuMetroTextbox_0.Text;
            GClass0.smethod_2();
            this.bunifuMetroTextbox_0.BorderColorFocused    = Color.Green;
            this.bunifuMetroTextbox_0.BorderColorIdle       = Color.Green;
            this.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Green;
            this.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708276);
            this.bunifuCustomLabel_0.ForeColor = Color.Green;
            this.method_1();
            new GForm5(true, text);
        }
        else if (text == Class185.smethod_0(537708475))
        {
            this.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
            this.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708037);
            this.bunifuCustomLabel_0.ForeColor = Color.Red;
        }
        else if (text == Class185.smethod_0(537708458))
        {
            this.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
            this.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708148);
            this.bunifuCustomLabel_0.ForeColor = Color.Red;
        }
        else if (text == Class185.smethod_0(537710733))
        {
            this.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
            this.bunifuCustomLabel_0.Text      = Class185.smethod_0(537707929);
            this.bunifuCustomLabel_0.ForeColor = Color.Red;
        }
        this.bunifuFlatButton_0.ButtonText = Class185.smethod_0(537707996);
    }
예제 #3
0
        // Token: 0x0600020C RID: 524 RVA: 0x00014618 File Offset: 0x00012818
        void IAsyncStateMachine.MoveNext()
        {
            int    num2;
            int    num   = num2;
            GForm3 gform = this;

            try
            {
                TaskAwaiter <string> taskAwaiter;
                if (num != 0)
                {
                    gform.bunifuFlatButton_0.ButtonText = Class185.smethod_0(537708238);
                    taskAwaiter = GForm3.smethod_11(gform.bunifuMetroTextbox_0.Text, true, false).GetAwaiter();
                    if (!taskAwaiter.IsCompleted)
                    {
                        num2 = 0;
                        TaskAwaiter <string> taskAwaiter2 = taskAwaiter;
                        this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <string>, GForm3.Struct6>(ref taskAwaiter, ref this);
                        return;
                    }
                }
                else
                {
                    TaskAwaiter <string> taskAwaiter2;
                    taskAwaiter  = taskAwaiter2;
                    taskAwaiter2 = default(TaskAwaiter <string>);
                    num2         = -1;
                }
                string result = taskAwaiter.GetResult();
                if (result == Class185.smethod_0(537706979))
                {
                    GClass0.string_2 = gform.bunifuMetroTextbox_0.Text;
                    GClass0.smethod_2();
                    gform.bunifuMetroTextbox_0.BorderColorFocused    = Color.Green;
                    gform.bunifuMetroTextbox_0.BorderColorIdle       = Color.Green;
                    gform.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Green;
                    gform.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708276);
                    gform.bunifuCustomLabel_0.ForeColor = Color.Green;
                    gform.method_1();
                    new GForm5(true, result);
                }
                else if (result == Class185.smethod_0(537708475))
                {
                    gform.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
                    gform.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708037);
                    gform.bunifuCustomLabel_0.ForeColor = Color.Red;
                }
                else if (result == Class185.smethod_0(537708458))
                {
                    gform.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
                    gform.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708148);
                    gform.bunifuCustomLabel_0.ForeColor = Color.Red;
                }
                else if (result == Class185.smethod_0(537710733))
                {
                    gform.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
                    gform.bunifuCustomLabel_0.Text      = Class185.smethod_0(537707929);
                    gform.bunifuCustomLabel_0.ForeColor = Color.Red;
                }
                gform.bunifuFlatButton_0.ButtonText = Class185.smethod_0(537707996);
            }
            catch (Exception exception)
            {
                num2 = -2;
                this.asyncVoidMethodBuilder_0.SetException(exception);
                return;
            }
            num2 = -2;
            this.asyncVoidMethodBuilder_0.SetResult();
        }
예제 #4
0
        // Token: 0x0600020A RID: 522 RVA: 0x000143C4 File Offset: 0x000125C4
        void IAsyncStateMachine.MoveNext()
        {
            int num = this.int_0;

            try
            {
                for (;;)
                {
                    try
                    {
                        TaskAwaiter          awaiter;
                        TaskAwaiter <string> awaiter2;
                        switch (num)
                        {
                        case 0:
                        {
                            awaiter            = this.taskAwaiter_0;
                            this.taskAwaiter_0 = default(TaskAwaiter);
                            int num2 = -1;
                            num        = -1;
                            this.int_0 = num2;
                            break;
                        }

                        case 1:
                        {
                            awaiter2           = this.taskAwaiter_1;
                            this.taskAwaiter_1 = default(TaskAwaiter <string>);
                            int num3 = -1;
                            num        = -1;
                            this.int_0 = num3;
                            goto IL_D9;
                        }

                        case 2:
                        {
                            awaiter            = this.taskAwaiter_0;
                            this.taskAwaiter_0 = default(TaskAwaiter);
                            int num4 = -1;
                            num        = -1;
                            this.int_0 = num4;
                            goto IL_19A;
                        }

                        default:
                            awaiter = Task.Delay(GForm3.int_0 * 1000).GetAwaiter();
                            if (!awaiter.IsCompleted)
                            {
                                int num5 = 0;
                                num                = 0;
                                this.int_0         = num5;
                                this.taskAwaiter_0 = awaiter;
                                this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter, GForm3.Struct5>(ref awaiter, ref this);
                                return;
                            }
                            break;
                        }
                        awaiter.GetResult();
                        awaiter2 = GForm3.smethod_11(GClass0.string_2, false, true).GetAwaiter();
                        if (!awaiter2.IsCompleted)
                        {
                            int num6 = 1;
                            num                = 1;
                            this.int_0         = num6;
                            this.taskAwaiter_1 = awaiter2;
                            this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <string>, GForm3.Struct5>(ref awaiter2, ref this);
                            break;
                        }
IL_D9:
                        string result = awaiter2.GetResult();
                        if (!(result != Class185.smethod_0(537706979)) || !(result != Class185.smethod_0(537710733)))
                        {
                            continue;
                        }
                        this.int_1 = 5;
                        this.int_2 = 0;
IL_139:
                        if (this.int_1 <= this.int_2)
                        {
                            GClass0.string_2 = null;
                            GClass0.smethod_2();
                            GForm1.gform1_0.method_9(null, null);
                            continue;
                        }
                        GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537708504) + (this.int_1 - this.int_2).ToString() + Class185.smethod_0(537708322));
                        awaiter = Task.Delay(1000).GetAwaiter();
                        if (!awaiter.IsCompleted)
                        {
                            int num7 = 2;
                            num                = 2;
                            this.int_0         = num7;
                            this.taskAwaiter_0 = awaiter;
                            this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter, GForm3.Struct5>(ref awaiter, ref this);
                            break;
                        }
IL_19A:
                        awaiter.GetResult();
                        int num8 = this.int_2;
                        this.int_2 = num8 + 1;
                        goto IL_139;
                    }
                    catch
                    {
                    }
                }
            }
            catch (Exception exception)
            {
                this.int_0 = -2;
                this.asyncVoidMethodBuilder_0.SetException(exception);
            }
        }
예제 #5
0
        // Token: 0x06000522 RID: 1314 RVA: 0x0002BE5C File Offset: 0x0002A05C
        void IAsyncStateMachine.MoveNext()
        {
            int    num2;
            int    num   = num2;
            GForm5 gform = this;

            try
            {
                for (;;)
                {
                    try
                    {
                        string a;
                        TaskAwaiter <string> taskAwaiter3;
                        if (num != 0)
                        {
                            if (gform.string_1 != null)
                            {
                                a = gform.string_1;
                                goto IL_E7;
                            }
                            if (GClass0.string_2 == null || GClass0.string_2.Length <= 5)
                            {
                                gform.method_5(Class185.smethod_0(537721779), Class185.smethod_0(537721735));
                                a = Class185.smethod_0(537721762);
                                goto IL_E7;
                            }
                            gform.method_5(Class185.smethod_0(537721754), Class185.smethod_0(537721735));
                            taskAwaiter3 = GForm3.smethod_11(GClass0.string_2, true, false).GetAwaiter();
                            if (!taskAwaiter3.IsCompleted)
                            {
                                int num3 = 0;
                                num          = 0;
                                num2         = num3;
                                taskAwaiter2 = taskAwaiter3;
                                this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <string>, GForm5.Struct41>(ref taskAwaiter3, ref this);
                                return;
                            }
                        }
                        else
                        {
                            taskAwaiter3 = taskAwaiter2;
                            taskAwaiter2 = default(TaskAwaiter <string>);
                            int num4 = -1;
                            num  = -1;
                            num2 = num4;
                        }
                        a = taskAwaiter3.GetResult();
IL_E7:
                        if (a == Class185.smethod_0(537706979))
                        {
                            gform.method_6();
                            Thread.Sleep(500);
                            gform.method_5(string.Format(Class185.smethod_0(537721821), GForm3.string_0.Split(new char[]
                            {
                                '#'
                            })[0]), Class185.smethod_0(537721735));
                            GForm1.smethod_0(new EventHandler(gform.method_3));
                            new GForm1().Show();
                        }
                        else
                        {
                            if (a == Class185.smethod_0(537710733))
                            {
                                for (int i = 10; i > 0; i--)
                                {
                                    gform.method_5(string.Format(Class185.smethod_0(537721796), i), Class185.smethod_0(537721735));
                                    Thread.Sleep(1000);
                                }
                                continue;
                            }
                            GForm3.smethod_0(new EventHandler(gform.method_3));
                            new GForm3();
                        }
                    }
                    catch
                    {
                        for (int j = 10; j > 0; j--)
                        {
                            gform.method_5(string.Format(Class185.smethod_0(537721796), j), Class185.smethod_0(537721735));
                            Thread.Sleep(1000);
                        }
                        continue;
                    }
                    break;
                }
            }
            catch (Exception exception)
            {
                num2 = -2;
                this.asyncVoidMethodBuilder_0.SetException(exception);
                return;
            }
            num2 = -2;
            this.asyncVoidMethodBuilder_0.SetResult();
        }
예제 #6
0
 // Token: 0x0600051D RID: 1309 RVA: 0x0002BD14 File Offset: 0x00029F14
 public async void method_7(object sender, EventArgs e)
 {
     for (;;)
     {
         try
         {
             string a;
             if (this.string_1 == null)
             {
                 if (GClass0.string_2 != null && GClass0.string_2.Length > 5)
                 {
                     this.method_5(Class185.smethod_0(537721754), Class185.smethod_0(537721735));
                     TaskAwaiter <string> taskAwaiter = GForm3.smethod_11(GClass0.string_2, true, false).GetAwaiter();
                     if (!taskAwaiter.IsCompleted)
                     {
                         await taskAwaiter;
                         TaskAwaiter <string> taskAwaiter2;
                         taskAwaiter  = taskAwaiter2;
                         taskAwaiter2 = default(TaskAwaiter <string>);
                     }
                     a = taskAwaiter.GetResult();
                 }
                 else
                 {
                     this.method_5(Class185.smethod_0(537721779), Class185.smethod_0(537721735));
                     a = Class185.smethod_0(537721762);
                 }
             }
             else
             {
                 a = this.string_1;
             }
             if (a == Class185.smethod_0(537706979))
             {
                 this.method_6();
                 Thread.Sleep(500);
                 this.method_5(string.Format(Class185.smethod_0(537721821), GForm3.string_0.Split(new char[]
                 {
                     '#'
                 })[0]), Class185.smethod_0(537721735));
                 GForm1.smethod_0(new EventHandler(this.method_3));
                 new GForm1().Show();
             }
             else
             {
                 if (a == Class185.smethod_0(537710733))
                 {
                     for (int i = 10; i > 0; i--)
                     {
                         this.method_5(string.Format(Class185.smethod_0(537721796), i), Class185.smethod_0(537721735));
                         Thread.Sleep(1000);
                     }
                     continue;
                 }
                 GForm3.smethod_0(new EventHandler(this.method_3));
                 new GForm3();
             }
         }
         catch
         {
             for (int j = 10; j > 0; j--)
             {
                 this.method_5(string.Format(Class185.smethod_0(537721796), j), Class185.smethod_0(537721735));
                 Thread.Sleep(1000);
             }
             continue;
         }
         break;
     }
 }