Пример #1
0
        void Initialize()
        {
            Application.DoEvents();
            LoadingMode(true);
            Refresh.Enabled = true;

            if (!v3 || hCaptcha)
            {
                var Thread = new System.Threading.Thread(() =>
                {
                    ResetCaptcha();
                    ThreadTools.Wait(1500);
                    ClickImNotRobot();
                });

                Thread.Start();

                while (Thread.IsRunning())
                {
                    ThreadTools.Wait(5, true);
                }

                UpdateRects();
            }
            else
            {
                Submit();
                UpdateRects();
            }

            LoadingMode(false);
            System.Media.SystemSounds.Beep.Play();
            StatusCheck.Enabled = true;
        }