feat: settings, installer banner
This commit is contained in:
218
CarManagerV3/Forms/SettingsForm.Designer.cs
generated
Normal file
218
CarManagerV3/Forms/SettingsForm.Designer.cs
generated
Normal file
@@ -0,0 +1,218 @@
|
||||
namespace CarManagerV3.Forms
|
||||
{
|
||||
partial class SettingsForm
|
||||
{
|
||||
/// <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(SettingsForm));
|
||||
flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
label2 = new System.Windows.Forms.Label();
|
||||
flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
|
||||
btnAccept = new System.Windows.Forms.Button();
|
||||
btnDiscard = new System.Windows.Forms.Button();
|
||||
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
lblDataLocation = new System.Windows.Forms.Label();
|
||||
tbxDataLocation = new System.Windows.Forms.TextBox();
|
||||
tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||
btnReset = new System.Windows.Forms.Button();
|
||||
flowLayoutPanel1.SuspendLayout();
|
||||
flowLayoutPanel2.SuspendLayout();
|
||||
tableLayoutPanel1.SuspendLayout();
|
||||
tableLayoutPanel2.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// flowLayoutPanel1
|
||||
//
|
||||
flowLayoutPanel1.Controls.Add(label1);
|
||||
flowLayoutPanel1.Controls.Add(label2);
|
||||
flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
||||
flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||
flowLayoutPanel1.Padding = new System.Windows.Forms.Padding(11, 13, 11, 13);
|
||||
flowLayoutPanel1.Size = new System.Drawing.Size(499, 86);
|
||||
flowLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Font = new System.Drawing.Font("Segoe UI", 14F);
|
||||
label1.Location = new System.Drawing.Point(14, 13);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(100, 32);
|
||||
label1.TabIndex = 2;
|
||||
label1.Text = "Settings";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new System.Drawing.Point(14, 45);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(276, 20);
|
||||
label2.TabIndex = 3;
|
||||
label2.Text = "Adjust settings related to Car Manager 3";
|
||||
//
|
||||
// flowLayoutPanel2
|
||||
//
|
||||
flowLayoutPanel2.Controls.Add(btnAccept);
|
||||
flowLayoutPanel2.Controls.Add(btnDiscard);
|
||||
flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||
flowLayoutPanel2.Location = new System.Drawing.Point(249, 0);
|
||||
flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(0);
|
||||
flowLayoutPanel2.Name = "flowLayoutPanel2";
|
||||
flowLayoutPanel2.Size = new System.Drawing.Size(240, 64);
|
||||
flowLayoutPanel2.TabIndex = 2;
|
||||
//
|
||||
// btnAccept
|
||||
//
|
||||
btnAccept.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
||||
btnAccept.Location = new System.Drawing.Point(151, 4);
|
||||
btnAccept.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
btnAccept.Name = "btnAccept";
|
||||
btnAccept.Size = new System.Drawing.Size(86, 31);
|
||||
btnAccept.TabIndex = 0;
|
||||
btnAccept.Text = "Save";
|
||||
btnAccept.UseVisualStyleBackColor = true;
|
||||
btnAccept.Click += btnAccept_Click;
|
||||
//
|
||||
// btnDiscard
|
||||
//
|
||||
btnDiscard.Location = new System.Drawing.Point(59, 4);
|
||||
btnDiscard.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
btnDiscard.Name = "btnDiscard";
|
||||
btnDiscard.Size = new System.Drawing.Size(86, 31);
|
||||
btnDiscard.TabIndex = 1;
|
||||
btnDiscard.Text = "Discard";
|
||||
btnDiscard.UseVisualStyleBackColor = true;
|
||||
btnDiscard.Click += btnDiscard_Click;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
tableLayoutPanel1.ColumnCount = 2;
|
||||
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
tableLayoutPanel1.Controls.Add(lblDataLocation, 0, 0);
|
||||
tableLayoutPanel1.Controls.Add(tbxDataLocation, 1, 0);
|
||||
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
tableLayoutPanel1.Location = new System.Drawing.Point(0, 86);
|
||||
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(10, 0, 10, 0);
|
||||
tableLayoutPanel1.RowCount = 2;
|
||||
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
tableLayoutPanel1.Size = new System.Drawing.Size(499, 531);
|
||||
tableLayoutPanel1.TabIndex = 3;
|
||||
//
|
||||
// lblDataLocation
|
||||
//
|
||||
lblDataLocation.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||
lblDataLocation.AutoSize = true;
|
||||
lblDataLocation.Location = new System.Drawing.Point(13, 6);
|
||||
lblDataLocation.Name = "lblDataLocation";
|
||||
lblDataLocation.Size = new System.Drawing.Size(102, 20);
|
||||
lblDataLocation.TabIndex = 0;
|
||||
lblDataLocation.Text = "Data Location";
|
||||
lblDataLocation.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// tbxDataLocation
|
||||
//
|
||||
tbxDataLocation.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
tbxDataLocation.Location = new System.Drawing.Point(121, 3);
|
||||
tbxDataLocation.Name = "tbxDataLocation";
|
||||
tbxDataLocation.Size = new System.Drawing.Size(365, 27);
|
||||
tbxDataLocation.TabIndex = 1;
|
||||
//
|
||||
// tableLayoutPanel2
|
||||
//
|
||||
tableLayoutPanel2.ColumnCount = 2;
|
||||
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
tableLayoutPanel2.Controls.Add(flowLayoutPanel2, 1, 0);
|
||||
tableLayoutPanel2.Controls.Add(btnReset, 0, 0);
|
||||
tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
tableLayoutPanel2.Location = new System.Drawing.Point(0, 553);
|
||||
tableLayoutPanel2.Name = "tableLayoutPanel2";
|
||||
tableLayoutPanel2.Padding = new System.Windows.Forms.Padding(10, 0, 10, 0);
|
||||
tableLayoutPanel2.RowCount = 1;
|
||||
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
tableLayoutPanel2.Size = new System.Drawing.Size(499, 64);
|
||||
tableLayoutPanel2.TabIndex = 4;
|
||||
//
|
||||
// btnReset
|
||||
//
|
||||
btnReset.AutoSize = true;
|
||||
btnReset.Location = new System.Drawing.Point(13, 3);
|
||||
btnReset.Name = "btnReset";
|
||||
btnReset.Size = new System.Drawing.Size(130, 30);
|
||||
btnReset.TabIndex = 3;
|
||||
btnReset.Text = "Revert to default";
|
||||
btnReset.UseVisualStyleBackColor = true;
|
||||
btnReset.Click += btnReset_Click;
|
||||
//
|
||||
// SettingsForm
|
||||
//
|
||||
AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
||||
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
ClientSize = new System.Drawing.Size(499, 617);
|
||||
Controls.Add(tableLayoutPanel2);
|
||||
Controls.Add(tableLayoutPanel1);
|
||||
Controls.Add(flowLayoutPanel1);
|
||||
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
Name = "SettingsForm";
|
||||
Text = "Settings";
|
||||
TopMost = true;
|
||||
Load += SettingsForm_Load;
|
||||
flowLayoutPanel1.ResumeLayout(false);
|
||||
flowLayoutPanel1.PerformLayout();
|
||||
flowLayoutPanel2.ResumeLayout(false);
|
||||
tableLayoutPanel1.ResumeLayout(false);
|
||||
tableLayoutPanel1.PerformLayout();
|
||||
tableLayoutPanel2.ResumeLayout(false);
|
||||
tableLayoutPanel2.PerformLayout();
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
|
||||
private System.Windows.Forms.Button btnAccept;
|
||||
private System.Windows.Forms.Button btnDiscard;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.Label lblDataLocation;
|
||||
private System.Windows.Forms.TextBox tbxDataLocation;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
||||
private System.Windows.Forms.Button btnReset;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user