namespace AutoUpdater { partial class MainForm { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.labelUpdate = new System.Windows.Forms.Label(); this.labelDescription = new System.Windows.Forms.Label(); this.labelReleaseNotes = new System.Windows.Forms.Label(); this.updateInfo = new System.Windows.Forms.RichTextBox(); this.buttonUpdate = new System.Windows.Forms.Button(); this.buttonSkip = new System.Windows.Forms.Button(); this.pictureBoxIcon = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxIcon)).BeginInit(); this.SuspendLayout(); // // labelUpdate // this.labelUpdate.AutoSize = true; this.labelUpdate.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel); this.labelUpdate.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.labelUpdate.Location = new System.Drawing.Point(88, 12); this.labelUpdate.MaximumSize = new System.Drawing.Size(560, 0); this.labelUpdate.Name = "labelUpdate"; this.labelUpdate.Size = new System.Drawing.Size(132, 19); this.labelUpdate.TabIndex = 10; this.labelUpdate.Text = "新版本{0}发布了!"; // // labelDescription // this.labelDescription.AutoSize = true; this.labelDescription.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.labelDescription.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.labelDescription.Location = new System.Drawing.Point(89, 54); this.labelDescription.MaximumSize = new System.Drawing.Size(550, 0); this.labelDescription.Name = "labelDescription"; this.labelDescription.Size = new System.Drawing.Size(245, 15); this.labelDescription.TabIndex = 11; this.labelDescription.Text = " 您现在用的版本是{0}。您想现在更新吗?"; // // labelReleaseNotes // this.labelReleaseNotes.AutoSize = true; this.labelReleaseNotes.Font = new System.Drawing.Font("Segoe UI", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel); this.labelReleaseNotes.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.labelReleaseNotes.Location = new System.Drawing.Point(89, 82); this.labelReleaseNotes.Name = "labelReleaseNotes"; this.labelReleaseNotes.Size = new System.Drawing.Size(76, 17); this.labelReleaseNotes.TabIndex = 12; this.labelReleaseNotes.Text = "更新说明"; // // updateInfo // this.updateInfo.BorderStyle = System.Windows.Forms.BorderStyle.None; this.updateInfo.Location = new System.Drawing.Point(91, 102); this.updateInfo.Name = "updateInfo"; this.updateInfo.ReadOnly = true; this.updateInfo.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.updateInfo.Size = new System.Drawing.Size(349, 240); this.updateInfo.TabIndex = 13; this.updateInfo.Text = ""; // // buttonUpdate // this.buttonUpdate.DialogResult = System.Windows.Forms.DialogResult.OK; this.buttonUpdate.Font = new System.Drawing.Font("Segoe UI", 12F); this.buttonUpdate.Image = global::AutoUpdater.Properties.Resources.download; this.buttonUpdate.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonUpdate.Location = new System.Drawing.Point(322, 347); this.buttonUpdate.Margin = new System.Windows.Forms.Padding(2); this.buttonUpdate.Name = "buttonUpdate"; this.buttonUpdate.Size = new System.Drawing.Size(121, 39); this.buttonUpdate.TabIndex = 15; this.buttonUpdate.Text = "立即更新"; this.buttonUpdate.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.buttonUpdate.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.buttonUpdate.UseVisualStyleBackColor = true; this.buttonUpdate.Click += new System.EventHandler(this.buttonUpdate_Click); // // buttonSkip // this.buttonSkip.DialogResult = System.Windows.Forms.DialogResult.Abort; this.buttonSkip.Font = new System.Drawing.Font("Segoe UI", 12F); this.buttonSkip.Image = global::AutoUpdater.Properties.Resources.hand_point; this.buttonSkip.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.buttonSkip.Location = new System.Drawing.Point(186, 347); this.buttonSkip.Margin = new System.Windows.Forms.Padding(2); this.buttonSkip.Name = "buttonSkip"; this.buttonSkip.Size = new System.Drawing.Size(132, 39); this.buttonSkip.TabIndex = 14; this.buttonSkip.Text = "暂不更新"; this.buttonSkip.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.buttonSkip.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.buttonSkip.UseVisualStyleBackColor = true; this.buttonSkip.Click += new System.EventHandler(this.buttonSkip_Click); // // pictureBoxIcon // this.pictureBoxIcon.Image = global::AutoUpdater.Properties.Resources.update; this.pictureBoxIcon.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.pictureBoxIcon.Location = new System.Drawing.Point(12, 12); this.pictureBoxIcon.Name = "pictureBoxIcon"; this.pictureBoxIcon.Size = new System.Drawing.Size(70, 66); this.pictureBoxIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.pictureBoxIcon.TabIndex = 9; this.pictureBoxIcon.TabStop = false; // // MainForm // this.AcceptButton = this.buttonUpdate; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.CancelButton = this.buttonSkip; this.ClientSize = new System.Drawing.Size(452, 391); this.Controls.Add(this.buttonUpdate); this.Controls.Add(this.buttonSkip); this.Controls.Add(this.updateInfo); this.Controls.Add(this.labelReleaseNotes); this.Controls.Add(this.labelDescription); this.Controls.Add(this.labelUpdate); this.Controls.Add(this.pictureBoxIcon); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "MainForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "软件更新"; this.TopMost = true; ((System.ComponentModel.ISupportInitialize)(this.pictureBoxIcon)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.PictureBox pictureBoxIcon; private System.Windows.Forms.Label labelUpdate; private System.Windows.Forms.Label labelDescription; private System.Windows.Forms.Label labelReleaseNotes; private System.Windows.Forms.RichTextBox updateInfo; private System.Windows.Forms.Button buttonUpdate; private System.Windows.Forms.Button buttonSkip; } }