コード例 #1
0
    // Token: 0x060000FC RID: 252 RVA: 0x00006E4C File Offset: 0x0000504C
    public static void smethod_0(GStruct2 gstruct2_0)
    {
        switch (gstruct2_0.byte_1)
        {
        case 1:
            Class20.smethod_1();
            break;

        case 2:
            Class20.smethod_3(gstruct2_0.object_0);
            break;

        case 4:
            Class20.smethod_2(gstruct2_0.guid_0, gstruct2_0.object_0);
            break;

        case 6:
            Class20.smethod_4();
            break;

        case 7:
            Class20.smethod_5(gstruct2_0.object_0);
            break;
        }
    }
コード例 #2
0
 public static void MsgWait(string string_0)
 {
     try
     {
         Class20.smethod_3(string_0);
         if (msgForm_0 != null)
         {
             if ((thread_0 != null) && (thread_0.ThreadState != ThreadState.Stopped))
             {
                 if ((thread_0.ThreadState == ThreadState.Running) && msgForm_0.InvokeRequired)
                 {
                     msgForm_0.Invoke(new Delegate4(MessageShow.smethod_1), new object[] { string_0 });
                 }
             }
             else
             {
                 thread_0 = new Thread(new ParameterizedThreadStart(MessageShow.smethod_2));
                 thread_0.Start(string_0);
             }
         }
     }
     catch (Exception exception)
     {
         Class20.smethod_1(exception.ToString());
     }
 }
コード例 #3
0
 public static void MsgWait(string string_0)
 {
     try
     {
         Class20.smethod_3(string_0);
         if (msgForm_0 != null)
         {
             if (thread_0.ThreadState != ThreadState.Running)
             {
                 msgForm_0.MessageStr = string_0;
                 msgForm_0.ShowDialog();
                 if (msgForm_0.InvokeRequired)
                 {
                     msgForm_0.Invoke(new Delegate5(MessageShowTT.smethod_0), new object[] { string_0 });
                 }
             }
             else if ((thread_0.ThreadState == ThreadState.Running) && msgForm_0.InvokeRequired)
             {
                 msgForm_0.Invoke(new Delegate5(MessageShowTT.smethod_0), new object[] { string_0 });
             }
         }
     }
     catch (Exception exception)
     {
         Class20.smethod_1(exception.ToString());
     }
 }
コード例 #4
0
ファイル: Class20.cs プロジェクト: hk1722/CyberAIO-1
    // Token: 0x060000FA RID: 250 RVA: 0x0000E1E4 File Offset: 0x0000C3E4
    public static void smethod_1(Bitmap bitmap_0, int int_0, int int_1, string string_0)
    {
        GClass3.smethod_0(Class185.smethod_0(537704068), Class185.smethod_0(537704074));
        int     width   = bitmap_0.Width;
        int     height  = bitmap_0.Height;
        int     num     = 1;
        JObject jobject = new JObject();

        for (int i = 0; i < height; i += height / int_0)
        {
            for (int j = 0; j < width; j += width / int_1)
            {
                Class20.smethod_3(Class20.smethod_0(j, i, width / int_1, height / int_0, bitmap_0), num, jobject, string_0);
                num++;
            }
        }
        while (jobject.Count != num - 1)
        {
            Thread.Sleep(200);
        }
        GClass3.smethod_0(Class185.smethod_0(537704103), Class185.smethod_0(537704074));
        Console.WriteLine(jobject.ToString());
    }
コード例 #5
0
    // Token: 0x060000FA RID: 250 RVA: 0x0000D1BC File Offset: 0x0000B3BC
    public static void smethod_1(Bitmap bitmap_0, int int_0, int int_1, string string_0)
    {
        GClass3.smethod_0("Starting captcha OCR service", "OCR");
        int     width   = bitmap_0.Width;
        int     height  = bitmap_0.Height;
        int     num     = 1;
        JObject jobject = new JObject();

        for (int i = 0; i < height; i += height / int_0)
        {
            for (int j = 0; j < width; j += width / int_1)
            {
                Class20.smethod_3(Class20.smethod_0(j, i, width / int_1, height / int_0, bitmap_0), num, jobject, string_0);
                num++;
            }
        }
        while (jobject.Count != num - 1)
        {
            Thread.Sleep(200);
        }
        GClass3.smethod_0("OCR completed, attempting to solve captcha", "OCR");
        Console.WriteLine(jobject.ToString());
    }
コード例 #6
0
 public static void PromptDlg(string string_0, string string_1)
 {
     Class20.smethod_3(string_0);
     MessageBoxSys.Show(string_0, string_1);
 }
コード例 #7
0
 public static bool ConfirmDlg(string string_0, string string_1)
 {
     Class20.smethod_3(string_0);
     return(MessageBoxSys.Show(string_0, string_1, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes);
 }