174 lines
8.8 KiB
C#
174 lines
8.8 KiB
C#
|
|
namespace Update
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <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>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
|
this.lblMessage = new System.Windows.Forms.Label();
|
|
this.btnOk = new System.Windows.Forms.Button();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
|
this.panel1.SuspendLayout();
|
|
this.panel2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// lblMessage
|
|
//
|
|
this.lblMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.lblMessage.Location = new System.Drawing.Point(14, 33);
|
|
this.lblMessage.Name = "lblMessage";
|
|
this.lblMessage.Size = new System.Drawing.Size(327, 98);
|
|
this.lblMessage.TabIndex = 0;
|
|
this.lblMessage.Text = "发现新版本,即将为您升级!";
|
|
this.lblMessage.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// btnOk
|
|
//
|
|
this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnOk.BackColor = System.Drawing.Color.Blue;
|
|
this.btnOk.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnOk.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
this.btnOk.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnOk.Font = new System.Drawing.Font("微软雅黑", 11F);
|
|
this.btnOk.ForeColor = System.Drawing.Color.White;
|
|
this.btnOk.Location = new System.Drawing.Point(232, 177);
|
|
this.btnOk.Name = "btnOk";
|
|
this.btnOk.Size = new System.Drawing.Size(109, 30);
|
|
this.btnOk.TabIndex = 9;
|
|
this.btnOk.TabStop = false;
|
|
this.btnOk.Text = "确 定";
|
|
this.btnOk.UseVisualStyleBackColor = false;
|
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnCancel.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnCancel.Font = new System.Drawing.Font("微软雅黑", 11F);
|
|
this.btnCancel.ForeColor = System.Drawing.Color.Blue;
|
|
this.btnCancel.Location = new System.Drawing.Point(14, 177);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(109, 30);
|
|
this.btnCancel.TabIndex = 10;
|
|
this.btnCancel.TabStop = false;
|
|
this.btnCancel.Text = "取 消";
|
|
this.btnCancel.UseVisualStyleBackColor = false;
|
|
this.btnCancel.Visible = false;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.BackColor = System.Drawing.Color.Blue;
|
|
this.panel1.Controls.Add(this.btnClose);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel1.Location = new System.Drawing.Point(2, 2);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(355, 24);
|
|
this.panel1.TabIndex = 11;
|
|
this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
|
|
this.panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseMove);
|
|
this.panel1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseUp);
|
|
//
|
|
// btnClose
|
|
//
|
|
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnClose.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnClose.Font = new System.Drawing.Font("微软雅黑", 11F);
|
|
this.btnClose.ForeColor = System.Drawing.Color.White;
|
|
this.btnClose.Location = new System.Drawing.Point(339, -5);
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.Size = new System.Drawing.Size(17, 28);
|
|
this.btnClose.TabIndex = 11;
|
|
this.btnClose.TabStop = false;
|
|
this.btnClose.Text = "x";
|
|
this.btnClose.UseVisualStyleBackColor = false;
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.BackColor = System.Drawing.Color.White;
|
|
this.panel2.Controls.Add(this.progressBar1);
|
|
this.panel2.Controls.Add(this.lblMessage);
|
|
this.panel2.Controls.Add(this.btnOk);
|
|
this.panel2.Controls.Add(this.btnCancel);
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel2.Location = new System.Drawing.Point(2, 2);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(355, 221);
|
|
this.panel2.TabIndex = 12;
|
|
//
|
|
// progressBar1
|
|
//
|
|
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.progressBar1.Location = new System.Drawing.Point(14, 139);
|
|
this.progressBar1.Name = "progressBar1";
|
|
this.progressBar1.Size = new System.Drawing.Size(327, 23);
|
|
this.progressBar1.TabIndex = 11;
|
|
this.progressBar1.Visible = false;
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
this.ClientSize = new System.Drawing.Size(359, 225);
|
|
this.Controls.Add(this.panel1);
|
|
this.Controls.Add(this.panel2);
|
|
this.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "MainForm";
|
|
this.Padding = new System.Windows.Forms.Padding(2);
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "MessageForm";
|
|
this.Paint += new System.Windows.Forms.PaintEventHandler(this.MessageForm_Paint);
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel2.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label lblMessage;
|
|
private System.Windows.Forms.Button btnOk;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.Button btnClose;
|
|
private System.Windows.Forms.ProgressBar progressBar1;
|
|
}
|
|
} |