dev: updater
This commit is contained in:
190
CarManagerV3/Forms/UpdatePromptForm.Designer.cs
generated
Normal file
190
CarManagerV3/Forms/UpdatePromptForm.Designer.cs
generated
Normal file
@@ -0,0 +1,190 @@
|
||||
namespace CarManagerV3.Forms
|
||||
{
|
||||
partial class UpdatePromptForm
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
lblUpdateTitleStatic = new System.Windows.Forms.Label();
|
||||
label2 = new System.Windows.Forms.Label();
|
||||
lblInstalledVersion = new System.Windows.Forms.Label();
|
||||
lblLatestVersion = new System.Windows.Forms.Label();
|
||||
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
btnInstallUpdate = new System.Windows.Forms.Button();
|
||||
btnDismissUpdate = new System.Windows.Forms.Button();
|
||||
btnReadChangelog = new System.Windows.Forms.Button();
|
||||
flowLayoutPanel1.SuspendLayout();
|
||||
tableLayoutPanel1.SuspendLayout();
|
||||
flowLayoutPanel2.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// flowLayoutPanel1
|
||||
//
|
||||
flowLayoutPanel1.Controls.Add(lblUpdateTitleStatic);
|
||||
flowLayoutPanel1.Controls.Add(label2);
|
||||
flowLayoutPanel1.Controls.Add(lblInstalledVersion);
|
||||
flowLayoutPanel1.Controls.Add(lblLatestVersion);
|
||||
flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||
flowLayoutPanel1.Location = new System.Drawing.Point(10, 20);
|
||||
flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||
flowLayoutPanel1.Size = new System.Drawing.Size(846, 125);
|
||||
flowLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// lblUpdateTitleStatic
|
||||
//
|
||||
lblUpdateTitleStatic.AutoSize = true;
|
||||
lblUpdateTitleStatic.Font = new System.Drawing.Font("Segoe UI", 14F);
|
||||
lblUpdateTitleStatic.Location = new System.Drawing.Point(3, 0);
|
||||
lblUpdateTitleStatic.Name = "lblUpdateTitleStatic";
|
||||
lblUpdateTitleStatic.Size = new System.Drawing.Size(298, 32);
|
||||
lblUpdateTitleStatic.TabIndex = 4;
|
||||
lblUpdateTitleStatic.Text = "A new Version is Available!";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new System.Drawing.Point(3, 32);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(600, 20);
|
||||
label2.TabIndex = 5;
|
||||
label2.Text = "A new version of Car Manager 3 has been released. Update now to get the latest features.";
|
||||
//
|
||||
// lblInstalledVersion
|
||||
//
|
||||
lblInstalledVersion.AutoSize = true;
|
||||
lblInstalledVersion.Location = new System.Drawing.Point(3, 57);
|
||||
lblInstalledVersion.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0);
|
||||
lblInstalledVersion.Name = "lblInstalledVersion";
|
||||
lblInstalledVersion.Size = new System.Drawing.Size(123, 20);
|
||||
lblInstalledVersion.TabIndex = 6;
|
||||
lblInstalledVersion.Text = "Your version: ?.?.?";
|
||||
//
|
||||
// lblLatestVersion
|
||||
//
|
||||
lblLatestVersion.AutoSize = true;
|
||||
lblLatestVersion.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
|
||||
lblLatestVersion.Location = new System.Drawing.Point(3, 77);
|
||||
lblLatestVersion.Name = "lblLatestVersion";
|
||||
lblLatestVersion.Size = new System.Drawing.Size(144, 20);
|
||||
lblLatestVersion.TabIndex = 7;
|
||||
lblLatestVersion.Text = "Latest version: ?.?.?";
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
tableLayoutPanel1.ColumnCount = 2;
|
||||
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
tableLayoutPanel1.Controls.Add(flowLayoutPanel2, 1, 0);
|
||||
tableLayoutPanel1.Controls.Add(btnReadChangelog, 0, 0);
|
||||
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
tableLayoutPanel1.Location = new System.Drawing.Point(10, 393);
|
||||
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
tableLayoutPanel1.RowCount = 1;
|
||||
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
tableLayoutPanel1.Size = new System.Drawing.Size(846, 47);
|
||||
tableLayoutPanel1.TabIndex = 1;
|
||||
//
|
||||
// flowLayoutPanel2
|
||||
//
|
||||
flowLayoutPanel2.Controls.Add(btnInstallUpdate);
|
||||
flowLayoutPanel2.Controls.Add(btnDismissUpdate);
|
||||
flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||
flowLayoutPanel2.Location = new System.Drawing.Point(423, 0);
|
||||
flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(0);
|
||||
flowLayoutPanel2.Name = "flowLayoutPanel2";
|
||||
flowLayoutPanel2.Size = new System.Drawing.Size(423, 47);
|
||||
flowLayoutPanel2.TabIndex = 0;
|
||||
//
|
||||
// btnInstallUpdate
|
||||
//
|
||||
btnInstallUpdate.AutoSize = true;
|
||||
btnInstallUpdate.Location = new System.Drawing.Point(320, 3);
|
||||
btnInstallUpdate.Name = "btnInstallUpdate";
|
||||
btnInstallUpdate.Size = new System.Drawing.Size(100, 30);
|
||||
btnInstallUpdate.TabIndex = 0;
|
||||
btnInstallUpdate.Text = "Update now";
|
||||
btnInstallUpdate.UseVisualStyleBackColor = true;
|
||||
btnInstallUpdate.Click += btnInstallUpdate_Click;
|
||||
//
|
||||
// btnDismissUpdate
|
||||
//
|
||||
btnDismissUpdate.Location = new System.Drawing.Point(220, 3);
|
||||
btnDismissUpdate.Name = "btnDismissUpdate";
|
||||
btnDismissUpdate.Size = new System.Drawing.Size(94, 29);
|
||||
btnDismissUpdate.TabIndex = 1;
|
||||
btnDismissUpdate.Text = "Dismiss";
|
||||
btnDismissUpdate.UseVisualStyleBackColor = true;
|
||||
btnDismissUpdate.Click += btnDismissUpdate_Click;
|
||||
//
|
||||
// btnReadChangelog
|
||||
//
|
||||
btnReadChangelog.Location = new System.Drawing.Point(3, 3);
|
||||
btnReadChangelog.Name = "btnReadChangelog";
|
||||
btnReadChangelog.Size = new System.Drawing.Size(94, 29);
|
||||
btnReadChangelog.TabIndex = 1;
|
||||
btnReadChangelog.Text = "Changelog";
|
||||
btnReadChangelog.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// UpdatePromptForm
|
||||
//
|
||||
AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
||||
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
ClientSize = new System.Drawing.Size(866, 450);
|
||||
Controls.Add(tableLayoutPanel1);
|
||||
Controls.Add(flowLayoutPanel1);
|
||||
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
Name = "UpdatePromptForm";
|
||||
Padding = new System.Windows.Forms.Padding(10, 20, 10, 10);
|
||||
Text = "Update Car Manager 3";
|
||||
TopMost = true;
|
||||
flowLayoutPanel1.ResumeLayout(false);
|
||||
flowLayoutPanel1.PerformLayout();
|
||||
tableLayoutPanel1.ResumeLayout(false);
|
||||
flowLayoutPanel2.ResumeLayout(false);
|
||||
flowLayoutPanel2.PerformLayout();
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
||||
private System.Windows.Forms.Label lblUpdateTitleStatic;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label lblInstalledVersion;
|
||||
private System.Windows.Forms.Label lblLatestVersion;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
|
||||
private System.Windows.Forms.Button btnInstallUpdate;
|
||||
private System.Windows.Forms.Button btnDismissUpdate;
|
||||
private System.Windows.Forms.Button btnReadChangelog;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user