Merge pull request 'feature/search-design' (#2) from feature/search-design into master

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
2026-03-03 11:34:15 +01:00
9 changed files with 445 additions and 325 deletions

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();
} }

View File

@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<root> <root>
<!-- <!--
Microsoft ResX Schema Microsoft ResX Schema
Version 2.0 Version 2.0
The primary goals of this format is to allow a simple XML format The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes various data types are done through the TypeConverter classes
associated with the data types. associated with the data types.
Example: Example:
... ado.net/XML headers & schema ... ... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader> <resheader name="version">2.0</resheader>
@@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment> <comment>This is a comment</comment>
</data> </data>
There are any number of "resheader" rows that contain simple There are any number of "resheader" rows that contain simple
name/value pairs. name/value pairs.
Each data row contains a name, and value. The row also contains a Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture. text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the Classes that don't support this are serialized and stored with the
mimetype set. mimetype set.
The mimetype is used for serialized objects, and tells the The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly: extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below. read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64 mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64 mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64 mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter : using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
--> -->

View File

@@ -28,12 +28,15 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
flpCars = new System.Windows.Forms.FlowLayoutPanel(); flpCars = new System.Windows.Forms.FlowLayoutPanel();
tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); tlpControls = new System.Windows.Forms.TableLayoutPanel();
tbxSearch = new System.Windows.Forms.TextBox();
btnNewCar = new System.Windows.Forms.Button(); btnNewCar = new System.Windows.Forms.Button();
tlpSearch = new System.Windows.Forms.TableLayoutPanel();
tbxSearch = new System.Windows.Forms.TextBox();
pbxSearch = new System.Windows.Forms.PictureBox();
menuStrip1 = new System.Windows.Forms.MenuStrip(); menuStrip1 = new System.Windows.Forms.MenuStrip();
fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -42,8 +45,11 @@
importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
recentFilesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); recentFilesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
revealInFileExplorerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); revealInFileExplorerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
imageList1 = new System.Windows.Forms.ImageList(components);
tableLayoutPanel1.SuspendLayout(); tableLayoutPanel1.SuspendLayout();
tableLayoutPanel2.SuspendLayout(); tlpControls.SuspendLayout();
tlpSearch.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pbxSearch).BeginInit();
menuStrip1.SuspendLayout(); menuStrip1.SuspendLayout();
SuspendLayout(); SuspendLayout();
// //
@@ -52,7 +58,7 @@
tableLayoutPanel1.ColumnCount = 1; tableLayoutPanel1.ColumnCount = 1;
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel1.Controls.Add(flpCars, 0, 2); tableLayoutPanel1.Controls.Add(flpCars, 0, 2);
tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 1); tableLayoutPanel1.Controls.Add(tlpControls, 0, 1);
tableLayoutPanel1.Controls.Add(menuStrip1, 0, 0); tableLayoutPanel1.Controls.Add(menuStrip1, 0, 0);
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
@@ -77,46 +83,85 @@
flpCars.Size = new System.Drawing.Size(796, 515); flpCars.Size = new System.Drawing.Size(796, 515);
flpCars.TabIndex = 1; flpCars.TabIndex = 1;
// //
// tableLayoutPanel2 // tlpControls
// //
tableLayoutPanel2.ColumnCount = 2; tlpControls.ColumnCount = 2;
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); tlpControls.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); tlpControls.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F));
tableLayoutPanel2.Controls.Add(tbxSearch, 0, 0); tlpControls.Controls.Add(btnNewCar, 1, 0);
tableLayoutPanel2.Controls.Add(btnNewCar, 1, 0); tlpControls.Controls.Add(tlpSearch, 0, 0);
tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; tlpControls.Dock = System.Windows.Forms.DockStyle.Fill;
tableLayoutPanel2.Location = new System.Drawing.Point(3, 32); tlpControls.Location = new System.Drawing.Point(0, 28);
tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); tlpControls.Margin = new System.Windows.Forms.Padding(0);
tableLayoutPanel2.Name = "tableLayoutPanel2"; tlpControls.Name = "tlpControls";
tableLayoutPanel2.RowCount = 1; tlpControls.RowCount = 1;
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); tlpControls.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 42F)); tlpControls.Size = new System.Drawing.Size(802, 50);
tableLayoutPanel2.Size = new System.Drawing.Size(796, 42); tlpControls.TabIndex = 2;
tableLayoutPanel2.TabIndex = 2;
//
// tbxSearch
//
tbxSearch.Dock = System.Windows.Forms.DockStyle.Fill;
tbxSearch.Location = new System.Drawing.Point(3, 4);
tbxSearch.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
tbxSearch.Name = "tbxSearch";
tbxSearch.Size = new System.Drawing.Size(392, 27);
tbxSearch.TabIndex = 3;
tbxSearch.TextChanged += tbxSearch_TextChanged;
// //
// btnNewCar // btnNewCar
// //
btnNewCar.Location = new System.Drawing.Point(401, 4); btnNewCar.BackColor = System.Drawing.SystemColors.MenuHighlight;
btnNewCar.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); btnNewCar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
btnNewCar.Cursor = System.Windows.Forms.Cursors.Hand;
btnNewCar.Dock = System.Windows.Forms.DockStyle.Fill;
btnNewCar.FlatAppearance.BorderSize = 0;
btnNewCar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
btnNewCar.Image = (System.Drawing.Image)resources.GetObject("btnNewCar.Image");
btnNewCar.Location = new System.Drawing.Point(722, 0);
btnNewCar.Margin = new System.Windows.Forms.Padding(0);
btnNewCar.Name = "btnNewCar"; btnNewCar.Name = "btnNewCar";
btnNewCar.Size = new System.Drawing.Size(75, 29); btnNewCar.Size = new System.Drawing.Size(80, 50);
btnNewCar.TabIndex = 4; btnNewCar.TabIndex = 4;
btnNewCar.Text = "Add Car"; btnNewCar.UseVisualStyleBackColor = false;
btnNewCar.UseVisualStyleBackColor = true;
btnNewCar.Click += btnNewCar_Click; btnNewCar.Click += btnNewCar_Click;
// //
// tlpSearch
//
tlpSearch.BackColor = System.Drawing.SystemColors.Window;
tlpSearch.ColumnCount = 2;
tlpSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F));
tlpSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tlpSearch.Controls.Add(tbxSearch, 1, 0);
tlpSearch.Controls.Add(pbxSearch, 0, 0);
tlpSearch.Dock = System.Windows.Forms.DockStyle.Fill;
tlpSearch.Location = new System.Drawing.Point(0, 0);
tlpSearch.Margin = new System.Windows.Forms.Padding(0);
tlpSearch.Name = "tlpSearch";
tlpSearch.RowCount = 1;
tlpSearch.RowStyles.Add(new System.Windows.Forms.RowStyle());
tlpSearch.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
tlpSearch.Size = new System.Drawing.Size(722, 50);
tlpSearch.TabIndex = 5;
//
// tbxSearch
//
tbxSearch.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
tbxSearch.BackColor = System.Drawing.SystemColors.Window;
tbxSearch.BorderStyle = System.Windows.Forms.BorderStyle.None;
tbxSearch.Font = new System.Drawing.Font("Segoe UI", 9F);
tbxSearch.Location = new System.Drawing.Point(53, 15);
tbxSearch.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
tbxSearch.Name = "tbxSearch";
tbxSearch.Size = new System.Drawing.Size(666, 20);
tbxSearch.TabIndex = 3;
tbxSearch.TextChanged += tbxSearch_TextChanged;
//
// pbxSearch
//
pbxSearch.Dock = System.Windows.Forms.DockStyle.Fill;
pbxSearch.Image = (System.Drawing.Image)resources.GetObject("pbxSearch.Image");
pbxSearch.Location = new System.Drawing.Point(0, 0);
pbxSearch.Margin = new System.Windows.Forms.Padding(0);
pbxSearch.Name = "pbxSearch";
pbxSearch.Size = new System.Drawing.Size(50, 50);
pbxSearch.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
pbxSearch.TabIndex = 0;
pbxSearch.TabStop = false;
//
// menuStrip1 // menuStrip1
// //
menuStrip1.BackColor = System.Drawing.SystemColors.ButtonFace;
menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { fileToolStripMenuItem }); menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { fileToolStripMenuItem });
menuStrip1.Location = new System.Drawing.Point(0, 0); menuStrip1.Location = new System.Drawing.Point(0, 0);
@@ -174,6 +219,14 @@
revealInFileExplorerToolStripMenuItem.Text = "Reveal in File Explorer"; revealInFileExplorerToolStripMenuItem.Text = "Reveal in File Explorer";
revealInFileExplorerToolStripMenuItem.Click += revealInFileExplorerToolStripMenuItem_Click; revealInFileExplorerToolStripMenuItem.Click += revealInFileExplorerToolStripMenuItem_Click;
// //
// imageList1
//
imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
imageList1.ImageStream = (System.Windows.Forms.ImageListStreamer)resources.GetObject("imageList1.ImageStream");
imageList1.TransparentColor = System.Drawing.Color.Transparent;
imageList1.Images.SetKeyName(0, "Icon_Search.png");
imageList1.Images.SetKeyName(1, "Icon_Add.png");
//
// MainForm // MainForm
// //
AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
@@ -188,8 +241,10 @@
Text = "Carmanager 3"; Text = "Carmanager 3";
tableLayoutPanel1.ResumeLayout(false); tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel1.PerformLayout(); tableLayoutPanel1.PerformLayout();
tableLayoutPanel2.ResumeLayout(false); tlpControls.ResumeLayout(false);
tableLayoutPanel2.PerformLayout(); tlpSearch.ResumeLayout(false);
tlpSearch.PerformLayout();
((System.ComponentModel.ISupportInitialize)pbxSearch).EndInit();
menuStrip1.ResumeLayout(false); menuStrip1.ResumeLayout(false);
menuStrip1.PerformLayout(); menuStrip1.PerformLayout();
ResumeLayout(false); ResumeLayout(false);
@@ -200,7 +255,7 @@
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.FlowLayoutPanel flpCars; private System.Windows.Forms.FlowLayoutPanel flpCars;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.TableLayoutPanel tlpControls;
private System.Windows.Forms.TextBox tbxSearch; private System.Windows.Forms.TextBox tbxSearch;
private System.Windows.Forms.Button btnNewCar; private System.Windows.Forms.Button btnNewCar;
private System.Windows.Forms.MenuStrip menuStrip1; private System.Windows.Forms.MenuStrip menuStrip1;
@@ -211,5 +266,8 @@
private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem recentFilesToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem recentFilesToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem revealInFileExplorerToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem revealInFileExplorerToolStripMenuItem;
private System.Windows.Forms.TableLayoutPanel tlpSearch;
private System.Windows.Forms.PictureBox pbxSearch;
private System.Windows.Forms.ImageList imageList1;
} }
} }

View File

@@ -117,10 +117,61 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnNewCar.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1
MAAA6mAAADqYAAAXcJy6UTwAAAAHdElNRQfqAwMKFjQepYPOAAAAXElEQVQ4T2NgGLTg////KJhkANVY
CMXo0oQB1IANUIwuTRhADVgDxejSmADdz+gGoGMMgORnkJNhGp9AMYwPksMeJtQyAB0T7wV0gG4AyQBq
AMXRSHFCIt7PAwYAew8GeBJtChYAAAAASUVORK5CYII=
</value>
</data>
<data name="pbxSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1
MAAA6mAAADqYAAAXcJy6UTwAAAAHdElNRQfqAwMKGBnF+fI1AAABgUlEQVQ4T5WSTyuEURjFb00Ua393
SlZSc++ZKDsfwMJKvoCFhZXlKGQlhc3MPSSUUsTeB7BnI3sy2Mr66LnvOxrjNfLUU2+39/ye55x7ncsL
lPN1uRCVvptdrmVnf1agUvu6ukANghoC1Td9IgeD/gYZp9xUzMSBmgC1A+oZ1Buoe0QtIqo/QVgAmanJ
VbIJJr4FdQdqGdR8oLZAvSDqKET1FFqxw3Jd3YHaM7GnxiZz/+40bbUA6jFEzRZukIdlnhs2efJAzkc5
b3kYPKoX1DWos04AC8w8z6fbiHIjR1n6lg2oC1BXnQB9oB7Ms1vJRJXchqeGQd0EarcQYFOmD9PPS6Be
Q0yebW07M7HdSsNHjTav+lu1PJoBUMegnnLPtvZNns17oKp+X6Vkq/02mhAf1YOoOVDnoC5BbYdscjVQ
H4Fa87UOkDywH+2pkokTJKpaziGFmbTX1xPPIKugPkCtV/bTk2//vbhaNiuB2gC1Cf4DYNViyYRJ/C+A
VXs21p8MAVc2KdQAvwAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>153, 17</value>
</metadata>
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAEZTeXN0ZW0uV2luZG93cy5Gb3JtcywgQ3VsdHVyZT1uZXV0cmFs
LCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5BQEAAAAmU3lzdGVtLldpbmRvd3MuRm9ybXMu
SW1hZ2VMaXN0U3RyZWFtZXIBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAlgQAAAJNU0Z0AUkBTAIBAQIB
AAEwAQABMAEAARQBAAEUAQAE/wEhAQAI/wFCAU0BNgcAATYDAAEoAwABUAMAARQDAAEBAQABIAYAARn/
AP8AzAADCAEKAyMBMgMuAUYDFgEe/wAtAAMIAQoDIwEyAk8BTgGXAlYBVAGrAy4BRv8ALQADIwEyAk8B
TgGXAf8BmQEzAf8DTgGWAyMBMiwAA28BzAT/9AADKAE8Ak8BTgGXAWoBYAFaAdMDTgGWAyMBMgMIAQos
AANvAcwE/9QAAwMBBAMPARMDRAF7Ak8BTgGXA00BkgNAAW4DBgEHAykBPQNOAZgBXQFbAVkBwAJPAU4B
lwMjATIDCAEKMAADbwHMBP/QAAMTARoDMQFNA0QBeQFeAVwBWQHBAWgBYQFbAc8BYQFeAVsBygFYAVcB
VQG0Az8BbQNSAaMBXQFbAVkBwANOAZgDKAE8OAADbwHMBP/MAAMDAQQDMQFNAlkBVwG8AWoBYwFbAc4D
SwGMA0ABbwNAAW8DSwGMAWoBYwFbAc4BuQGCAUYB9AJTAVEBogMpAT08AANvAcwE/8wAAw8BEwNEAXkB
agFjAVsBzgMGAQgEAggABAIDBgEIAWoBYwFbAc4DPgFrAwQBBSgAA28BzCz/uAADRAF5AVwBWwFaAb8D
SwGMBAIQAAQCA0sBjAJaAVgBtwNBAXEoAANUAaMDbwHMA28BzANvAcwDbwHMA8sB9QT/A28BzANvAcwD
bwHMA28BzANvAcy4AAJPAU4BlwFnAWABXQHOA0ABbxgAA0ABbwFiAV8BWwHLA04BlDwAA28BzAT/zAAC
TwFOAZcBZwFgAV0BzgNAAW8YAANAAW8BZAFeAVsBzQNOAZY8AANvAcwE/8wAA0QBegFdAVsBWQHAA0sB
jAQCEAAEAgNLAYwBXQFaAVgBvQJEAUMBdzwAA28BzAT/zAADDgESA0QBeAFqAWMBWwHOAwYBCAQCCAAE
AgMGAQgBagFjAVsBzgJDAUIBdQMMAQ88AANvAcwE/8wAAwMBBAMxAU0CWQFXAbwBagFjAVsBzgNLAYwD
QAFvA0ABbwNLAYwBagFjAVsBzgJaAVgBugMxAUwDAgEDPAADVAGjA28BzNAAAxMBGgMxAUwCQwFCAXUB
XQFcAVkBvgFnAWABXQHOAWcBYAFdAc4BXQFaAVgBvQNCAXQDMAFLAxMBGv8AHQADAgEDAwwBDwNEAXgD
TgGWA04BlgJEAUMBdwMLAQ4DAgED/wD/AP8AkwABQgFNAT4HAAE+AwABKAMAAVADAAEUAwABAQEAAQEF
AAHwFwAD/wEABf8HAAX/BwAB/wH8AT8C/wcAAf8B+AE/Av8HAAH/AfgBPwH5Af8HAAH/AfABPwH5Af8H
AAHwAQABfwH5Af8HAAHgAQEB/wH5Af8HAAHAAQMB/wH5Af8HAAHBAYMB/wEAAQ8HAALDAf8BAAEPBwAB
xwHjAf8B+QH/BwABxwHjAf8B+QH/BwACwwH/AfkB/wcAAcEBgwH/AfkB/wcAAcABAwH/AfkB/wcAAeAB
BwP/BwAB8AEPA/8HAAX/BwAF/wcACw==
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAAEAZGQAAAEAIACoogAAFgAAACgAAABkAAAAyAAAAAEAIAAAAAAAQJwAABMLAAATCwAAAAAAAAAA AAABAAEAZGQAAAEAIACoogAAFgAAACgAAABkAAAAyAAAAAEAIAAAAAAAQJwAABMLAAATCwAAAAAAAAAA

View File

@@ -46,7 +46,7 @@
mimetype: application/x-microsoft.net.object.binary.base64 mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64 mimetype: application/x-microsoft.net.object.soap.base64
@@ -60,6 +60,7 @@
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
--> -->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true"> <xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType> <xsd:complexType>
<xsd:choice maxOccurs="unbounded"> <xsd:choice maxOccurs="unbounded">
@@ -68,9 +69,10 @@
<xsd:sequence> <xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" /> <xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="name" type="xsd:string" /> <xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
<xsd:element name="assembly"> <xsd:element name="assembly">
@@ -85,9 +87,10 @@
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
<xsd:element name="resheader"> <xsd:element name="resheader">
@@ -109,9 +112,16 @@
<value>2.0</value> <value>2.0</value>
</resheader> </resheader>
<resheader name="reader"> <resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Icon_Add" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icon_Add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Icon_Search" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icon_Search.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root> </root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B