You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
214 lines
12 KiB
C#
214 lines
12 KiB
C#
namespace AutoUpdater
|
|
{
|
|
partial class Downloading
|
|
{
|
|
/// <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(Downloading));
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.btnPause = new System.Windows.Forms.Button();
|
|
this.chkAutoClose = new System.Windows.Forms.CheckBox();
|
|
this.lblTotleProgress = new System.Windows.Forms.Label();
|
|
this.lblCurrPrograss = new System.Windows.Forms.Label();
|
|
this.lblCurrentComplete = new System.Windows.Forms.Label();
|
|
this.lblVersion = new System.Windows.Forms.Label();
|
|
this.picLogo = new System.Windows.Forms.PictureBox();
|
|
this.prgOverall = new AutoUpdater.XPProgressBar();
|
|
this.prgCurrent = new AutoUpdater.XPProgressBar();
|
|
((System.ComponentModel.ISupportInitialize)(this.picLogo)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnCancel.Image = global::AutoUpdater.Properties.Resources.hand_point;
|
|
this.btnCancel.Location = new System.Drawing.Point(350, 151);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(108, 43);
|
|
this.btnCancel.TabIndex = 67;
|
|
this.btnCancel.Text = "取消";
|
|
this.btnCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// btnPause
|
|
//
|
|
this.btnPause.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnPause.Image = global::AutoUpdater.Properties.Resources.clock;
|
|
this.btnPause.Location = new System.Drawing.Point(236, 151);
|
|
this.btnPause.Name = "btnPause";
|
|
this.btnPause.Size = new System.Drawing.Size(108, 43);
|
|
this.btnPause.TabIndex = 66;
|
|
this.btnPause.Text = "暂停";
|
|
this.btnPause.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.btnPause.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
|
this.btnPause.UseVisualStyleBackColor = true;
|
|
this.btnPause.Click += new System.EventHandler(this.btnPause_Click);
|
|
//
|
|
// chkAutoClose
|
|
//
|
|
this.chkAutoClose.AutoSize = true;
|
|
this.chkAutoClose.Checked = true;
|
|
this.chkAutoClose.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.chkAutoClose.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.chkAutoClose.Location = new System.Drawing.Point(5, 161);
|
|
this.chkAutoClose.Name = "chkAutoClose";
|
|
this.chkAutoClose.Size = new System.Drawing.Size(205, 25);
|
|
this.chkAutoClose.TabIndex = 65;
|
|
this.chkAutoClose.Text = "更新完毕后自动关闭窗口";
|
|
this.chkAutoClose.UseVisualStyleBackColor = false;
|
|
//
|
|
// lblTotleProgress
|
|
//
|
|
this.lblTotleProgress.AutoSize = true;
|
|
this.lblTotleProgress.BackColor = System.Drawing.Color.Transparent;
|
|
this.lblTotleProgress.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblTotleProgress.Location = new System.Drawing.Point(1, 119);
|
|
this.lblTotleProgress.Margin = new System.Windows.Forms.Padding(0);
|
|
this.lblTotleProgress.Name = "lblTotleProgress";
|
|
this.lblTotleProgress.Size = new System.Drawing.Size(78, 21);
|
|
this.lblTotleProgress.TabIndex = 62;
|
|
this.lblTotleProgress.Text = "总体进度:";
|
|
this.lblTotleProgress.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// lblCurrPrograss
|
|
//
|
|
this.lblCurrPrograss.AutoSize = true;
|
|
this.lblCurrPrograss.BackColor = System.Drawing.Color.Transparent;
|
|
this.lblCurrPrograss.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblCurrPrograss.Location = new System.Drawing.Point(1, 85);
|
|
this.lblCurrPrograss.Margin = new System.Windows.Forms.Padding(0);
|
|
this.lblCurrPrograss.Name = "lblCurrPrograss";
|
|
this.lblCurrPrograss.Size = new System.Drawing.Size(78, 21);
|
|
this.lblCurrPrograss.TabIndex = 61;
|
|
this.lblCurrPrograss.Text = "当前进度:";
|
|
//
|
|
// lblCurrentComplete
|
|
//
|
|
this.lblCurrentComplete.BackColor = System.Drawing.Color.Transparent;
|
|
this.lblCurrentComplete.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblCurrentComplete.Location = new System.Drawing.Point(183, 55);
|
|
this.lblCurrentComplete.Margin = new System.Windows.Forms.Padding(0);
|
|
this.lblCurrentComplete.Name = "lblCurrentComplete";
|
|
this.lblCurrentComplete.Size = new System.Drawing.Size(278, 22);
|
|
this.lblCurrentComplete.TabIndex = 60;
|
|
this.lblCurrentComplete.Text = "0 / 0";
|
|
this.lblCurrentComplete.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// lblVersion
|
|
//
|
|
this.lblVersion.AutoSize = true;
|
|
this.lblVersion.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.lblVersion.Location = new System.Drawing.Point(85, 19);
|
|
this.lblVersion.Name = "lblVersion";
|
|
this.lblVersion.Size = new System.Drawing.Size(187, 25);
|
|
this.lblVersion.TabIndex = 58;
|
|
this.lblVersion.Text = "正在升级到新版本{0}";
|
|
this.lblVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// picLogo
|
|
//
|
|
this.picLogo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
|
this.picLogo.Image = global::AutoUpdater.Properties.Resources.update;
|
|
this.picLogo.Location = new System.Drawing.Point(5, 3);
|
|
this.picLogo.Name = "picLogo";
|
|
this.picLogo.Size = new System.Drawing.Size(74, 74);
|
|
this.picLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
|
this.picLogo.TabIndex = 57;
|
|
this.picLogo.TabStop = false;
|
|
//
|
|
// prgOverall
|
|
//
|
|
this.prgOverall.ColorBackGround = System.Drawing.Color.White;
|
|
this.prgOverall.ColorBarBorder = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(240)))), ((int)(((byte)(170)))));
|
|
this.prgOverall.ColorBarCenter = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(150)))), ((int)(((byte)(10)))));
|
|
this.prgOverall.ColorText = System.Drawing.Color.Black;
|
|
this.prgOverall.Location = new System.Drawing.Point(76, 119);
|
|
this.prgOverall.Name = "prgOverall";
|
|
this.prgOverall.Position = ((long)(0));
|
|
this.prgOverall.PositionMax = ((long)(100000000));
|
|
this.prgOverall.PositionMin = ((long)(0));
|
|
this.prgOverall.Size = new System.Drawing.Size(382, 21);
|
|
this.prgOverall.TabIndex = 64;
|
|
//
|
|
// prgCurrent
|
|
//
|
|
this.prgCurrent.ColorBackGround = System.Drawing.Color.White;
|
|
this.prgCurrent.ColorBarBorder = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(240)))), ((int)(((byte)(170)))));
|
|
this.prgCurrent.ColorBarCenter = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(150)))), ((int)(((byte)(10)))));
|
|
this.prgCurrent.ColorText = System.Drawing.Color.Black;
|
|
this.prgCurrent.Location = new System.Drawing.Point(76, 86);
|
|
this.prgCurrent.Name = "prgCurrent";
|
|
this.prgCurrent.Position = ((long)(0));
|
|
this.prgCurrent.PositionMax = ((long)(100));
|
|
this.prgCurrent.PositionMin = ((long)(0));
|
|
this.prgCurrent.Size = new System.Drawing.Size(382, 21);
|
|
this.prgCurrent.TabIndex = 63;
|
|
//
|
|
// Downloading
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
this.ClientSize = new System.Drawing.Size(464, 198);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnPause);
|
|
this.Controls.Add(this.chkAutoClose);
|
|
this.Controls.Add(this.prgOverall);
|
|
this.Controls.Add(this.prgCurrent);
|
|
this.Controls.Add(this.lblTotleProgress);
|
|
this.Controls.Add(this.lblCurrPrograss);
|
|
this.Controls.Add(this.lblCurrentComplete);
|
|
this.Controls.Add(this.lblVersion);
|
|
this.Controls.Add(this.picLogo);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "Downloading";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "软件更新";
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Downloading_FormClosed);
|
|
((System.ComponentModel.ISupportInitialize)(this.picLogo)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Button btnPause;
|
|
private System.Windows.Forms.CheckBox chkAutoClose;
|
|
private XPProgressBar prgOverall;
|
|
private XPProgressBar prgCurrent;
|
|
private System.Windows.Forms.Label lblTotleProgress;
|
|
private System.Windows.Forms.Label lblCurrPrograss;
|
|
private System.Windows.Forms.Label lblCurrentComplete;
|
|
private System.Windows.Forms.Label lblVersion;
|
|
private System.Windows.Forms.PictureBox picLogo;
|
|
}
|
|
} |