feature/search-design #2

Merged
frozd merged 3 commits from feature/search-design into master 2026-03-03 11:34:16 +01:00
2 changed files with 283 additions and 282 deletions
Showing only changes of commit 1082e63244 - Show all commits

View File

@@ -29,327 +29,328 @@
private void InitializeComponent() private void InitializeComponent()
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CarDetailsForm)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CarDetailsForm));
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.pbxCarImage = new System.Windows.Forms.PictureBox(); pbxCarImage = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label(); label1 = new System.Windows.Forms.Label();
this.tbxMake = new System.Windows.Forms.TextBox(); tbxMake = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label(); label2 = new System.Windows.Forms.Label();
this.tbxModel = new System.Windows.Forms.TextBox(); tbxModel = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label(); label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label(); label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label(); label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label(); label6 = new System.Windows.Forms.Label();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.btnSave = new System.Windows.Forms.Button(); btnSave = new System.Windows.Forms.Button();
this.btnDelete = new System.Windows.Forms.Button(); btnDelete = new System.Windows.Forms.Button();
this.lblID = new System.Windows.Forms.Label(); lblID = new System.Windows.Forms.Label();
this.tbxColor = new System.Windows.Forms.TextBox(); tbxColor = new System.Windows.Forms.TextBox();
this.nudMileage = new System.Windows.Forms.NumericUpDown(); nudMileage = new System.Windows.Forms.NumericUpDown();
this.nudPrice = new System.Windows.Forms.NumericUpDown(); nudPrice = new System.Windows.Forms.NumericUpDown();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.nudYear = new System.Windows.Forms.NumericUpDown(); nudYear = new System.Windows.Forms.NumericUpDown();
this.lblAge = new System.Windows.Forms.Label(); lblAge = new System.Windows.Forms.Label();
this.tbxAge = new System.Windows.Forms.TextBox(); tbxAge = new System.Windows.Forms.TextBox();
this.tableLayoutPanel1.SuspendLayout(); tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbxCarImage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)pbxCarImage).BeginInit();
this.flowLayoutPanel1.SuspendLayout(); flowLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudMileage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)nudMileage).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.nudPrice)).BeginInit(); ((System.ComponentModel.ISupportInitialize)nudPrice).BeginInit();
this.tableLayoutPanel2.SuspendLayout(); tableLayoutPanel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudYear)).BeginInit(); ((System.ComponentModel.ISupportInitialize)nudYear).BeginInit();
this.SuspendLayout(); SuspendLayout();
// //
// tableLayoutPanel1 // tableLayoutPanel1
// //
this.tableLayoutPanel1.AutoSize = true; tableLayoutPanel1.AutoSize = true;
this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.tableLayoutPanel1.ColumnCount = 2; tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); tableLayoutPanel1.Controls.Add(pbxCarImage, 0, 0);
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); tableLayoutPanel1.Controls.Add(label1, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.pbxCarImage, 0, 0); tableLayoutPanel1.Controls.Add(tbxMake, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 1); tableLayoutPanel1.Controls.Add(label2, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.tbxMake, 1, 1); tableLayoutPanel1.Controls.Add(tbxModel, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.label2, 0, 2); tableLayoutPanel1.Controls.Add(label3, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.tbxModel, 1, 2); tableLayoutPanel1.Controls.Add(label4, 0, 4);
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 3); tableLayoutPanel1.Controls.Add(label5, 0, 5);
this.tableLayoutPanel1.Controls.Add(this.label4, 0, 4); tableLayoutPanel1.Controls.Add(label6, 0, 6);
this.tableLayoutPanel1.Controls.Add(this.label5, 0, 5); tableLayoutPanel1.Controls.Add(flowLayoutPanel1, 0, 7);
this.tableLayoutPanel1.Controls.Add(this.label6, 0, 6); tableLayoutPanel1.Controls.Add(tbxColor, 1, 4);
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 7); tableLayoutPanel1.Controls.Add(nudMileage, 1, 5);
this.tableLayoutPanel1.Controls.Add(this.tbxColor, 1, 4); tableLayoutPanel1.Controls.Add(nudPrice, 1, 6);
this.tableLayoutPanel1.Controls.Add(this.nudMileage, 1, 5); tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.nudPrice, 1, 6); tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 1, 3); tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(3, 4, 30, 4);
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.Name = "tableLayoutPanel1"; tableLayoutPanel1.RowCount = 8;
this.tableLayoutPanel1.RowCount = 8; tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 250F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 200F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 38F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 38F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 38F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 38F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 38F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 38F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); tableLayoutPanel1.Size = new System.Drawing.Size(536, 562);
this.tableLayoutPanel1.Size = new System.Drawing.Size(536, 450); tableLayoutPanel1.TabIndex = 0;
this.tableLayoutPanel1.TabIndex = 0;
// //
// pbxCarImage // pbxCarImage
// //
this.tableLayoutPanel1.SetColumnSpan(this.pbxCarImage, 2); tableLayoutPanel1.SetColumnSpan(pbxCarImage, 2);
this.pbxCarImage.Dock = System.Windows.Forms.DockStyle.Fill; pbxCarImage.Dock = System.Windows.Forms.DockStyle.Fill;
this.pbxCarImage.Image = ((System.Drawing.Image)(resources.GetObject("pbxCarImage.Image"))); pbxCarImage.Image = (System.Drawing.Image)resources.GetObject("pbxCarImage.Image");
this.pbxCarImage.Location = new System.Drawing.Point(3, 3); pbxCarImage.Location = new System.Drawing.Point(3, 4);
this.pbxCarImage.Name = "pbxCarImage"; pbxCarImage.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.pbxCarImage.Size = new System.Drawing.Size(538, 194); pbxCarImage.Name = "pbxCarImage";
this.pbxCarImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; pbxCarImage.Size = new System.Drawing.Size(530, 242);
this.pbxCarImage.TabIndex = 0; pbxCarImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pbxCarImage.TabStop = false; pbxCarImage.TabIndex = 0;
pbxCarImage.TabStop = false;
// //
// label1 // label1
// //
this.label1.AutoSize = true; label1.AutoSize = true;
this.label1.Dock = System.Windows.Forms.DockStyle.Fill; label1.Dock = System.Windows.Forms.DockStyle.Fill;
this.label1.Location = new System.Drawing.Point(3, 200); label1.Location = new System.Drawing.Point(3, 250);
this.label1.Name = "label1"; label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(59, 30); label1.Size = new System.Drawing.Size(74, 38);
this.label1.TabIndex = 1; label1.TabIndex = 1;
this.label1.Text = "Make:"; label1.Text = "Make:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// tbxMake // tbxMake
// //
this.tbxMake.Dock = System.Windows.Forms.DockStyle.Fill; tbxMake.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbxMake.Location = new System.Drawing.Point(68, 203); tbxMake.Location = new System.Drawing.Point(83, 254);
this.tbxMake.Name = "tbxMake"; tbxMake.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tbxMake.Size = new System.Drawing.Size(473, 22); tbxMake.Name = "tbxMake";
this.tbxMake.TabIndex = 1; tbxMake.Size = new System.Drawing.Size(450, 27);
this.tbxMake.TextChanged += new System.EventHandler(this.tbxMake_TextChanged); tbxMake.TabIndex = 1;
this.tbxMake.Leave += new System.EventHandler(this.tbxMake_Leave); tbxMake.TextChanged += tbxMake_TextChanged;
tbxMake.Leave += tbxMake_Leave;
// //
// label2 // label2
// //
this.label2.AutoSize = true; label2.AutoSize = true;
this.label2.Dock = System.Windows.Forms.DockStyle.Fill; label2.Dock = System.Windows.Forms.DockStyle.Fill;
this.label2.Location = new System.Drawing.Point(3, 230); label2.Location = new System.Drawing.Point(3, 288);
this.label2.Name = "label2"; label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(59, 30); label2.Size = new System.Drawing.Size(74, 38);
this.label2.TabIndex = 3; label2.TabIndex = 3;
this.label2.Text = "Model:"; label2.Text = "Model:";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// tbxModel // tbxModel
// //
this.tbxModel.Dock = System.Windows.Forms.DockStyle.Fill; tbxModel.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbxModel.Location = new System.Drawing.Point(68, 233); tbxModel.Location = new System.Drawing.Point(83, 292);
this.tbxModel.Name = "tbxModel"; tbxModel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tbxModel.Size = new System.Drawing.Size(473, 22); tbxModel.Name = "tbxModel";
this.tbxModel.TabIndex = 2; tbxModel.Size = new System.Drawing.Size(450, 27);
this.tbxModel.TextChanged += new System.EventHandler(this.tbxModel_TextChanged); tbxModel.TabIndex = 2;
this.tbxModel.Leave += new System.EventHandler(this.tbxModel_Leave); tbxModel.TextChanged += tbxModel_TextChanged;
tbxModel.Leave += tbxModel_Leave;
// //
// label3 // label3
// //
this.label3.AutoSize = true; label3.AutoSize = true;
this.label3.Dock = System.Windows.Forms.DockStyle.Fill; label3.Dock = System.Windows.Forms.DockStyle.Fill;
this.label3.Location = new System.Drawing.Point(3, 260); label3.Location = new System.Drawing.Point(3, 326);
this.label3.Name = "label3"; label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(59, 30); label3.Size = new System.Drawing.Size(74, 38);
this.label3.TabIndex = 5; label3.TabIndex = 5;
this.label3.Text = "Year:"; label3.Text = "Year:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label4 // label4
// //
this.label4.AutoSize = true; label4.AutoSize = true;
this.label4.Dock = System.Windows.Forms.DockStyle.Fill; label4.Dock = System.Windows.Forms.DockStyle.Fill;
this.label4.Location = new System.Drawing.Point(3, 290); label4.Location = new System.Drawing.Point(3, 364);
this.label4.Name = "label4"; label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(59, 30); label4.Size = new System.Drawing.Size(74, 38);
this.label4.TabIndex = 6; label4.TabIndex = 6;
this.label4.Text = "Color:"; label4.Text = "Color:";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label5 // label5
// //
this.label5.AutoSize = true; label5.AutoSize = true;
this.label5.Dock = System.Windows.Forms.DockStyle.Fill; label5.Dock = System.Windows.Forms.DockStyle.Fill;
this.label5.Location = new System.Drawing.Point(3, 320); label5.Location = new System.Drawing.Point(3, 402);
this.label5.Name = "label5"; label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(59, 30); label5.Size = new System.Drawing.Size(74, 38);
this.label5.TabIndex = 7; label5.TabIndex = 7;
this.label5.Text = "Mileage:"; label5.Text = "Mileage:";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label6 // label6
// //
this.label6.AutoSize = true; label6.AutoSize = true;
this.label6.Dock = System.Windows.Forms.DockStyle.Fill; label6.Dock = System.Windows.Forms.DockStyle.Fill;
this.label6.Location = new System.Drawing.Point(3, 350); label6.Location = new System.Drawing.Point(3, 440);
this.label6.Name = "label6"; label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(59, 30); label6.Size = new System.Drawing.Size(74, 38);
this.label6.TabIndex = 8; label6.TabIndex = 8;
this.label6.Text = "Price:"; label6.Text = "Price:";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// flowLayoutPanel1 // flowLayoutPanel1
// //
this.tableLayoutPanel1.SetColumnSpan(this.flowLayoutPanel1, 2); tableLayoutPanel1.SetColumnSpan(flowLayoutPanel1, 2);
this.flowLayoutPanel1.Controls.Add(this.btnSave); flowLayoutPanel1.Controls.Add(btnSave);
this.flowLayoutPanel1.Controls.Add(this.btnDelete); flowLayoutPanel1.Controls.Add(btnDelete);
this.flowLayoutPanel1.Controls.Add(this.lblID); flowLayoutPanel1.Controls.Add(lblID);
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 383); flowLayoutPanel1.Location = new System.Drawing.Point(3, 482);
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.flowLayoutPanel1.Padding = new System.Windows.Forms.Padding(5); flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size(538, 64); flowLayoutPanel1.Padding = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.flowLayoutPanel1.TabIndex = 9; flowLayoutPanel1.Size = new System.Drawing.Size(530, 76);
flowLayoutPanel1.TabIndex = 9;
// //
// btnSave // btnSave
// //
this.btnSave.Location = new System.Drawing.Point(450, 8); btnSave.Location = new System.Drawing.Point(442, 10);
this.btnSave.Name = "btnSave"; btnSave.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btnSave.Size = new System.Drawing.Size(75, 23); btnSave.Name = "btnSave";
this.btnSave.TabIndex = 7; btnSave.Size = new System.Drawing.Size(75, 29);
this.btnSave.Text = "Save"; btnSave.TabIndex = 7;
this.btnSave.UseVisualStyleBackColor = true; btnSave.Text = "Save";
this.btnSave.Click += new System.EventHandler(this.btnSave_Click); btnSave.UseVisualStyleBackColor = true;
btnSave.Click += btnSave_Click;
// //
// btnDelete // btnDelete
// //
this.btnDelete.Location = new System.Drawing.Point(369, 8); btnDelete.Location = new System.Drawing.Point(361, 10);
this.btnDelete.Name = "btnDelete"; btnDelete.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btnDelete.Size = new System.Drawing.Size(75, 23); btnDelete.Name = "btnDelete";
this.btnDelete.TabIndex = 8; btnDelete.Size = new System.Drawing.Size(75, 29);
this.btnDelete.Text = "Delete"; btnDelete.TabIndex = 8;
this.btnDelete.UseVisualStyleBackColor = true; btnDelete.Text = "Delete";
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); btnDelete.UseVisualStyleBackColor = true;
btnDelete.Click += btnDelete_Click;
// //
// lblID // lblID
// //
this.lblID.AutoSize = true; lblID.AutoSize = true;
this.lblID.Location = new System.Drawing.Point(343, 5); lblID.Location = new System.Drawing.Point(331, 6);
this.lblID.Name = "lblID"; lblID.Name = "lblID";
this.lblID.Size = new System.Drawing.Size(20, 16); lblID.Size = new System.Drawing.Size(24, 20);
this.lblID.TabIndex = 2; lblID.TabIndex = 2;
this.lblID.Text = "ID"; lblID.Text = "ID";
// //
// tbxColor // tbxColor
// //
this.tbxColor.Dock = System.Windows.Forms.DockStyle.Fill; tbxColor.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbxColor.Location = new System.Drawing.Point(68, 293); tbxColor.Location = new System.Drawing.Point(83, 368);
this.tbxColor.Name = "tbxColor"; tbxColor.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tbxColor.Size = new System.Drawing.Size(473, 22); tbxColor.Name = "tbxColor";
this.tbxColor.TabIndex = 4; tbxColor.Size = new System.Drawing.Size(450, 27);
this.tbxColor.TextChanged += new System.EventHandler(this.tbxColor_TextChanged); tbxColor.TabIndex = 4;
this.tbxColor.Leave += new System.EventHandler(this.tbxColor_Leave); tbxColor.TextChanged += tbxColor_TextChanged;
tbxColor.Leave += tbxColor_Leave;
// //
// nudMileage // nudMileage
// //
this.nudMileage.Location = new System.Drawing.Point(68, 323); nudMileage.Location = new System.Drawing.Point(83, 406);
this.nudMileage.Maximum = new decimal(new int[] { nudMileage.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
999999, nudMileage.Maximum = new decimal(new int[] { 999999, 0, 0, 0 });
0, nudMileage.Name = "nudMileage";
0, nudMileage.Size = new System.Drawing.Size(120, 27);
0}); nudMileage.TabIndex = 5;
this.nudMileage.Name = "nudMileage"; nudMileage.ThousandsSeparator = true;
this.nudMileage.Size = new System.Drawing.Size(120, 22); nudMileage.ValueChanged += nudMileage_ValueChanged;
this.nudMileage.TabIndex = 5;
this.nudMileage.ThousandsSeparator = true;
this.nudMileage.ValueChanged += new System.EventHandler(this.nudMileage_ValueChanged);
// //
// nudPrice // nudPrice
// //
this.nudPrice.DecimalPlaces = 2; nudPrice.DecimalPlaces = 2;
this.nudPrice.Location = new System.Drawing.Point(68, 353); nudPrice.Location = new System.Drawing.Point(83, 444);
this.nudPrice.Maximum = new decimal(new int[] { nudPrice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
999999, nudPrice.Maximum = new decimal(new int[] { 999999, 0, 0, 0 });
0, nudPrice.Name = "nudPrice";
0, nudPrice.Size = new System.Drawing.Size(120, 27);
0}); nudPrice.TabIndex = 6;
this.nudPrice.Name = "nudPrice"; nudPrice.ThousandsSeparator = true;
this.nudPrice.Size = new System.Drawing.Size(120, 22); nudPrice.ValueChanged += nudPrice_ValueChanged;
this.nudPrice.TabIndex = 6;
this.nudPrice.ThousandsSeparator = true;
this.nudPrice.ValueChanged += new System.EventHandler(this.nudPrice_ValueChanged);
// //
// tableLayoutPanel2 // tableLayoutPanel2
// //
this.tableLayoutPanel2.ColumnCount = 3; tableLayoutPanel2.ColumnCount = 3;
this.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));
this.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));
this.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));
this.tableLayoutPanel2.Controls.Add(this.nudYear, 0, 0); tableLayoutPanel2.Controls.Add(nudYear, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.lblAge, 1, 0); tableLayoutPanel2.Controls.Add(lblAge, 1, 0);
this.tableLayoutPanel2.Controls.Add(this.tbxAge, 2, 0); tableLayoutPanel2.Controls.Add(tbxAge, 2, 0);
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(68, 263); tableLayoutPanel2.Location = new System.Drawing.Point(83, 330);
this.tableLayoutPanel2.Name = "tableLayoutPanel2"; tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tableLayoutPanel2.RowCount = 1; tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); tableLayoutPanel2.RowCount = 1;
this.tableLayoutPanel2.Size = new System.Drawing.Size(473, 24); tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.TabIndex = 10; tableLayoutPanel2.Size = new System.Drawing.Size(450, 30);
tableLayoutPanel2.TabIndex = 10;
// //
// nudYear // nudYear
// //
this.nudYear.Location = new System.Drawing.Point(3, 3); nudYear.Location = new System.Drawing.Point(3, 4);
this.nudYear.Maximum = new decimal(new int[] { nudYear.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
3000, nudYear.Maximum = new decimal(new int[] { 3000, 0, 0, 0 });
0, nudYear.Name = "nudYear";
0, nudYear.Size = new System.Drawing.Size(120, 27);
0}); nudYear.TabIndex = 3;
this.nudYear.Name = "nudYear"; nudYear.ValueChanged += nudYear_ValueChanged;
this.nudYear.Size = new System.Drawing.Size(120, 22);
this.nudYear.TabIndex = 3;
this.nudYear.ValueChanged += new System.EventHandler(this.nudYear_ValueChanged);
// //
// lblAge // lblAge
// //
this.lblAge.AutoSize = true; lblAge.AutoSize = true;
this.lblAge.Dock = System.Windows.Forms.DockStyle.Fill; lblAge.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblAge.Location = new System.Drawing.Point(160, 0); lblAge.Location = new System.Drawing.Point(153, 0);
this.lblAge.Name = "lblAge"; lblAge.Name = "lblAge";
this.lblAge.RightToLeft = System.Windows.Forms.RightToLeft.No; lblAge.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.lblAge.Size = new System.Drawing.Size(151, 24); lblAge.Size = new System.Drawing.Size(144, 30);
this.lblAge.TabIndex = 4; lblAge.TabIndex = 4;
this.lblAge.Text = "Age"; lblAge.Text = "Age";
this.lblAge.TextAlign = System.Drawing.ContentAlignment.MiddleRight; lblAge.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// tbxAge // tbxAge
// //
this.tbxAge.Enabled = false; tbxAge.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbxAge.Location = new System.Drawing.Point(317, 3); tbxAge.Enabled = false;
this.tbxAge.Name = "tbxAge"; tbxAge.Location = new System.Drawing.Point(303, 4);
this.tbxAge.ReadOnly = true; tbxAge.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tbxAge.Size = new System.Drawing.Size(100, 22); tbxAge.Name = "tbxAge";
this.tbxAge.TabIndex = 5; tbxAge.ReadOnly = true;
tbxAge.Size = new System.Drawing.Size(144, 27);
tbxAge.TabIndex = 5;
// //
// CarDetailsForm // CarDetailsForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(536, 450); ClientSize = new System.Drawing.Size(536, 562);
this.Controls.Add(this.tableLayoutPanel1); Controls.Add(tableLayoutPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false; Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "CarDetailsForm"; MaximizeBox = false;
this.Text = "Details"; Name = "CarDetailsForm";
this.tableLayoutPanel1.ResumeLayout(false); Text = "Details";
this.tableLayoutPanel1.PerformLayout(); tableLayoutPanel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pbxCarImage)).EndInit(); tableLayoutPanel1.PerformLayout();
this.flowLayoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)pbxCarImage).EndInit();
this.flowLayoutPanel1.PerformLayout(); flowLayoutPanel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.nudMileage)).EndInit(); flowLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudPrice)).EndInit(); ((System.ComponentModel.ISupportInitialize)nudMileage).EndInit();
this.tableLayoutPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)nudPrice).EndInit();
this.tableLayoutPanel2.PerformLayout(); tableLayoutPanel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.nudYear)).EndInit(); tableLayoutPanel2.PerformLayout();
this.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)nudYear).EndInit();
this.PerformLayout(); ResumeLayout(false);
PerformLayout();
} }