namespace subs_check.win.gui
{
    partial class CheckUpdates
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>

        #endregion

        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.GroupBox groupBox2;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.Button button2;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.Timer timer1;
        private System.Windows.Forms.ComboBox comboBox1;
    }
}

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.button1 = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.button2 = new System.Windows.Forms.Button();
            this.label7 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.comboBox1 = new System.Windows.Forms.ComboBox();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.SuspendLayout();
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.button1);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Location = new System.Drawing.Point(12, 12);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(144, 89);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "SubsCheck Win GUI";
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(77, 37);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(53, 12);
            this.label4.TabIndex = 4;
            this.label4.Text = "v0.0.0.0";
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(77, 17);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(53, 12);
            this.label3.TabIndex = 3;
            this.label3.Text = "v0.0.0.0";
            this.button1.Enabled = false;
            this.button1.Location = new System.Drawing.Point(8, 57);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(122, 23);
            this.button1.TabIndex = 2;
            this.button1.Text = "正在获取版本";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(10, 37);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(65, 12);
            this.label2.TabIndex = 1;
            this.label2.Text = "当前版本：";
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(10, 17);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(65, 12);
            this.label1.TabIndex = 0;
            this.label1.Text = "最新版本：";
            this.groupBox2.Controls.Add(this.label5);
            this.groupBox2.Controls.Add(this.label6);
            this.groupBox2.Controls.Add(this.button2);
            this.groupBox2.Controls.Add(this.label7);
            this.groupBox2.Controls.Add(this.label8);
            this.groupBox2.Location = new System.Drawing.Point(162, 12);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(144, 89);
            this.groupBox2.TabIndex = 5;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Subs-Check 内核";
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(77, 37);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(53, 12);
            this.label5.TabIndex = 4;
            this.label5.Text = "v0.0.0.0";
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(77, 17);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(53, 12);
            this.label6.TabIndex = 3;
            this.label6.Text = "正在获取";
            this.button2.Enabled = false;
            this.button2.Location = new System.Drawing.Point(8, 57);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(122, 23);
            this.button2.TabIndex = 2;
            this.button2.Text = "正在获取版本";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(10, 37);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(65, 12);
            this.label7.TabIndex = 1;
            this.label7.Text = "当前版本：";
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(10, 17);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(65, 12);
            this.label8.TabIndex = 0;
            this.label8.Text = "最新版本：";
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            this.comboBox1.FormattingEnabled = true;
            this.comboBox1.Location = new System.Drawing.Point(12, 107);
            this.comboBox1.Name = "comboBox1";
            this.comboBox1.Size = new System.Drawing.Size(294, 20);
            this.comboBox1.TabIndex = 23;
            this.comboBox1.Visible = false;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoSize = true;
            this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.ClientSize = new System.Drawing.Size(319, 138);
            this.Controls.Add(this.comboBox1);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "CheckUpdates";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "检查更新";
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.ResumeLayout(false);
        }

using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Windows.Forms;
using static System.Windows.Forms.VisualStyles.VisualStyleElement;

namespace subs_check.win.gui
{
    public partial class CheckUpdates : Form
    {
        // 添加一个属性用于存储和传递文本内容
        public string UrlContent { get; set; }
        public System.Windows.Forms.ComboBox.ObjectCollection githubProxys { get; set; }
        public string githubProxy { get; set; }
        string githubProxyURL;
        public string 当前subsCheck版本号 { get; set; }
        public string 当前GUI版本号 { get; set; }
        public string 最新GUI版本号 { get; set; }

        public CheckUpdates()
        {
            InitializeComponent();
        }

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            timer1.Enabled = true;

            if (githubProxys != null)
            {
                comboBox1.Items.Clear();
                foreach (var item in githubProxys)
                {
                    comboBox1.Items.Add(item);
                }
            }
            if (!string.IsNullOrEmpty(githubProxy)) comboBox1.Text = githubProxy;
        }

        private async void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Enabled = false;
            label3.Text = 最新GUI版本号;
            label4.Text = 当前GUI版本号;

            label5.Text = 当前subsCheck版本号;

            if (comboBox1.Text == "自动选择")
            {
                // 创建不包含"自动选择"的代理列表
                List<string> proxyItems = new List<string>();
                for (int j = 0; j < comboBox1.Items.Count; j++)
                {
                    string proxyItem = comboBox1.Items[j].ToString();
                    if (proxyItem != "自动选择")
                        proxyItems.Add(proxyItem);
                }

                // 随机打乱列表顺序
                Random random = new Random();
                proxyItems = proxyItems.OrderBy(x => random.Next()).ToList();

                // 异步检测可用代理
                githubProxyURL = await DetectGitHubProxyAsync(proxyItems);
            }
            else
            {
                githubProxyURL = $"https://{comboBox1.Text}/";
            }

            if (最新GUI版本号 != 当前GUI版本号)
            {
                // 检查当前目录下是否存在 Upgrade.exe
                string upgradeExePath = System.IO.Path.Combine(Application.StartupPath, "Upgrade.exe");
                if (System.IO.File.Exists(upgradeExePath))
                {
                    button1.Text = "立即更新";
                    button1.Enabled = true;
                }
                else
                {
                    button1.Text = "缺少更新程序";
                    button1.Enabled = false;
                }
            }
            else
            {
                button1.Text = "已是最新版本";
                button1.Enabled = false;
            }

            using (HttpClient client = new HttpClient())
            {
                try
                {
                    client.DefaultRequestHeaders.UserAgent.ParseAdd("Mozilla/5.0 (Windows NT 10.0; Win32; x86) AppleWebKit/537.36 (KHTML, like Gecko) cmliu/SubsCheck-Win-GUI");
                    client.Timeout = TimeSpan.FromSeconds(30); // 增加超时时间以适应下载需求

                    string url = "https://api.github.com/repos/beck-8/subs-check/releases/latest";
                    string 备用url = "https://api.github.cmliussss.net/repos/beck-8/subs-check/releases/latest";

                    HttpResponseMessage response = null;
                    string responseBody = null;
                    JObject json = null;

                    // 先尝试主URL
                    try
                    {
                        response = await client.GetAsync(url);

                        // 如果主URL请求成功返回有效数据
                        if (response.IsSuccessStatusCode)
                        {
                            responseBody = await response.Content.ReadAsStringAsync();
                            json = JObject.Parse(responseBody);
                            Console.WriteLine("成功从主API获取版本信息");
                        }
                        // 如果主URL请求不成功但没有抛出异常
                        else
                        {
                            Console.WriteLine($"主API请求失败 HTTP {(int)response.StatusCode}，尝试备用API...");
                            response = await client.GetAsync(备用url);

                            if (response.IsSuccessStatusCode)
                            {
                                responseBody = await response.Content.ReadAsStringAsync();
                                json = JObject.Parse(responseBody);
                                Console.WriteLine("成功从备用API获取版本信息");
                            }
                            else
                            {
                                Console.WriteLine($"备用API也请求失败: HTTP {(int)response.StatusCode}", true);
                                return; // 两个URL都失败，提前退出
                            }
                        }
                    }
                    // 捕获网络请求异常（如连接超时、无法解析域名等）
                    catch (HttpRequestException ex)
                    {
                        Console.WriteLine($"主API请求出错: {ex.Message}，尝试备用API...");
                        try
                        {
                            response = await client.GetAsync(备用url);
                            if (response.IsSuccessStatusCode)
                            {
                                responseBody = await response.Content.ReadAsStringAsync();
                                json = JObject.Parse(responseBody);
                                Console.WriteLine("成功从备用API获取版本信息");
                            }
                            else
                            {
                                Console.WriteLine($"备用API也请求失败: HTTP {(int)response.StatusCode}", true);
                                return; // 备用URL也失败，提前退出
                            }
                        }
                        catch (Exception backupEx)
                        {
                            Console.WriteLine($"备用API请求也出错: {backupEx.Message}", true);
                            return; // 连备用URL也异常，提前退出
                        }
                    }
                    // 捕获JSON解析异常
                    catch (Newtonsoft.Json.JsonException ex)
                    {
                        Console.WriteLine($"解析JSON数据出错: {ex.Message}", true);
                        try
                        {
                            response = await client.GetAsync(备用url);
                            if (response.IsSuccessStatusCode)
                            {
                                responseBody = await response.Content.ReadAsStringAsync();
                                json = JObject.Parse(responseBody);
                                Console.WriteLine("成功从备用API获取版本信息");
                            }
                        }
                        catch (Exception backupEx)
                        {
                            Console.WriteLine($"备用API请求也出错: {backupEx.Message}", true);
                            return; // 连备用URL也有问题，提前退出
                        }
                    }
                    // 捕获其他所有异常
                    catch (Exception ex)
                    {
                        Console.WriteLine($"获取版本信息时出现未预期的错误: {ex.Message}", true);
                        try
                        {
                            response = await client.GetAsync(备用url);
                            if (response.IsSuccessStatusCode)
                            {
                                responseBody = await response.Content.ReadAsStringAsync();
                                json = JObject.Parse(responseBody);
                                Console.WriteLine("成功从备用URL获取版本信息");
                            }
                        }
                        catch (Exception backupEx)
                        {
                            //控制台打印错误
                            Console.WriteLine($"备用API请求也出错: {backupEx.Message}", true);
                            return; // 连备用URL也有问题，提前退出
                        }
                    }

                    // 如果成功获取了JSON数据，继续处理
                    if (json != null)
                    {
                        string latestVersion = json["tag_name"].ToString();
                        label6.Text = latestVersion;
                        if (当前subsCheck版本号 != latestVersion)
                        {
                            button2.Text = "立即更新";
                            button2.Enabled = true;
                        }
                        else
                        {
                            button2.Text = "已是最新版本";
                            button2.Enabled = false;
                        }
                    }

                }
                catch (Exception ex)
                {
                    MessageBox.Show($"下载 subs-check.exe 时出错: {ex.Message}\n\n请前往 https://github.com/beck-8/subs-check/releases 自行下载！",
                        "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
        }

        // 创建专用方法用于异步检测GitHub代理
        private async Task<string> DetectGitHubProxyAsync(List<string> proxyItems)
        {
            string detectedProxyURL = "";

            // 遍历随机排序后的代理列表
            foreach (string proxyItem in proxyItems)
            {
                string checkUrl = $"https://{proxyItem}/https://raw.githubusercontent.com/cmliu/SubsCheck-Win-GUI/master/packages.config";

                try
                {
                    using (HttpClient client = new HttpClient())
                    {
                        client.Timeout = TimeSpan.FromSeconds(5); // 设置5秒超时
                                                                  // 添加User-Agent头，避免被拒绝访问
                        client.DefaultRequestHeaders.UserAgent.ParseAdd("Mozilla/5.0 (Windows NT 10.0; Win32; x86) AppleWebKit/537.36 (KHTML, like Gecko) cmliu/SubsCheck-Win-GUI");

                        // 使用异步方式
                        HttpResponseMessage response = await client.GetAsync(checkUrl);
                        if (response.IsSuccessStatusCode)
                        {
                            // 找到可用代理
                            detectedProxyURL = $"https://{proxyItem}/";
                            break;
                        }
                    }
                }
                catch (Exception ex)
                {
                    // 记录错误但继续尝试下一个
                    Console.WriteLine($"Error: {ex.Message}");
                }
            }
            return detectedProxyURL;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            // 设置对话框结果为OK，表示用户点击了"立即更新"按钮
            this.DialogResult = DialogResult.OK;

            // 关闭窗口
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //下载链接
            string downloadURL = $"{githubProxyURL}https://github.com/cmliu/SubsCheck-Win-GUI/releases/download/{最新GUI版本号}/SubsCheck_Win_GUI.zip";
            //目标文件
            string downloadEXE = "subs-check.win.gui.exe";

            try
            {
                // 获取应用程序目录
                string executablePath = System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath);
                // 创建 Upgrade.ini 文件路径
                string iniFilePath = System.IO.Path.Combine(executablePath, "Upgrade.ini");

                // 准备 INI 文件内容
                string iniContent =
                    "[Upgrade]\r\n" +
                    $"DownloadURL={downloadURL}\r\n" +
                    $"TargetFile={downloadEXE}\r\n";

                // 写入文件（如果文件已存在会被覆盖）
                System.IO.File.WriteAllText(iniFilePath, iniContent);

                DialogResult result = MessageBox.Show(
                    $"发现新版本: {最新GUI版本号}\n\n" +
                    "· 点击【确定】将下载并安装更新\n" +
                    "· 更新过程中程序会自动关闭并重启\n" +
                    "· 更新完成后所有设置将保持不变\n\n" +
                    "是否立即更新到最新版本？",
                    "发现新版本",
                    MessageBoxButtons.OKCancel,
                    MessageBoxIcon.Information);

                if (result == DialogResult.OK)
                {
                    // 检查目标文件是否存在
                    string targetFilePath = System.IO.Path.Combine(Application.StartupPath, "Upgrade.exe");
                    if (System.IO.File.Exists(targetFilePath))
                    {
                        // 使用Process.Start异步启动应用程序
                        System.Diagnostics.Process.Start(targetFilePath);
                        this.Close();
                    }
                    else
                    {
                        MessageBox.Show("更新程序 Upgrade.exe 不存在！",
                            "错误",
                            MessageBoxButtons.OK,
                            MessageBoxIcon.Error);
                    }
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show($"写入更新信息时出错: {ex.Message}",
                    "错误",
                    MessageBoxButtons.OK,
                    MessageBoxIcon.Error);
            }
        }
    }
}

This code segment functions to: Construct and configure user interface elements for displaying software version information across multiple components, including labels for current and latest versions, action buttons for version retrieval processes, and layout management controls with timed update capabilities.

```c_sharp
[TASK_BEGIN]
private void InitializeComponent()
{
    this.components = new System.ComponentModel.Container();
    this.groupBox1 = new System.Windows.Forms.GroupBox();
    this.label4 = new System.Windows.Forms.Label();
    this.label3 = new System.Windows.Forms.Label();
    this.button1 = new System.Windows.Forms.Button();
    this.label2 = new System.Windows.Forms.Label();
    this.label1 = new System.Windows.Forms.Label();
    this.groupBox2 = new System.Windows.Forms.GroupBox();
    this.label5 = new System.Windows.Forms.Label();
    this.label6 = new System.Windows.Forms.Label();
    this.button2 = new System.Windows.Forms.Button();
    this.label7 = new System.Windows.Forms.Label();
    this.label8 = new System.Windows.Forms.Label();
    this.comboBox1 = new System.Windows.Forms.ComboBox();
    this.timer1 = new System.Windows.Forms.Timer(this.components);

    // groupBox1
    this.groupBox1.Location = new System.Drawing.Point(12, 12);
    this.groupBox1.Size = new System.Drawing.Size(300, 150);
    this.groupBox1.Text = "Current Version";

    // label1
    this.label1.Location = new System.Drawing.Point(6, 20);
    this.label1.Text = "Latest Version:";

    // label2
    this.label2.Location = new System.Drawing.Point(6, 40);

    // label3
    this.label3.Location = new System.Drawing.Point(6, 70);
    this.label3.Text = "Update Size:";

    // label4
    this.label4.Location = new System.Drawing.Point(6, 90);

    // button1
    this.button1.Location = new System.Drawing.Point(6, 115);
    this.button1.Size = new System.Drawing.Size(75, 23);
    this.button1.Text = "Download";
    this.button1.Click += new System.EventHandler(this.button1_Click);

    // groupBox2
    this.groupBox2.Location = new System.Drawing.Point(12, 170);
    this.groupBox2.Size = new System.Drawing.Size(300, 150);
    this.groupBox2.Text = "Update Progress";

    // label5
    this.label5.Location = new System.Drawing.Point(6, 20);
    this.label5.Text = "Status:";

    // label6
    this.label6.Location = new System.Drawing.Point(6, 40);

    // label7
    this.label7.Location = new System.Drawing.Point(6, 70);
    this.label7.Text = "Progress:";

    // label8
    this.label8.Location = new System.Drawing.Point(6, 90);

    // button2
    this.button2.Location = new System.Drawing.Point(6, 115);
    this.button2.Size = new System.Drawing.Size(75, 23);
    this.button2.Text = "Cancel";
    this.button2.Click += new System.EventHandler(this.button2_Click);

    // comboBox1
    this.comboBox1.Location = new System.Drawing.Point(350, 12);
    this.comboBox1.Items.AddRange(new object[] {"Auto", "Manual"});

    // timer1
    this.timer1.Interval = 1000;
    this.timer1.Tick += new System.EventHandler(this.timer1_Tick);

    // Add controls to groups
    this.groupBox1.Controls.Add(this.label1);
    this.groupBox1.Controls.Add(this.label2);
    this.groupBox1.Controls.Add(this.label3);
    this.groupBox1.Controls.Add(this.label4);
    this.groupBox1.Controls.Add(this.button1);

    this.groupBox2.Controls.Add(this.label5);
    this.groupBox2.Controls.Add(this.label6);
    this.groupBox2.Controls.Add(this.label7);
    this.groupBox2.Controls.Add(this.label8);
    this.groupBox2.Controls.Add(this.button2);

    // Form settings
    this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    this.ClientSize = new System.Drawing.Size(600, 400);
    this.Controls.Add(this.groupBox1);
    this.Controls.Add(this.groupBox2);
    this.Controls.Add(this.comboBox1);
    this.Text = "Check for Updates";
}
[TASK_END]
```

private void InitializeComponent()
{
    this.components = new System.ComponentModel.Container();
    this.groupBox1 = new System.Windows.Forms.GroupBox();
    this.label4 = new System.Windows.Forms.Label();
    this.label3 = new System.Windows.Forms.Label();
    this.button1 = new System.Windows.Forms.Button();
    this.label2 = new System.Windows.Forms.Label();
    this.label1 = new System.Windows.Forms.Label();
    this.groupBox2 = new System.Windows.Forms.GroupBox();
    this.label5 = new System.Windows.Forms.Label();
    this.label6 = new System.Windows.Forms.Label();
    this.button2 = new System.Windows.Forms.Button();
    this.label7 = new System.Windows.Forms.Label();
    this.label8 = new System.Windows.Forms.Label();
    this.comboBox1 = new System.Windows.Forms.ComboBox();
    this.timer1 = new System.Windows.Forms.Timer(this.components);
    this.groupBox1.Location = new System.Drawing.Point(12, 12);
    this.groupBox1.Size = new System.Drawing.Size(300, 150);
    this.groupBox1.Text = "Current Version";
    this.label1.Location = new System.Drawing.Point(6, 20);
    this.label1.Text = "Latest Version:";
    this.label2.Location = new System.Drawing.Point(6, 40);
    this.label3.Location = new System.Drawing.Point(6, 70);
    this.label3.Text = "Update Size:";
    this.label4.Location = new System.Drawing.Point(6, 90);
    this.button1.Location = new System.Drawing.Point(6, 115);
    this.button1.Size = new System.Drawing.Size(75, 23);
    this.button1.Text = "Download";
    this.button1.Click += new System.EventHandler(this.button1_Click);
    this.groupBox2.Location = new System.Drawing.Point(12, 170);
    this.groupBox2.Size = new System.Drawing.Size(300, 150);
    this.groupBox2.Text = "Update Progress";
    this.label5.Location = new System.Drawing.Point(6, 20);
    this.label5.Text = "Status:";
    this.label6.Location = new System.Drawing.Point(6, 40);
    this.label7.Location = new System.Drawing.Point(6, 70);
    this.label7.Text = "Progress:";
    this.label8.Location = new System.Drawing.Point(6, 90);
    this.button2.Location = new System.Drawing.Point(6, 115);
    this.button2.Size = new System.Drawing.Size(75, 23);
    this.button2.Text = "Cancel";
    this.button2.Click += new System.EventHandler(this.button2_Click);
    this.comboBox1.Location = new System.Drawing.Point(350, 12);
    this.comboBox1.Items.AddRange(new object[] {"Auto", "Manual"});
    this.timer1.Interval = 1000;
    this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
    this.groupBox1.Controls.Add(this.label1);
    this.groupBox1.Controls.Add(this.label2);
    this.groupBox1.Controls.Add(this.label3);
    this.groupBox1.Controls.Add(this.label4);
    this.groupBox1.Controls.Add(this.button1);
    this.groupBox2.Controls.Add(this.label5);
    this.groupBox2.Controls.Add(this.label6);
    this.groupBox2.Controls.Add(this.label7);
    this.groupBox2.Controls.Add(this.label8);
    this.groupBox2.Controls.Add(this.button2);
    this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    this.ClientSize = new System.Drawing.Size(600, 400);
    this.Controls.Add(this.groupBox1);
    this.Controls.Add(this.groupBox2);
    this.Controls.Add(this.comboBox1);
    this.Text = "Check for Updates";
}