370 lines
18 KiB
C#
370 lines
18 KiB
C#
namespace CarManagerV3
|
|
{
|
|
partial class CarDetailsForm
|
|
{
|
|
/// <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(CarDetailsForm));
|
|
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
pbxCarImage = new System.Windows.Forms.PictureBox();
|
|
label1 = new System.Windows.Forms.Label();
|
|
tbxMake = new System.Windows.Forms.TextBox();
|
|
label2 = new System.Windows.Forms.Label();
|
|
tbxModel = new System.Windows.Forms.TextBox();
|
|
label3 = new System.Windows.Forms.Label();
|
|
label4 = new System.Windows.Forms.Label();
|
|
label5 = new System.Windows.Forms.Label();
|
|
label6 = new System.Windows.Forms.Label();
|
|
flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
btnSave = new System.Windows.Forms.Button();
|
|
btnDelete = new System.Windows.Forms.Button();
|
|
lblID = new System.Windows.Forms.Label();
|
|
tbxColor = new System.Windows.Forms.TextBox();
|
|
nudMileage = new System.Windows.Forms.NumericUpDown();
|
|
nudPrice = new System.Windows.Forms.NumericUpDown();
|
|
tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
|
nudYear = new System.Windows.Forms.NumericUpDown();
|
|
lblAge = new System.Windows.Forms.Label();
|
|
tbxAge = new System.Windows.Forms.TextBox();
|
|
tableLayoutPanel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pbxCarImage).BeginInit();
|
|
flowLayoutPanel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)nudMileage).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)nudPrice).BeginInit();
|
|
tableLayoutPanel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)nudYear).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
tableLayoutPanel1.AutoSize = true;
|
|
tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
tableLayoutPanel1.ColumnCount = 2;
|
|
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 70F));
|
|
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
tableLayoutPanel1.Controls.Add(pbxCarImage, 0, 0);
|
|
tableLayoutPanel1.Controls.Add(label1, 0, 1);
|
|
tableLayoutPanel1.Controls.Add(tbxMake, 1, 1);
|
|
tableLayoutPanel1.Controls.Add(label2, 0, 2);
|
|
tableLayoutPanel1.Controls.Add(tbxModel, 1, 2);
|
|
tableLayoutPanel1.Controls.Add(label3, 0, 3);
|
|
tableLayoutPanel1.Controls.Add(label4, 0, 4);
|
|
tableLayoutPanel1.Controls.Add(label5, 0, 5);
|
|
tableLayoutPanel1.Controls.Add(label6, 0, 6);
|
|
tableLayoutPanel1.Controls.Add(flowLayoutPanel1, 0, 7);
|
|
tableLayoutPanel1.Controls.Add(tbxColor, 1, 4);
|
|
tableLayoutPanel1.Controls.Add(nudMileage, 1, 5);
|
|
tableLayoutPanel1.Controls.Add(nudPrice, 1, 6);
|
|
tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 1, 3);
|
|
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
|
tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(3, 3, 26, 3);
|
|
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
tableLayoutPanel1.RowCount = 8;
|
|
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 188F));
|
|
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
|
|
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
|
|
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
|
|
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
|
|
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
|
|
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
|
|
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 38F));
|
|
tableLayoutPanel1.Size = new System.Drawing.Size(469, 422);
|
|
tableLayoutPanel1.TabIndex = 0;
|
|
//
|
|
// pbxCarImage
|
|
//
|
|
tableLayoutPanel1.SetColumnSpan(pbxCarImage, 2);
|
|
pbxCarImage.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
pbxCarImage.Image = (System.Drawing.Image)resources.GetObject("pbxCarImage.Image");
|
|
pbxCarImage.Location = new System.Drawing.Point(3, 3);
|
|
pbxCarImage.Name = "pbxCarImage";
|
|
pbxCarImage.Size = new System.Drawing.Size(463, 182);
|
|
pbxCarImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
pbxCarImage.TabIndex = 0;
|
|
pbxCarImage.TabStop = false;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
label1.Location = new System.Drawing.Point(3, 188);
|
|
label1.Name = "label1";
|
|
label1.Size = new System.Drawing.Size(64, 28);
|
|
label1.TabIndex = 1;
|
|
label1.Text = "Make:";
|
|
label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// tbxMake
|
|
//
|
|
tbxMake.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
tbxMake.Location = new System.Drawing.Point(73, 191);
|
|
tbxMake.Name = "tbxMake";
|
|
tbxMake.Size = new System.Drawing.Size(393, 23);
|
|
tbxMake.TabIndex = 1;
|
|
tbxMake.TextChanged += tbxMake_TextChanged;
|
|
tbxMake.Leave += tbxMake_Leave;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
label2.Location = new System.Drawing.Point(3, 216);
|
|
label2.Name = "label2";
|
|
label2.Size = new System.Drawing.Size(64, 28);
|
|
label2.TabIndex = 3;
|
|
label2.Text = "Model:";
|
|
label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// tbxModel
|
|
//
|
|
tbxModel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
tbxModel.Location = new System.Drawing.Point(73, 219);
|
|
tbxModel.Name = "tbxModel";
|
|
tbxModel.Size = new System.Drawing.Size(393, 23);
|
|
tbxModel.TabIndex = 2;
|
|
tbxModel.TextChanged += tbxModel_TextChanged;
|
|
tbxModel.Leave += tbxModel_Leave;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
label3.Location = new System.Drawing.Point(3, 244);
|
|
label3.Name = "label3";
|
|
label3.Size = new System.Drawing.Size(64, 28);
|
|
label3.TabIndex = 5;
|
|
label3.Text = "Year:";
|
|
label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
label4.Location = new System.Drawing.Point(3, 272);
|
|
label4.Name = "label4";
|
|
label4.Size = new System.Drawing.Size(64, 28);
|
|
label4.TabIndex = 6;
|
|
label4.Text = "Color:";
|
|
label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
label5.Location = new System.Drawing.Point(3, 300);
|
|
label5.Name = "label5";
|
|
label5.Size = new System.Drawing.Size(64, 28);
|
|
label5.TabIndex = 7;
|
|
label5.Text = "Mileage:";
|
|
label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
label6.Location = new System.Drawing.Point(3, 328);
|
|
label6.Name = "label6";
|
|
label6.Size = new System.Drawing.Size(64, 28);
|
|
label6.TabIndex = 8;
|
|
label6.Text = "Price:";
|
|
label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
tableLayoutPanel1.SetColumnSpan(flowLayoutPanel1, 2);
|
|
flowLayoutPanel1.Controls.Add(btnSave);
|
|
flowLayoutPanel1.Controls.Add(btnDelete);
|
|
flowLayoutPanel1.Controls.Add(lblID);
|
|
flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
|
flowLayoutPanel1.Location = new System.Drawing.Point(3, 359);
|
|
flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
flowLayoutPanel1.Padding = new System.Windows.Forms.Padding(4);
|
|
flowLayoutPanel1.Size = new System.Drawing.Size(463, 60);
|
|
flowLayoutPanel1.TabIndex = 9;
|
|
//
|
|
// btnSave
|
|
//
|
|
btnSave.Location = new System.Drawing.Point(386, 7);
|
|
btnSave.Name = "btnSave";
|
|
btnSave.Size = new System.Drawing.Size(66, 22);
|
|
btnSave.TabIndex = 7;
|
|
btnSave.Text = "Save";
|
|
btnSave.UseVisualStyleBackColor = true;
|
|
btnSave.Click += btnSave_Click;
|
|
//
|
|
// btnDelete
|
|
//
|
|
btnDelete.Location = new System.Drawing.Point(314, 7);
|
|
btnDelete.Name = "btnDelete";
|
|
btnDelete.Size = new System.Drawing.Size(66, 22);
|
|
btnDelete.TabIndex = 8;
|
|
btnDelete.Text = "Delete";
|
|
btnDelete.UseVisualStyleBackColor = true;
|
|
btnDelete.Click += btnDelete_Click;
|
|
//
|
|
// lblID
|
|
//
|
|
lblID.AutoSize = true;
|
|
lblID.Location = new System.Drawing.Point(290, 4);
|
|
lblID.Name = "lblID";
|
|
lblID.Size = new System.Drawing.Size(18, 15);
|
|
lblID.TabIndex = 2;
|
|
lblID.Text = "ID";
|
|
//
|
|
// tbxColor
|
|
//
|
|
tbxColor.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
tbxColor.Location = new System.Drawing.Point(73, 275);
|
|
tbxColor.Name = "tbxColor";
|
|
tbxColor.Size = new System.Drawing.Size(393, 23);
|
|
tbxColor.TabIndex = 4;
|
|
tbxColor.TextChanged += tbxColor_TextChanged;
|
|
tbxColor.Leave += tbxColor_Leave;
|
|
//
|
|
// nudMileage
|
|
//
|
|
nudMileage.Location = new System.Drawing.Point(73, 303);
|
|
nudMileage.Maximum = new decimal(new int[] { 999999, 0, 0, 0 });
|
|
nudMileage.Name = "nudMileage";
|
|
nudMileage.Size = new System.Drawing.Size(105, 23);
|
|
nudMileage.TabIndex = 5;
|
|
nudMileage.ThousandsSeparator = true;
|
|
nudMileage.ValueChanged += nudMileage_ValueChanged;
|
|
//
|
|
// nudPrice
|
|
//
|
|
nudPrice.DecimalPlaces = 2;
|
|
nudPrice.Location = new System.Drawing.Point(73, 331);
|
|
nudPrice.Maximum = new decimal(new int[] { 999999, 0, 0, 0 });
|
|
nudPrice.Name = "nudPrice";
|
|
nudPrice.Size = new System.Drawing.Size(105, 23);
|
|
nudPrice.TabIndex = 6;
|
|
nudPrice.ThousandsSeparator = true;
|
|
nudPrice.ValueChanged += nudPrice_ValueChanged;
|
|
//
|
|
// tableLayoutPanel2
|
|
//
|
|
tableLayoutPanel2.ColumnCount = 3;
|
|
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
|
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
|
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
|
tableLayoutPanel2.Controls.Add(nudYear, 0, 0);
|
|
tableLayoutPanel2.Controls.Add(lblAge, 1, 0);
|
|
tableLayoutPanel2.Controls.Add(tbxAge, 2, 0);
|
|
tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
tableLayoutPanel2.Location = new System.Drawing.Point(73, 247);
|
|
tableLayoutPanel2.Name = "tableLayoutPanel2";
|
|
tableLayoutPanel2.RowCount = 1;
|
|
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
tableLayoutPanel2.Size = new System.Drawing.Size(393, 22);
|
|
tableLayoutPanel2.TabIndex = 10;
|
|
//
|
|
// nudYear
|
|
//
|
|
nudYear.Location = new System.Drawing.Point(3, 3);
|
|
nudYear.Maximum = new decimal(new int[] { 3000, 0, 0, 0 });
|
|
nudYear.Name = "nudYear";
|
|
nudYear.Size = new System.Drawing.Size(105, 23);
|
|
nudYear.TabIndex = 3;
|
|
nudYear.ValueChanged += nudYear_ValueChanged;
|
|
//
|
|
// lblAge
|
|
//
|
|
lblAge.AutoSize = true;
|
|
lblAge.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
lblAge.Location = new System.Drawing.Point(134, 0);
|
|
lblAge.Name = "lblAge";
|
|
lblAge.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
|
lblAge.Size = new System.Drawing.Size(125, 22);
|
|
lblAge.TabIndex = 4;
|
|
lblAge.Text = "Age";
|
|
lblAge.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// tbxAge
|
|
//
|
|
tbxAge.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
tbxAge.Enabled = false;
|
|
tbxAge.Location = new System.Drawing.Point(265, 3);
|
|
tbxAge.Name = "tbxAge";
|
|
tbxAge.ReadOnly = true;
|
|
tbxAge.Size = new System.Drawing.Size(125, 23);
|
|
tbxAge.TabIndex = 5;
|
|
//
|
|
// CarDetailsForm
|
|
//
|
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
ClientSize = new System.Drawing.Size(469, 422);
|
|
Controls.Add(tableLayoutPanel1);
|
|
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
MaximizeBox = false;
|
|
Name = "CarDetailsForm";
|
|
Text = "Details";
|
|
tableLayoutPanel1.ResumeLayout(false);
|
|
tableLayoutPanel1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)pbxCarImage).EndInit();
|
|
flowLayoutPanel1.ResumeLayout(false);
|
|
flowLayoutPanel1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)nudMileage).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)nudPrice).EndInit();
|
|
tableLayoutPanel2.ResumeLayout(false);
|
|
tableLayoutPanel2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)nudYear).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox tbxMake;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox tbxModel;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.Button btnDelete;
|
|
private System.Windows.Forms.NumericUpDown nudYear;
|
|
private System.Windows.Forms.TextBox tbxColor;
|
|
private System.Windows.Forms.NumericUpDown nudMileage;
|
|
private System.Windows.Forms.NumericUpDown nudPrice;
|
|
private System.Windows.Forms.PictureBox pbxCarImage;
|
|
private System.Windows.Forms.Label lblID;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
|
private System.Windows.Forms.Label lblAge;
|
|
private System.Windows.Forms.TextBox tbxAge;
|
|
}
|
|
}
|
|
|