Car Sales MSM in Visual Studio

profileozaosijnmenthexp
i9-used_car_sales__management_system.rar

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System.sln

Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Express 2013 for Windows Desktop VisualStudioVersion = 12.0.31101.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Used_Car_Sales_ Management_System", "Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System.csproj", "{8008D75D-E929-4890-B6C6-15C90DD5E28F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Debug|x64 = Debug|x64 Release|Any CPU = Release|Any CPU Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {8008D75D-E929-4890-B6C6-15C90DD5E28F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8008D75D-E929-4890-B6C6-15C90DD5E28F}.Debug|Any CPU.Build.0 = Debug|Any CPU {8008D75D-E929-4890-B6C6-15C90DD5E28F}.Debug|x64.ActiveCfg = Debug|x64 {8008D75D-E929-4890-B6C6-15C90DD5E28F}.Debug|x64.Build.0 = Debug|x64 {8008D75D-E929-4890-B6C6-15C90DD5E28F}.Release|Any CPU.ActiveCfg = Release|Any CPU {8008D75D-E929-4890-B6C6-15C90DD5E28F}.Release|Any CPU.Build.0 = Release|Any CPU {8008D75D-E929-4890-B6C6-15C90DD5E28F}.Release|x64.ActiveCfg = Release|x64 {8008D75D-E929-4890-B6C6-15C90DD5E28F}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System.v12.suo

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System.v11.suo

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/App.config

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmCustomers.cs

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Used_Car_Sales__Management_System { public partial class frmCustomers : Form { public frmCustomers() { InitializeComponent(); timer1.Start(); } private void timer1_Tick(object sender, EventArgs e) { DateTime dateTime = DateTime.Now; this.lblDateTime.Text = dateTime.ToString(); } private void btnCars_Click(object sender, EventArgs e) { this.Hide(); Form frmMain = new frmMain(); frmMain.Show(); } private void btnMaintance_Click(object sender, EventArgs e) { this.Hide(); Form frmMaintance = new frmMaintenance(); frmMaintance.Show(); } private void btnCustomers_Click(object sender, EventArgs e) { } private void btnSales_Click(object sender, EventArgs e) { this.Hide(); Form frmSales = new frmSales(); frmSales.Show(); } private void btnHelp_Click(object sender, EventArgs e) { this.Hide(); Form frmHelp = new frmHelp(); frmHelp.Show(); } private void frmCustomers_FormClosing(object sender, FormClosingEventArgs e) { DialogResult dialog = MessageBox.Show("Do you really want to close the program?", "Exit", MessageBoxButtons.YesNo); if (dialog == DialogResult.Yes) { Application.ExitThread(); } else if (dialog == DialogResult.No) { e.Cancel = true; } } } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmCustomers.Designer.cs

namespace Used_Car_Sales__Management_System { partial class frmCustomers { /// <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() { this.components = new System.ComponentModel.Container(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.lblDateTime = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.lblUsed = new System.Windows.Forms.Label(); this.lblDMotors = new System.Windows.Forms.Label(); this.btnHelp = new System.Windows.Forms.Button(); this.btnSales = new System.Windows.Forms.Button(); this.btnCustomers = new System.Windows.Forms.Button(); this.btnMaintance = new System.Windows.Forms.Button(); this.btnCars = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // lblDateTime // this.lblDateTime.AutoSize = true; this.lblDateTime.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.lblDateTime.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDateTime.Location = new System.Drawing.Point(0, 80); this.lblDateTime.Name = "lblDateTime"; this.lblDateTime.Size = new System.Drawing.Size(80, 19); this.lblDateTime.TabIndex = 39; this.lblDateTime.Text = "DateTime"; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.panel1.Controls.Add(this.lblUsed); this.panel1.Controls.Add(this.lblDMotors); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1354, 100); this.panel1.TabIndex = 38; // // lblUsed // this.lblUsed.AutoSize = true; this.lblUsed.Location = new System.Drawing.Point(393, 61); this.lblUsed.Name = "lblUsed"; this.lblUsed.Size = new System.Drawing.Size(279, 19); this.lblUsed.TabIndex = 3; this.lblUsed.Text = "Used Car Sales Management System"; // // lblDMotors // this.lblDMotors.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDMotors.AutoSize = true; this.lblDMotors.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDMotors.Location = new System.Drawing.Point(460, 19); this.lblDMotors.Name = "lblDMotors"; this.lblDMotors.Size = new System.Drawing.Size(144, 36); this.lblDMotors.TabIndex = 0; this.lblDMotors.Text = "D Motors\r\n"; // // btnHelp // this.btnHelp.Cursor = System.Windows.Forms.Cursors.Hand; this.btnHelp.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatAppearance.BorderSize = 2; this.btnHelp.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnHelp.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnHelp.Location = new System.Drawing.Point(748, 98); this.btnHelp.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(100, 33); this.btnHelp.TabIndex = 55; this.btnHelp.Text = "&Help"; this.btnHelp.UseVisualStyleBackColor = true; this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click); // // btnSales // this.btnSales.Cursor = System.Windows.Forms.Cursors.Hand; this.btnSales.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatAppearance.BorderSize = 2; this.btnSales.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSales.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSales.Location = new System.Drawing.Point(626, 98); this.btnSales.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnSales.Name = "btnSales"; this.btnSales.Size = new System.Drawing.Size(100, 33); this.btnSales.TabIndex = 54; this.btnSales.Text = "&Sales"; this.btnSales.UseVisualStyleBackColor = true; this.btnSales.Click += new System.EventHandler(this.btnSales_Click); // // btnCustomers // this.btnCustomers.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCustomers.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatAppearance.BorderSize = 2; this.btnCustomers.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCustomers.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCustomers.Location = new System.Drawing.Point(489, 98); this.btnCustomers.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCustomers.Name = "btnCustomers"; this.btnCustomers.Size = new System.Drawing.Size(115, 33); this.btnCustomers.TabIndex = 53; this.btnCustomers.Text = "&Customers"; this.btnCustomers.UseVisualStyleBackColor = true; this.btnCustomers.Click += new System.EventHandler(this.btnCustomers_Click); // // btnMaintance // this.btnMaintance.Cursor = System.Windows.Forms.Cursors.Hand; this.btnMaintance.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatAppearance.BorderSize = 2; this.btnMaintance.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnMaintance.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnMaintance.Location = new System.Drawing.Point(345, 98); this.btnMaintance.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnMaintance.Name = "btnMaintance"; this.btnMaintance.Size = new System.Drawing.Size(122, 33); this.btnMaintance.TabIndex = 52; this.btnMaintance.Text = "&Maintenance"; this.btnMaintance.UseVisualStyleBackColor = true; this.btnMaintance.Click += new System.EventHandler(this.btnMaintance_Click); // // btnCars // this.btnCars.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCars.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatAppearance.BorderSize = 2; this.btnCars.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCars.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCars.Location = new System.Drawing.Point(223, 98); this.btnCars.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCars.Name = "btnCars"; this.btnCars.Size = new System.Drawing.Size(100, 33); this.btnCars.TabIndex = 51; this.btnCars.Text = "&Cars"; this.btnCars.UseVisualStyleBackColor = true; this.btnCars.Click += new System.EventHandler(this.btnCars_Click); // // frmCustomers // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1354, 433); this.Controls.Add(this.btnHelp); this.Controls.Add(this.btnSales); this.Controls.Add(this.btnCustomers); this.Controls.Add(this.btnMaintance); this.Controls.Add(this.btnCars); this.Controls.Add(this.lblDateTime); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "frmCustomers"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Customers"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmCustomers_FormClosing); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Label lblDateTime; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label lblUsed; private System.Windows.Forms.Label lblDMotors; private System.Windows.Forms.Button btnHelp; private System.Windows.Forms.Button btnSales; private System.Windows.Forms.Button btnCustomers; private System.Windows.Forms.Button btnMaintance; private System.Windows.Forms.Button btnCars; } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmCustomers.resx

text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 17, 17 43

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmHelp.cs

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Used_Car_Sales__Management_System { public partial class frmHelp : Form { public frmHelp() { InitializeComponent(); timer1.Start(); } private void timer1_Tick(object sender, EventArgs e) { DateTime dateTime = DateTime.Now; this.lblDateTime.Text = dateTime.ToString(); } private void btnCars_Click(object sender, EventArgs e) { this.Hide(); Form frmMain = new frmMain(); frmMain.Show(); } private void btnMaintance_Click(object sender, EventArgs e) { this.Hide(); Form frmMaintance = new frmMaintenance(); frmMaintance.Show(); } private void btnCustomers_Click(object sender, EventArgs e) { this.Hide(); Form frmCustomers = new frmCustomers(); frmCustomers.Show(); } private void btnSales_Click(object sender, EventArgs e) { this.Hide(); Form frmSales = new frmSales(); frmSales.Show(); } private void frmHelp_FormClosing(object sender, FormClosingEventArgs e) { DialogResult dialog = MessageBox.Show("Do you really want to close the program?", "Exit", MessageBoxButtons.YesNo); if (dialog == DialogResult.Yes) { Application.ExitThread(); } else if (dialog == DialogResult.No) { e.Cancel = true; } } } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmHelp.Designer.cs

namespace Used_Car_Sales__Management_System { partial class frmHelp { /// <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() { this.components = new System.ComponentModel.Container(); this.lblDateTime = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.lblUsed = new System.Windows.Forms.Label(); this.lblDMotors = new System.Windows.Forms.Label(); this.btnHelp = new System.Windows.Forms.Button(); this.btnSales = new System.Windows.Forms.Button(); this.btnCustomers = new System.Windows.Forms.Button(); this.btnMaintance = new System.Windows.Forms.Button(); this.btnCars = new System.Windows.Forms.Button(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.panel1.SuspendLayout(); this.SuspendLayout(); // // lblDateTime // this.lblDateTime.AutoSize = true; this.lblDateTime.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.lblDateTime.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDateTime.Location = new System.Drawing.Point(1, 81); this.lblDateTime.Name = "lblDateTime"; this.lblDateTime.Size = new System.Drawing.Size(80, 19); this.lblDateTime.TabIndex = 13; this.lblDateTime.Text = "DateTime"; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.panel1.Controls.Add(this.lblDateTime); this.panel1.Controls.Add(this.lblUsed); this.panel1.Controls.Add(this.lblDMotors); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1030, 100); this.panel1.TabIndex = 12; // // lblUsed // this.lblUsed.AutoSize = true; this.lblUsed.Location = new System.Drawing.Point(393, 61); this.lblUsed.Name = "lblUsed"; this.lblUsed.Size = new System.Drawing.Size(279, 19); this.lblUsed.TabIndex = 3; this.lblUsed.Text = "Used Car Sales Management System"; // // lblDMotors // this.lblDMotors.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDMotors.AutoSize = true; this.lblDMotors.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDMotors.Location = new System.Drawing.Point(460, 19); this.lblDMotors.Name = "lblDMotors"; this.lblDMotors.Size = new System.Drawing.Size(144, 36); this.lblDMotors.TabIndex = 0; this.lblDMotors.Text = "D Motors\r\n"; // // btnHelp // this.btnHelp.Cursor = System.Windows.Forms.Cursors.Hand; this.btnHelp.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatAppearance.BorderSize = 2; this.btnHelp.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnHelp.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnHelp.Location = new System.Drawing.Point(749, 99); this.btnHelp.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(100, 33); this.btnHelp.TabIndex = 28; this.btnHelp.Text = "&Help"; this.btnHelp.UseVisualStyleBackColor = true; // // btnSales // this.btnSales.Cursor = System.Windows.Forms.Cursors.Hand; this.btnSales.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatAppearance.BorderSize = 2; this.btnSales.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSales.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSales.Location = new System.Drawing.Point(627, 99); this.btnSales.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnSales.Name = "btnSales"; this.btnSales.Size = new System.Drawing.Size(100, 33); this.btnSales.TabIndex = 27; this.btnSales.Text = "&Sales"; this.btnSales.UseVisualStyleBackColor = true; this.btnSales.Click += new System.EventHandler(this.btnSales_Click); // // btnCustomers // this.btnCustomers.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCustomers.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatAppearance.BorderSize = 2; this.btnCustomers.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCustomers.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCustomers.Location = new System.Drawing.Point(490, 99); this.btnCustomers.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCustomers.Name = "btnCustomers"; this.btnCustomers.Size = new System.Drawing.Size(115, 33); this.btnCustomers.TabIndex = 26; this.btnCustomers.Text = "&Customers"; this.btnCustomers.UseVisualStyleBackColor = true; this.btnCustomers.Click += new System.EventHandler(this.btnCustomers_Click); // // btnMaintance // this.btnMaintance.Cursor = System.Windows.Forms.Cursors.Hand; this.btnMaintance.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatAppearance.BorderSize = 2; this.btnMaintance.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnMaintance.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnMaintance.Location = new System.Drawing.Point(346, 99); this.btnMaintance.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnMaintance.Name = "btnMaintance"; this.btnMaintance.Size = new System.Drawing.Size(122, 33); this.btnMaintance.TabIndex = 25; this.btnMaintance.Text = "&Maintenance"; this.btnMaintance.UseVisualStyleBackColor = true; this.btnMaintance.Click += new System.EventHandler(this.btnMaintance_Click); // // btnCars // this.btnCars.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCars.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatAppearance.BorderSize = 2; this.btnCars.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCars.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCars.Location = new System.Drawing.Point(224, 99); this.btnCars.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCars.Name = "btnCars"; this.btnCars.Size = new System.Drawing.Size(100, 33); this.btnCars.TabIndex = 24; this.btnCars.Text = "&Cars"; this.btnCars.UseVisualStyleBackColor = true; this.btnCars.Click += new System.EventHandler(this.btnCars_Click); // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // frmHelp // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1030, 427); this.Controls.Add(this.btnHelp); this.Controls.Add(this.btnSales); this.Controls.Add(this.btnCustomers); this.Controls.Add(this.btnMaintance); this.Controls.Add(this.btnCars); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "frmHelp"; this.Text = "Help"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmHelp_FormClosing); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Label lblDateTime; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label lblUsed; private System.Windows.Forms.Label lblDMotors; private System.Windows.Forms.Button btnHelp; private System.Windows.Forms.Button btnSales; private System.Windows.Forms.Button btnCustomers; private System.Windows.Forms.Button btnMaintance; private System.Windows.Forms.Button btnCars; private System.Windows.Forms.Timer timer1; } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmHelp.resx

text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 17, 17

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmLogin.cs

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.OleDb; namespace Used_Car_Sales__Management_System { public partial class frmLogin : Form { private OleDbConnection connection = new OleDbConnection(); public frmLogin() { InitializeComponent(); connection.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=used_car_sales_management_system.accdb; Persist Security Info=False;"; timer1.Start(); } private void frmLogin_Load(object sender, EventArgs e) { try { connection.Open(); checkConnection.Text = "Connection Successful"; txtUsername.Select(); connection.Close(); } catch (Exception ex) { MessageBox.Show("Error" + ex); } } private void btnLogin_Click(object sender, EventArgs e) { connection.Open(); OleDbCommand command = new OleDbCommand(); command.Connection = connection; command.CommandText = "select * From tbl_salesperson where username = '" + txtUsername.Text + "' and password = '" + txtPassword.Text + "'"; OleDbDataReader reader = command.ExecuteReader(); int count = 0; while (reader.Read()) { count = count + 1; //count++; // } if (count == 1) { MessageBox.Show("You have been successfully loged in. Please click 'OK' to continue"); this.Hide(); Form frmMain = new frmMain(); frmMain.Show(); } else if (count > 1) { MessageBox.Show("Duplicate Username and Password!"); } else { MessageBox.Show("Your Username or Password is incorrect! Please try again."); txtUsername.Text = ""; txtPassword.Text = ""; txtUsername.Select(); } connection.Close(); } private void btnExit_Click(object sender, EventArgs e) { Application.Exit(); } private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { //show new salesmen registration form Form frmRegistration = new frmRegistration(); frmRegistration.Show(); } private void timer1_Tick(object sender, EventArgs e) { DateTime dateTime = DateTime.Now; this.lblDateTime.Text = dateTime.ToString(); } } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmLogin.Designer.cs

namespace Used_Car_Sales__Management_System { partial class frmLogin { /// <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() { this.components = new System.ComponentModel.Container(); this.panel1 = new System.Windows.Forms.Panel(); this.lblUsed = new System.Windows.Forms.Label(); this.lblWelcome = new System.Windows.Forms.Label(); this.lblDMotors = new System.Windows.Forms.Label(); this.lblUsername = new System.Windows.Forms.Label(); this.lblPassword = new System.Windows.Forms.Label(); this.btnLogin = new System.Windows.Forms.Button(); this.txtUsername = new System.Windows.Forms.TextBox(); this.txtPassword = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.btnExit = new System.Windows.Forms.Button(); this.checkConnection = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblRegister = new System.Windows.Forms.Label(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.lblDateTime = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.panel1.Controls.Add(this.lblUsed); this.panel1.Controls.Add(this.lblWelcome); this.panel1.Controls.Add(this.lblDMotors); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(530, 100); this.panel1.TabIndex = 0; // // lblUsed // this.lblUsed.AutoSize = true; this.lblUsed.Location = new System.Drawing.Point(125, 68); this.lblUsed.Name = "lblUsed"; this.lblUsed.Size = new System.Drawing.Size(279, 19); this.lblUsed.TabIndex = 3; this.lblUsed.Text = "Used Car Sales Management System"; // // lblWelcome // this.lblWelcome.AutoSize = true; this.lblWelcome.Location = new System.Drawing.Point(226, 0); this.lblWelcome.Name = "lblWelcome"; this.lblWelcome.Size = new System.Drawing.Size(77, 19); this.lblWelcome.TabIndex = 1; this.lblWelcome.Text = "Welcome"; // // lblDMotors // this.lblDMotors.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDMotors.AutoSize = true; this.lblDMotors.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDMotors.Location = new System.Drawing.Point(192, 26); this.lblDMotors.Name = "lblDMotors"; this.lblDMotors.Size = new System.Drawing.Size(144, 36); this.lblDMotors.TabIndex = 0; this.lblDMotors.Text = "D Motors\r\n"; // // lblUsername // this.lblUsername.AutoSize = true; this.lblUsername.Location = new System.Drawing.Point(105, 175); this.lblUsername.Name = "lblUsername"; this.lblUsername.Size = new System.Drawing.Size(88, 19); this.lblUsername.TabIndex = 0; this.lblUsername.Text = "Username:"; // // lblPassword // this.lblPassword.AutoSize = true; this.lblPassword.Location = new System.Drawing.Point(105, 205); this.lblPassword.Name = "lblPassword"; this.lblPassword.Size = new System.Drawing.Size(81, 19); this.lblPassword.TabIndex = 1; this.lblPassword.Text = "Password:"; // // btnLogin // this.btnLogin.Cursor = System.Windows.Forms.Cursors.Hand; this.btnLogin.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.btnLogin.FlatAppearance.BorderSize = 2; this.btnLogin.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.btnLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnLogin.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnLogin.Location = new System.Drawing.Point(199, 242); this.btnLogin.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnLogin.Name = "btnLogin"; this.btnLogin.Size = new System.Drawing.Size(100, 33); this.btnLogin.TabIndex = 2; this.btnLogin.Text = "&Login"; this.btnLogin.UseVisualStyleBackColor = true; this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click); // // txtUsername // this.txtUsername.Font = new System.Drawing.Font("Arial", 12.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtUsername.Location = new System.Drawing.Point(199, 172); this.txtUsername.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtUsername.Name = "txtUsername"; this.txtUsername.Size = new System.Drawing.Size(205, 27); this.txtUsername.TabIndex = 3; // // txtPassword // this.txtPassword.Font = new System.Drawing.Font("Arial", 12.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtPassword.Location = new System.Drawing.Point(199, 207); this.txtPassword.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtPassword.Name = "txtPassword"; this.txtPassword.PasswordChar = '*'; this.txtPassword.Size = new System.Drawing.Size(205, 27); this.txtPassword.TabIndex = 4; // // button1 // this.button1.BackColor = System.Drawing.Color.Transparent; this.button1.Cursor = System.Windows.Forms.Cursors.Hand; this.button1.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.button1.FlatAppearance.BorderSize = 2; this.button1.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Font = new System.Drawing.Font("Arial", 12.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.Location = new System.Drawing.Point(222, 71); this.button1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(110, 45); this.button1.TabIndex = 5; this.button1.UseVisualStyleBackColor = false; // // btnExit // this.btnExit.Cursor = System.Windows.Forms.Cursors.Hand; this.btnExit.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.btnExit.FlatAppearance.BorderSize = 2; this.btnExit.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ButtonFace; this.btnExit.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.btnExit.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnExit.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnExit.Location = new System.Drawing.Point(305, 242); this.btnExit.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(100, 33); this.btnExit.TabIndex = 5; this.btnExit.Text = "&Exit"; this.btnExit.UseVisualStyleBackColor = true; this.btnExit.Click += new System.EventHandler(this.btnExit_Click); // // checkConnection // this.checkConnection.AutoSize = true; this.checkConnection.Location = new System.Drawing.Point(183, 104); this.checkConnection.Name = "checkConnection"; this.checkConnection.Size = new System.Drawing.Size(140, 19); this.checkConnection.TabIndex = 6; this.checkConnection.Text = "Connection Status"; // // groupBox1 // this.groupBox1.Location = new System.Drawing.Point(64, 144); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(401, 170); this.groupBox1.TabIndex = 6; this.groupBox1.TabStop = false; this.groupBox1.Text = "Please enter your username and password below."; // // lblRegister // this.lblRegister.AutoSize = true; this.lblRegister.Location = new System.Drawing.Point(124, 317); this.lblRegister.Name = "lblRegister"; this.lblRegister.Size = new System.Drawing.Size(189, 19); this.lblRegister.TabIndex = 7; this.lblRegister.Text = "If you not register, please \r\n"; // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new System.Drawing.Point(307, 317); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(77, 19); this.linkLabel1.TabIndex = 8; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "click here"; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // lblDateTime // this.lblDateTime.AutoSize = true; this.lblDateTime.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.lblDateTime.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDateTime.Location = new System.Drawing.Point(0, 354); this.lblDateTime.Name = "lblDateTime"; this.lblDateTime.Size = new System.Drawing.Size(64, 16); this.lblDateTime.TabIndex = 9; this.lblDateTime.Text = "DateTime"; // // frmLogin // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(530, 370); this.ControlBox = false; this.Controls.Add(this.lblDateTime); this.Controls.Add(this.checkConnection); this.Controls.Add(this.linkLabel1); this.Controls.Add(this.lblRegister); this.Controls.Add(this.btnExit); this.Controls.Add(this.txtPassword); this.Controls.Add(this.txtUsername); this.Controls.Add(this.btnLogin); this.Controls.Add(this.lblUsername); this.Controls.Add(this.lblPassword); this.Controls.Add(this.panel1); this.Controls.Add(this.groupBox1); this.Cursor = System.Windows.Forms.Cursors.Default; this.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.Name = "frmLogin"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Login"; this.Load += new System.EventHandler(this.frmLogin_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label lblUsername; private System.Windows.Forms.Label lblPassword; private System.Windows.Forms.Button btnLogin; private System.Windows.Forms.TextBox txtUsername; private System.Windows.Forms.TextBox txtPassword; private System.Windows.Forms.Label lblDMotors; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button btnExit; private System.Windows.Forms.Label lblWelcome; private System.Windows.Forms.Label lblUsed; private System.Windows.Forms.Label checkConnection; private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.Label lblRegister; private System.Windows.Forms.LinkLabel linkLabel1; private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Label lblDateTime; } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmLogin.resx

text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 17, 17

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmMain.resx

text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 17, 17 17, 134 17, 56 104, 17 48

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmMain.cs

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.OleDb; namespace Used_Car_Sales__Management_System { public partial class frmMain : Form { OleDbConnection connection = new OleDbConnection(); //OleDbConnection.connection = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\used_car_sales_management_system.accdb"); public frmMain() { InitializeComponent(); //Connect with database connection.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0; Data Source = used_car_sales_management_system.accdb; Persist Security Info=False;"; //Fill the DataGridView with data from Access OleDbCommand command = connection.CreateCommand(); command.CommandType = CommandType.Text; command.CommandText = "Select * from tbl_cars"; DataTable dt = new DataTable(); OleDbDataAdapter da = new OleDbDataAdapter(command); da.Fill(dt); dataGridView1.DataSource = dt; // SqlDataAdapter Adp = new SqlDataAdapter("select * from company", con); //DataTable Dt = new DataTable(); // Adp.Fill(Dt); // grid1.DataSource = Dt; // grid1.DataBind(); // return Dt; //DataGridVie properties //dataGridView1.ColumnCount = 8; //dataGridView1.Columns[0].Name = "Reg No"; // dataGridView1.Columns[1].Name = "Make"; // dataGridView1.Columns[2].Name = "Model"; //dataGridView1.Columns[3].Name = "Mileage"; // dataGridView1.Columns[4].Name = "Price_purchase"; // dataGridView1.Columns[5].Name = "Date_purchase"; // dataGridView1.Columns[6].Name = "Other_details"; // dataGridView1.Columns[6].Name = "Image"; //dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; //Selection mode // dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; // dataGridView1.MultiSelect = false; timer1.Start(); } private void timer1_Tick(object sender, EventArgs e) { DateTime dateTime = DateTime.Now; this.lblDateTime.Text = dateTime.ToString(); } private void btnMaintance_Click(object sender, EventArgs e) { this.Hide(); Form frmMaintance = new frmMaintenance(); frmMaintance.Show(); } private void btnCustomers_Click(object sender, EventArgs e) { this.Hide(); Form frmCustomers = new frmCustomers(); frmCustomers.Show(); } private void btnSales_Click(object sender, EventArgs e) { this.Hide(); Form frmSales = new frmSales(); frmSales.Show(); } private void btnHelp_Click(object sender, EventArgs e) { this.Hide(); Form frmHelp = new frmHelp(); frmHelp.Show(); } private void frmMain_FormClosing(object sender, FormClosingEventArgs e) { DialogResult dialog = MessageBox.Show("Do you really want to close the program?", "Exit", MessageBoxButtons.YesNo); if (dialog == DialogResult.Yes) { Application.ExitThread(); } else if (dialog == DialogResult.No) { e.Cancel = true; } } private void frmMain_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'used_car_sales_management_systemDataSet6.tbl_cars' table. You can move, or remove it, as needed. // this.tbl_carsTableAdapter.Fill(this.used_car_sales_management_systemDataSet6.tbl_cars); txtRegNo.Select(); tCount.Start(); } private void btnInsert_Click(object sender, EventArgs e) { try { connection.Open(); OleDbCommand command = new OleDbCommand ("INSERT INTO tbl_cars ([Reg No], [Make], [Model], [Mileage], [Price_purchase], [Date_purchase], [Other_details]) VALUES ('" + txtRegNo.Text + "', '" + txtMake.Text + "', '" + txtModel.Text + "', '" + txtMileage.Text + "', '" + txtPrice_Purchase.Text + "', '" + dateTimePicker1.Text + "', '" + txtOther_Details.Text + "');", connection); command.ExecuteNonQuery(); // OleDbCommand command1 = connection.CreateCommand(); // command1.CommandType = CommandType.Text; // if (txtRegNo.Text == "") // command1.CommandText = "Insert into tbl_cars ([Reg No], [Make], [Model], [Mileage], [Price_purchase], [Date_purchase], [Other_details]) // values ('" + txtRegNo.Text + "', '" + txtMake.Text + "', '" + txtModel.Text + "', '" + txtMileage.Text + "', '" // + txtPrice_Purchase.Text + "', '" + dateTimePicker1.Text + "', '" + txtOther_Details.Text + "')"; // command1.ExecuteNonQuery(); MessageBox.Show("Record insert successufuly."); connection.Close(); txtRegNo.Select(); txtRegNo.Clear(); txtMake.Clear(); txtModel.Clear(); txtMileage.Clear(); txtPrice_Purchase.Clear(); dateTimePicker1.Value = DateTime.Now; txtOther_Details.Clear(); DisplayData(); } catch (Exception ex) { MessageBox.Show("Error" + ex); } } private bool valFields() { if (txtRegNo.Text == "") { MessageBox.Show("Please provide the Reg No", "Used Car SMS Message", MessageBoxButtons.OK, MessageBoxIcon.Hand); this.txtRegNo.Select(); return false; } if (txtMake.Text == "") { MessageBox.Show("Please provide what make is the car", "Used Car SMS Message", MessageBoxButtons.OK, MessageBoxIcon.Hand); this.txtMake.Select(); return false; } if (txtModel.Text == "") { MessageBox.Show("Please provide what model is the car", "Used Car SMS Message", MessageBoxButtons.OK, MessageBoxIcon.Hand); this.txtModel.Select(); return false; } if (txtMileage.Text == "") { MessageBox.Show("Please provide the mileage", "Used Car SMS Message", MessageBoxButtons.OK, MessageBoxIcon.Hand); this.txtMileage.Select(); return false; } if (txtPrice_Purchase.Text == "") { MessageBox.Show("Please provide price purchase", "Used Car SMS Message", MessageBoxButtons.OK, MessageBoxIcon.Hand); this.txtPrice_Purchase.Select(); return false; } return true; } private void btnDelete_Click(object sender, EventArgs e) { try { if (MessageBox.Show("Do you really want to delete this car?", "Delete record", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { connection.Open(); OleDbCommand command = connection.CreateCommand(); command.CommandType = CommandType.Text; command.CommandText = "Delete from tbl_cars where [Reg No] ='" + txtRegNo.Text + "'"; command.ExecuteNonQuery(); MessageBox.Show("Car is delete successufuly from the database."); connection.Close(); txtRegNo.Select(); txtRegNo.Clear(); txtMake.Clear(); txtModel.Clear(); txtMileage.Clear(); txtPrice_Purchase.Clear(); dateTimePicker1.Value = DateTime.Now; txtOther_Details.Clear(); DisplayData(); } } catch (Exception ex) { MessageBox.Show("Error" + ex); } } private void btnUpdate_Click(object sender, EventArgs e) { try { if (MessageBox.Show("Do you really want to update records on this car?", "Update record", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { connection.Open(); //OleDbCommand command = new OleDbCommand ("UPDATE tbl_cars SET ([Reg No], [Make], [Model], [Mileage], [Price_purchase], [Date_purchase], [Other_details]) = '" // + txtRegNo.Text + "', '" + txtMake.Text + "', '" + txtModel.Text + "', '" + txtMileage.Text + "', '" + txtPrice_Purchase.Text + "', '" //+ dateTimePicker1.Text + "', '" + txtOther_Details.Text + "' WHERE [Reg No], [Make], [Model], [Mileage], [Price_purchase], [Date_purchase], [Other_details] = '" // + txtRegNo.Text + "', '" + txtMake.Text + "', '" + txtModel.Text + "', '" + txtMileage.Text + "', '" + txtPrice_Purchase.Text + "', '" // + dateTimePicker1.Text + "', '" + txtOther_Details.Text + "';", connection); //command.ExecuteNonQuery(); OleDbCommand command = connection.CreateCommand(); command.CommandType = CommandType.Text; command.CommandText = "UPDATE tbl_cars SET [Make]= '" + txtMake.Text + "' WHERE [Make] = '" + txtMake.Text + "'"; // OleDbCommand command = connection.CreateCommand(); // command.CommandType = CommandType.Text; // command.CommandText = "UPDATE tbl_cars SET ([Reg No], [Make], [Model], [Mileage], [Price_purchase], [Date_purchase], [Other_details]) = '" // + txtRegNo.Text + "','" + txtMake.Text + "', '" + txtModel.Text + "', '" + txtMileage.Text + "', '" + txtPrice_Purchase.Text + "', '" // + dateTimePicker1.Text + "', '" + txtOther_Details.Text + "' WHERE [Reg No], [Make], [Model], [Mileage], [Price_purchase], [Date_purchase], [Other_details] = '" // + txtRegNo.Text + "', '" + txtMake.Text + "', '" + txtModel.Text + "', '" + txtMileage.Text + "', '" + txtPrice_Purchase.Text + "', '" // + dateTimePicker1.Text + "', '" + txtOther_Details.Text + "'"; command.ExecuteNonQuery(); connection.Close(); MessageBox.Show("Car is update successufuly."); txtRegNo.Select(); txtRegNo.Clear(); txtMake.Clear(); txtModel.Clear(); txtMileage.Clear(); txtPrice_Purchase.Clear(); dateTimePicker1.Value = DateTime.Now; txtOther_Details.Clear(); DisplayData(); } } catch (Exception ex) { MessageBox.Show("Error" + ex); } } private void DisplayData() { connection.Open(); OleDbCommand command = connection.CreateCommand(); command.CommandType = CommandType.Text; command.CommandText = "Select * from tbl_cars"; command.ExecuteNonQuery(); DataTable dt = new DataTable(); OleDbDataAdapter da = new OleDbDataAdapter(command); da.Fill(dt); dataGridView1.DataSource = dt; connection.Close(); } private void btnView_Click(object sender, EventArgs e) { DisplayData(); // connection.Open(); // OleDbCommand command = connection.CreateCommand(); // command.CommandType = CommandType.Text; // command.CommandText = "Select * from tbl_cars"; // command.ExecuteNonQuery(); // DataTable dt = new DataTable(); // OleDbDataAdapter da = new OleDbDataAdapter(command); // da.Fill(dt); // dataGridView1.DataSource = dt; // connection.Close(); // txtRegNo.Select(); // txtRegNo.Clear(); // txtMake.Clear(); // txtModel.Clear(); // txtMileage.Clear(); // txtPrice_Purchase.Clear(); // dateTimePicker1.Value = DateTime.Now; // txtOther_Details.Clear(); } private void btnSearch_Click(object sender, EventArgs e) { int rowCount = 0; //count = 0; connection.Open(); OleDbCommand command = connection.CreateCommand(); command.CommandType = CommandType.Text; command.CommandText = "Select * from tbl_cars where [Reg No] = '" + txtRegNo.Text + "'"; command.ExecuteNonQuery(); DataTable dt = new DataTable(); OleDbDataAdapter da = new OleDbDataAdapter(command); da.Fill(dt); rowCount = Convert.ToInt32(dt.Rows.Count.ToString()); dataGridView1.DataSource = dt; connection.Close(); txtRegNo.Select(); txtRegNo.Clear(); txtMake.Clear(); txtModel.Clear(); txtMileage.Clear(); txtPrice_Purchase.Clear(); dateTimePicker1.Value = DateTime.Now; txtOther_Details.Clear(); if (rowCount == 0) { MessageBox.Show("Record not found!"); } } private void btnBrowse_Click(object sender, EventArgs e) { try { using(OpenFileDialog ofd = new OpenFileDialog() {Filter = "JPEG|*.jpg", ValidateNames = true, Multiselect = false }) { if (ofd.ShowDialog() == DialogResult.OK) pictureBox1.Image = Image.FromFile(ofd.FileName); } } catch (Exception ex) { MessageBox.Show(ex.Message, "Message", MessageBoxButtons.OK, MessageBoxIcon.Error); } } private void tCount_Tick(object sender, EventArgs e) { int rowCount = 0; rowCount = dataGridView1.RowCount; //rowCount = dataGridView1.DataBindings(dataGridView1.DataSource, dataGridView1.DataMember).Count.ToString; this.lblCountCars.Text = "There are " + rowCount.ToString() + " cars in the database."; } } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmMain.Designer.cs

namespace Used_Car_Sales__Management_System { partial class frmMain { /// <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() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.lblDateTime = new System.Windows.Forms.Label(); this.lblUsed = new System.Windows.Forms.Label(); this.lblDMotors = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.lblRegNo = new System.Windows.Forms.Label(); this.lblMake = new System.Windows.Forms.Label(); this.lblModel = new System.Windows.Forms.Label(); this.lblMileage = new System.Windows.Forms.Label(); this.lblPrice_Purchase = new System.Windows.Forms.Label(); this.lblDate_Purchase = new System.Windows.Forms.Label(); this.lblOther_details = new System.Windows.Forms.Label(); this.btnCars = new System.Windows.Forms.Button(); this.btnMaintance = new System.Windows.Forms.Button(); this.btnCustomers = new System.Windows.Forms.Button(); this.btnSales = new System.Windows.Forms.Button(); this.btnHelp = new System.Windows.Forms.Button(); this.txtRegNo = new System.Windows.Forms.TextBox(); this.txtMake = new System.Windows.Forms.TextBox(); this.txtModel = new System.Windows.Forms.TextBox(); this.txtMileage = new System.Windows.Forms.TextBox(); this.txtPrice_Purchase = new System.Windows.Forms.TextBox(); this.txtOther_Details = new System.Windows.Forms.TextBox(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.tblcarsBindingSource = new System.Windows.Forms.BindingSource(this.components); this.btnInsert = new System.Windows.Forms.Button(); this.btnDelete = new System.Windows.Forms.Button(); this.btnUpdate = new System.Windows.Forms.Button(); this.tblcarsBindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.btnView = new System.Windows.Forms.Button(); this.btnSearch = new System.Windows.Forms.Button(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.btnBrowse = new System.Windows.Forms.Button(); this.tCount = new System.Windows.Forms.Timer(this.components); this.lblCountCars = new System.Windows.Forms.Label(); this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tblcarsBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tblcarsBindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // lblDateTime // this.lblDateTime.AutoSize = true; this.lblDateTime.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.lblDateTime.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDateTime.Location = new System.Drawing.Point(0, 81); this.lblDateTime.Name = "lblDateTime"; this.lblDateTime.Size = new System.Drawing.Size(80, 19); this.lblDateTime.TabIndex = 11; this.lblDateTime.Text = "DateTime"; // // lblUsed // this.lblUsed.AutoSize = true; this.lblUsed.Location = new System.Drawing.Point(393, 61); this.lblUsed.Name = "lblUsed"; this.lblUsed.Size = new System.Drawing.Size(279, 19); this.lblUsed.TabIndex = 3; this.lblUsed.Text = "Used Car Sales Management System"; // // lblDMotors // this.lblDMotors.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDMotors.AutoSize = true; this.lblDMotors.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDMotors.Location = new System.Drawing.Point(460, 19); this.lblDMotors.Name = "lblDMotors"; this.lblDMotors.Size = new System.Drawing.Size(144, 36); this.lblDMotors.TabIndex = 0; this.lblDMotors.Text = "D Motors\r\n"; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.panel1.Controls.Add(this.lblUsed); this.panel1.Controls.Add(this.lblDMotors); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1119, 100); this.panel1.TabIndex = 10; // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // lblRegNo // this.lblRegNo.AutoSize = true; this.lblRegNo.Location = new System.Drawing.Point(8, 169); this.lblRegNo.Name = "lblRegNo"; this.lblRegNo.Size = new System.Drawing.Size(68, 19); this.lblRegNo.TabIndex = 12; this.lblRegNo.Text = "Reg No."; // // lblMake // this.lblMake.AutoSize = true; this.lblMake.Location = new System.Drawing.Point(8, 209); this.lblMake.Name = "lblMake"; this.lblMake.Size = new System.Drawing.Size(53, 19); this.lblMake.TabIndex = 13; this.lblMake.Text = "Make:"; // // lblModel // this.lblModel.AutoSize = true; this.lblModel.Location = new System.Drawing.Point(8, 249); this.lblModel.Name = "lblModel"; this.lblModel.Size = new System.Drawing.Size(58, 19); this.lblModel.TabIndex = 14; this.lblModel.Text = "Model:"; // // lblMileage // this.lblMileage.AutoSize = true; this.lblMileage.Location = new System.Drawing.Point(251, 169); this.lblMileage.Name = "lblMileage"; this.lblMileage.Size = new System.Drawing.Size(71, 19); this.lblMileage.TabIndex = 15; this.lblMileage.Text = "Mileage:"; // // lblPrice_Purchase // this.lblPrice_Purchase.AutoSize = true; this.lblPrice_Purchase.Location = new System.Drawing.Point(251, 209); this.lblPrice_Purchase.Name = "lblPrice_Purchase"; this.lblPrice_Purchase.Size = new System.Drawing.Size(122, 19); this.lblPrice_Purchase.TabIndex = 16; this.lblPrice_Purchase.Text = "Price Purchase:"; // // lblDate_Purchase // this.lblDate_Purchase.AutoSize = true; this.lblDate_Purchase.Location = new System.Drawing.Point(251, 249); this.lblDate_Purchase.Name = "lblDate_Purchase"; this.lblDate_Purchase.Size = new System.Drawing.Size(119, 19); this.lblDate_Purchase.TabIndex = 17; this.lblDate_Purchase.Text = "Date Purchase:"; // // lblOther_details // this.lblOther_details.AutoSize = true; this.lblOther_details.Location = new System.Drawing.Point(596, 169); this.lblOther_details.Name = "lblOther_details"; this.lblOther_details.Size = new System.Drawing.Size(103, 19); this.lblOther_details.TabIndex = 18; this.lblOther_details.Text = "Other details:"; // // btnCars // this.btnCars.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCars.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatAppearance.BorderSize = 2; this.btnCars.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCars.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCars.Location = new System.Drawing.Point(222, 99); this.btnCars.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCars.Name = "btnCars"; this.btnCars.Size = new System.Drawing.Size(100, 33); this.btnCars.TabIndex = 19; this.btnCars.Text = "&Cars"; this.btnCars.UseVisualStyleBackColor = true; // // btnMaintance // this.btnMaintance.Cursor = System.Windows.Forms.Cursors.Hand; this.btnMaintance.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatAppearance.BorderSize = 2; this.btnMaintance.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnMaintance.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnMaintance.Location = new System.Drawing.Point(344, 99); this.btnMaintance.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnMaintance.Name = "btnMaintance"; this.btnMaintance.Size = new System.Drawing.Size(122, 33); this.btnMaintance.TabIndex = 20; this.btnMaintance.Text = "&Maintenance"; this.btnMaintance.UseVisualStyleBackColor = true; this.btnMaintance.Click += new System.EventHandler(this.btnMaintance_Click); // // btnCustomers // this.btnCustomers.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCustomers.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatAppearance.BorderSize = 2; this.btnCustomers.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCustomers.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCustomers.Location = new System.Drawing.Point(488, 99); this.btnCustomers.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCustomers.Name = "btnCustomers"; this.btnCustomers.Size = new System.Drawing.Size(115, 33); this.btnCustomers.TabIndex = 21; this.btnCustomers.Text = "&Customers"; this.btnCustomers.UseVisualStyleBackColor = true; this.btnCustomers.Click += new System.EventHandler(this.btnCustomers_Click); // // btnSales // this.btnSales.Cursor = System.Windows.Forms.Cursors.Hand; this.btnSales.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatAppearance.BorderSize = 2; this.btnSales.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSales.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSales.Location = new System.Drawing.Point(625, 99); this.btnSales.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnSales.Name = "btnSales"; this.btnSales.Size = new System.Drawing.Size(100, 33); this.btnSales.TabIndex = 22; this.btnSales.Text = "&Sales"; this.btnSales.UseVisualStyleBackColor = true; this.btnSales.Click += new System.EventHandler(this.btnSales_Click); // // btnHelp // this.btnHelp.Cursor = System.Windows.Forms.Cursors.Hand; this.btnHelp.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatAppearance.BorderSize = 2; this.btnHelp.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnHelp.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnHelp.Location = new System.Drawing.Point(747, 99); this.btnHelp.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(100, 33); this.btnHelp.TabIndex = 23; this.btnHelp.Text = "&Help"; this.btnHelp.UseVisualStyleBackColor = true; this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click); // // txtRegNo // this.txtRegNo.Location = new System.Drawing.Point(82, 166); this.txtRegNo.Name = "txtRegNo"; this.txtRegNo.Size = new System.Drawing.Size(142, 26); this.txtRegNo.TabIndex = 24; // // txtMake // this.txtMake.Location = new System.Drawing.Point(82, 206); this.txtMake.Name = "txtMake"; this.txtMake.Size = new System.Drawing.Size(142, 26); this.txtMake.TabIndex = 25; // // txtModel // this.txtModel.Location = new System.Drawing.Point(82, 246); this.txtModel.Name = "txtModel"; this.txtModel.Size = new System.Drawing.Size(142, 26); this.txtModel.TabIndex = 26; // // txtMileage // this.txtMileage.Location = new System.Drawing.Point(376, 166); this.txtMileage.Name = "txtMileage"; this.txtMileage.Size = new System.Drawing.Size(189, 26); this.txtMileage.TabIndex = 27; // // txtPrice_Purchase // this.txtPrice_Purchase.Location = new System.Drawing.Point(376, 206); this.txtPrice_Purchase.Name = "txtPrice_Purchase"; this.txtPrice_Purchase.Size = new System.Drawing.Size(189, 26); this.txtPrice_Purchase.TabIndex = 28; // // txtOther_Details // this.txtOther_Details.Location = new System.Drawing.Point(600, 194); this.txtOther_Details.Multiline = true; this.txtOther_Details.Name = "txtOther_Details"; this.txtOther_Details.Size = new System.Drawing.Size(189, 78); this.txtOther_Details.TabIndex = 30; // // dataGridView1 // dataGridViewCellStyle1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.ColumnHeader; this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.GradientActiveCaption; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2; this.dataGridView1.GridColor = System.Drawing.SystemColors.ScrollBar; this.dataGridView1.Location = new System.Drawing.Point(12, 365); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.Size = new System.Drawing.Size(777, 234); this.dataGridView1.TabIndex = 31; // // tblcarsBindingSource // this.tblcarsBindingSource.DataMember = "tbl_cars"; // // btnInsert // this.btnInsert.Cursor = System.Windows.Forms.Cursors.Hand; this.btnInsert.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.btnInsert.FlatAppearance.BorderSize = 2; this.btnInsert.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ButtonFace; this.btnInsert.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.btnInsert.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnInsert.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnInsert.Location = new System.Drawing.Point(49, 303); this.btnInsert.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnInsert.Name = "btnInsert"; this.btnInsert.Size = new System.Drawing.Size(100, 33); this.btnInsert.TabIndex = 32; this.btnInsert.Text = "&Insert"; this.btnInsert.UseVisualStyleBackColor = true; this.btnInsert.Click += new System.EventHandler(this.btnInsert_Click); // // btnDelete // this.btnDelete.Cursor = System.Windows.Forms.Cursors.Hand; this.btnDelete.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.btnDelete.FlatAppearance.BorderSize = 2; this.btnDelete.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ButtonFace; this.btnDelete.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnDelete.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDelete.Location = new System.Drawing.Point(183, 303); this.btnDelete.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(100, 33); this.btnDelete.TabIndex = 33; this.btnDelete.Text = "&Delete"; this.btnDelete.UseVisualStyleBackColor = true; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnUpdate // this.btnUpdate.Cursor = System.Windows.Forms.Cursors.Hand; this.btnUpdate.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.btnUpdate.FlatAppearance.BorderSize = 2; this.btnUpdate.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ButtonFace; this.btnUpdate.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.btnUpdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnUpdate.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnUpdate.Location = new System.Drawing.Point(317, 303); this.btnUpdate.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.Size = new System.Drawing.Size(100, 33); this.btnUpdate.TabIndex = 34; this.btnUpdate.Text = "&Update"; this.btnUpdate.UseVisualStyleBackColor = true; this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click); // // tblcarsBindingSource1 // this.tblcarsBindingSource1.DataMember = "tbl_cars"; // // btnView // this.btnView.Cursor = System.Windows.Forms.Cursors.Hand; this.btnView.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.btnView.FlatAppearance.BorderSize = 2; this.btnView.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ButtonFace; this.btnView.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.btnView.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnView.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnView.Location = new System.Drawing.Point(451, 303); this.btnView.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnView.Name = "btnView"; this.btnView.Size = new System.Drawing.Size(100, 33); this.btnView.TabIndex = 36; this.btnView.Text = "&View"; this.btnView.UseVisualStyleBackColor = true; // // btnSearch // this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand; this.btnSearch.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.btnSearch.FlatAppearance.BorderSize = 2; this.btnSearch.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ButtonFace; this.btnSearch.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSearch.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSearch.Location = new System.Drawing.Point(585, 303); this.btnSearch.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(100, 33); this.btnSearch.TabIndex = 37; this.btnSearch.Text = "&Search"; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pictureBox1.Location = new System.Drawing.Point(834, 155); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(273, 265); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 38; this.pictureBox1.TabStop = false; // // btnBrowse // this.btnBrowse.Cursor = System.Windows.Forms.Cursors.Hand; this.btnBrowse.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.btnBrowse.FlatAppearance.BorderSize = 2; this.btnBrowse.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.ButtonFace; this.btnBrowse.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.btnBrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnBrowse.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnBrowse.Location = new System.Drawing.Point(930, 427); this.btnBrowse.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnBrowse.Name = "btnBrowse"; this.btnBrowse.Size = new System.Drawing.Size(100, 33); this.btnBrowse.TabIndex = 39; this.btnBrowse.Text = "&Browse"; this.btnBrowse.UseVisualStyleBackColor = true; this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); // // tCount // this.tCount.Tick += new System.EventHandler(this.tCount_Tick); // // lblCountCars // this.lblCountCars.AutoSize = true; this.lblCountCars.Location = new System.Drawing.Point(828, 580); this.lblCountCars.Name = "lblCountCars"; this.lblCountCars.Size = new System.Drawing.Size(95, 19); this.lblCountCars.TabIndex = 40; this.lblCountCars.Text = "Count_Cars"; // // dateTimePicker1 // this.dateTimePicker1.Location = new System.Drawing.Point(376, 246); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.Size = new System.Drawing.Size(189, 26); this.dateTimePicker1.TabIndex = 35; // // frmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1119, 611); this.Controls.Add(this.lblCountCars); this.Controls.Add(this.btnBrowse); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.btnSearch); this.Controls.Add(this.btnView); this.Controls.Add(this.dateTimePicker1); this.Controls.Add(this.btnUpdate); this.Controls.Add(this.btnDelete); this.Controls.Add(this.btnInsert); this.Controls.Add(this.dataGridView1); this.Controls.Add(this.txtOther_Details); this.Controls.Add(this.txtPrice_Purchase); this.Controls.Add(this.txtMileage); this.Controls.Add(this.txtModel); this.Controls.Add(this.txtMake); this.Controls.Add(this.txtRegNo); this.Controls.Add(this.btnHelp); this.Controls.Add(this.btnSales); this.Controls.Add(this.btnCustomers); this.Controls.Add(this.btnMaintance); this.Controls.Add(this.btnCars); this.Controls.Add(this.lblOther_details); this.Controls.Add(this.lblDate_Purchase); this.Controls.Add(this.lblPrice_Purchase); this.Controls.Add(this.lblMileage); this.Controls.Add(this.lblModel); this.Controls.Add(this.lblMake); this.Controls.Add(this.lblRegNo); this.Controls.Add(this.lblDateTime); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "frmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Cars"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmMain_FormClosing); this.Load += new System.EventHandler(this.frmMain_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tblcarsBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tblcarsBindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Label lblDateTime; private System.Windows.Forms.Label lblUsed; private System.Windows.Forms.Label lblDMotors; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Label lblRegNo; private System.Windows.Forms.Label lblMake; private System.Windows.Forms.Label lblModel; private System.Windows.Forms.Label lblMileage; private System.Windows.Forms.Label lblPrice_Purchase; private System.Windows.Forms.Label lblDate_Purchase; private System.Windows.Forms.Label lblOther_details; private System.Windows.Forms.Button btnCars; private System.Windows.Forms.Button btnMaintance; private System.Windows.Forms.Button btnCustomers; private System.Windows.Forms.Button btnSales; private System.Windows.Forms.Button btnHelp; private System.Windows.Forms.TextBox txtRegNo; private System.Windows.Forms.TextBox txtMake; private System.Windows.Forms.TextBox txtModel; private System.Windows.Forms.TextBox txtMileage; private System.Windows.Forms.TextBox txtPrice_Purchase; private System.Windows.Forms.TextBox txtOther_Details; private System.Windows.Forms.DataGridView dataGridView1; private System.Windows.Forms.Button btnInsert; private System.Windows.Forms.Button btnDelete; private System.Windows.Forms.Button btnUpdate; private System.Windows.Forms.BindingSource tblcarsBindingSource1; private System.Windows.Forms.DataGridViewTextBoxColumn regNoDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn makeDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn modelDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn mileageDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn pricepurchaseDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn datepurchaseDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn otherdetailsDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewImageColumn imageDataGridViewImageColumn; private System.Windows.Forms.BindingSource tblcarsBindingSource; private System.Windows.Forms.Button btnView; private System.Windows.Forms.Button btnSearch; private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.Button btnBrowse; private System.Windows.Forms.Timer tCount; private System.Windows.Forms.Label lblCountCars; private System.Windows.Forms.DateTimePicker dateTimePicker1; } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmMaintenance.cs

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Used_Car_Sales__Management_System { public partial class frmMaintenance : Form { public frmMaintenance() { InitializeComponent(); timer1.Start(); } private void timer1_Tick(object sender, EventArgs e) { DateTime dateTime = DateTime.Now; this.lblDateTime.Text = dateTime.ToString(); } private void btnCars_Click(object sender, EventArgs e) { this.Hide(); Form frmMain = new frmMain(); frmMain.Show(); } private void btnMaintenance_Click(object sender, EventArgs e) { ////////////////////////////////////// } private void btnCustomers_Click(object sender, EventArgs e) { this.Hide(); Form frmCustomers = new frmCustomers(); frmCustomers.Show(); } private void btnSales_Click(object sender, EventArgs e) { this.Hide(); Form frmSales = new frmSales(); frmSales.Show(); } private void btnHelp_Click(object sender, EventArgs e) { this.Hide(); Form frmHelp = new frmHelp(); frmHelp.Show(); } private void frmMaintenance_FormClosing(object sender, FormClosingEventArgs e) { DialogResult dialog = MessageBox.Show("Do you really want to close the program?", "Exit", MessageBoxButtons.YesNo); if (dialog == DialogResult.Yes) { Application.ExitThread(); } else if (dialog == DialogResult.No) { e.Cancel = true; } } } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmMaintenance.Designer.cs

namespace Used_Car_Sales__Management_System { partial class frmMaintenance { /// <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() { this.components = new System.ComponentModel.Container(); this.panel1 = new System.Windows.Forms.Panel(); this.lblUsed = new System.Windows.Forms.Label(); this.lblDMotors = new System.Windows.Forms.Label(); this.btnHelp = new System.Windows.Forms.Button(); this.btnSales = new System.Windows.Forms.Button(); this.btnCustomers = new System.Windows.Forms.Button(); this.btnMaintance = new System.Windows.Forms.Button(); this.btnCars = new System.Windows.Forms.Button(); this.lblDateTime = new System.Windows.Forms.Label(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.panel1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.panel1.Controls.Add(this.lblUsed); this.panel1.Controls.Add(this.lblDMotors); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1234, 100); this.panel1.TabIndex = 51; // // lblUsed // this.lblUsed.AutoSize = true; this.lblUsed.Location = new System.Drawing.Point(393, 61); this.lblUsed.Name = "lblUsed"; this.lblUsed.Size = new System.Drawing.Size(279, 19); this.lblUsed.TabIndex = 3; this.lblUsed.Text = "Used Car Sales Management System"; // // lblDMotors // this.lblDMotors.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDMotors.AutoSize = true; this.lblDMotors.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDMotors.Location = new System.Drawing.Point(460, 19); this.lblDMotors.Name = "lblDMotors"; this.lblDMotors.Size = new System.Drawing.Size(144, 36); this.lblDMotors.TabIndex = 0; this.lblDMotors.Text = "D Motors\r\n"; // // btnHelp // this.btnHelp.Cursor = System.Windows.Forms.Cursors.Hand; this.btnHelp.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatAppearance.BorderSize = 2; this.btnHelp.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnHelp.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnHelp.Location = new System.Drawing.Point(750, 99); this.btnHelp.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(100, 33); this.btnHelp.TabIndex = 57; this.btnHelp.Text = "&Help"; this.btnHelp.UseVisualStyleBackColor = true; this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click); // // btnSales // this.btnSales.Cursor = System.Windows.Forms.Cursors.Hand; this.btnSales.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatAppearance.BorderSize = 2; this.btnSales.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSales.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSales.Location = new System.Drawing.Point(628, 99); this.btnSales.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnSales.Name = "btnSales"; this.btnSales.Size = new System.Drawing.Size(100, 33); this.btnSales.TabIndex = 56; this.btnSales.Text = "&Sales"; this.btnSales.UseVisualStyleBackColor = true; this.btnSales.Click += new System.EventHandler(this.btnSales_Click); // // btnCustomers // this.btnCustomers.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCustomers.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatAppearance.BorderSize = 2; this.btnCustomers.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCustomers.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCustomers.Location = new System.Drawing.Point(491, 99); this.btnCustomers.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCustomers.Name = "btnCustomers"; this.btnCustomers.Size = new System.Drawing.Size(115, 33); this.btnCustomers.TabIndex = 55; this.btnCustomers.Text = "&Customers"; this.btnCustomers.UseVisualStyleBackColor = true; this.btnCustomers.Click += new System.EventHandler(this.btnCustomers_Click); // // btnMaintance // this.btnMaintance.Cursor = System.Windows.Forms.Cursors.Hand; this.btnMaintance.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatAppearance.BorderSize = 2; this.btnMaintance.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnMaintance.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnMaintance.Location = new System.Drawing.Point(347, 99); this.btnMaintance.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnMaintance.Name = "btnMaintance"; this.btnMaintance.Size = new System.Drawing.Size(122, 33); this.btnMaintance.TabIndex = 54; this.btnMaintance.Text = "&Maintenance"; this.btnMaintance.UseVisualStyleBackColor = true; this.btnMaintance.Click += new System.EventHandler(this.btnMaintenance_Click); // // btnCars // this.btnCars.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCars.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatAppearance.BorderSize = 2; this.btnCars.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCars.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCars.Location = new System.Drawing.Point(225, 99); this.btnCars.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCars.Name = "btnCars"; this.btnCars.Size = new System.Drawing.Size(100, 33); this.btnCars.TabIndex = 53; this.btnCars.Text = "&Cars"; this.btnCars.UseVisualStyleBackColor = true; this.btnCars.Click += new System.EventHandler(this.btnCars_Click); // // lblDateTime // this.lblDateTime.AutoSize = true; this.lblDateTime.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.lblDateTime.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDateTime.Location = new System.Drawing.Point(0, 80); this.lblDateTime.Name = "lblDateTime"; this.lblDateTime.Size = new System.Drawing.Size(80, 19); this.lblDateTime.TabIndex = 52; this.lblDateTime.Text = "DateTime"; // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // frmMaintance // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1234, 561); this.Controls.Add(this.lblDateTime); this.Controls.Add(this.panel1); this.Controls.Add(this.btnHelp); this.Controls.Add(this.btnSales); this.Controls.Add(this.btnCustomers); this.Controls.Add(this.btnMaintance); this.Controls.Add(this.btnCars); this.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "frmMaintance"; this.Text = "Maintance"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmMaintenance_FormClosing); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label lblUsed; private System.Windows.Forms.Label lblDMotors; private System.Windows.Forms.Button btnHelp; private System.Windows.Forms.Button btnSales; private System.Windows.Forms.Button btnCustomers; private System.Windows.Forms.Button btnMaintance; private System.Windows.Forms.Button btnCars; private System.Windows.Forms.Label lblDateTime; private System.Windows.Forms.Timer timer1; } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmMaintenance.resx

text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 17, 17

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmMenu.resx

text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmRegistration.cs

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.OleDb; namespace Used_Car_Sales__Management_System { public partial class frmRegistration : Form { private OleDbConnection connection = new OleDbConnection(); public frmRegistration() { InitializeComponent(); connection.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=G:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\used_car_sales_management_system.accdb; Persist Security Info=False;"; timer1.Start(); } private void frmRegistration_Load(object sender, EventArgs e) { } private void btnRegister_Click(object sender, EventArgs e) { try { string che = @"(select count(*) from tbl_salesperson where [Username]='" + txtUsername + "')"; OleDbCommand command = connection.CreateCommand(); command.CommandType = CommandType.Text; command.CommandText = "Insert into tbl_salesperson ([Username]) values ('" + txtUsername + "')"; connection.Open(); int count = (int)command.ExecuteScalar(); if (count > 0) { MessageBox.Show("This Reg No already exist!"); } else { command.ExecuteNonQuery(); MessageBox.Show("Record insert successufuly."); } // connection.Close(); } catch (Exception ex) { MessageBox.Show(ex.Message); } finally { if (connection.State == ConnectionState.Open) connection.Close(); } } private void btnClose_Click(object sender, EventArgs e) { this.Close(); } private void timer1_Tick(object sender, EventArgs e) { DateTime dateTime = DateTime.Now; this.lblDateTime.Text = dateTime.ToString(); } } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmRegistration.Designer.cs

namespace Used_Car_Sales__Management_System { partial class frmRegistration { /// <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() { this.components = new System.ComponentModel.Container(); this.panel1 = new System.Windows.Forms.Panel(); this.lblUsed = new System.Windows.Forms.Label(); this.lblDMotors = new System.Windows.Forms.Label(); this.checkConnection = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.btnClose = new System.Windows.Forms.Button(); this.btnRegister = new System.Windows.Forms.Button(); this.txtPassword = new System.Windows.Forms.TextBox(); this.txtUsername = new System.Windows.Forms.TextBox(); this.txtE_mail = new System.Windows.Forms.TextBox(); this.txtMob_number = new System.Windows.Forms.TextBox(); this.txtSurname = new System.Windows.Forms.TextBox(); this.txtFirst_Name = new System.Windows.Forms.TextBox(); this.lblPassword = new System.Windows.Forms.Label(); this.lblUsername = new System.Windows.Forms.Label(); this.lblE_mail = new System.Windows.Forms.Label(); this.lblMob_number = new System.Windows.Forms.Label(); this.lblSurname = new System.Windows.Forms.Label(); this.lblFirst_nmae = new System.Windows.Forms.Label(); this.lblDateTime = new System.Windows.Forms.Label(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.panel1.Controls.Add(this.lblUsed); this.panel1.Controls.Add(this.lblDMotors); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(530, 100); this.panel1.TabIndex = 1; // // lblUsed // this.lblUsed.AutoSize = true; this.lblUsed.Location = new System.Drawing.Point(127, 68); this.lblUsed.Name = "lblUsed"; this.lblUsed.Size = new System.Drawing.Size(279, 19); this.lblUsed.TabIndex = 3; this.lblUsed.Text = "Used Car Sales Management System"; // // lblDMotors // this.lblDMotors.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDMotors.AutoSize = true; this.lblDMotors.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDMotors.Location = new System.Drawing.Point(194, 26); this.lblDMotors.Name = "lblDMotors"; this.lblDMotors.Size = new System.Drawing.Size(144, 36); this.lblDMotors.TabIndex = 0; this.lblDMotors.Text = "D Motors\r\n"; // // checkConnection // this.checkConnection.AutoSize = true; this.checkConnection.Location = new System.Drawing.Point(140, 104); this.checkConnection.Name = "checkConnection"; this.checkConnection.Size = new System.Drawing.Size(223, 19); this.checkConnection.TabIndex = 6; this.checkConnection.Text = "New Salesperson Registration"; // // groupBox1 // this.groupBox1.Controls.Add(this.btnClose); this.groupBox1.Controls.Add(this.btnRegister); this.groupBox1.Controls.Add(this.txtPassword); this.groupBox1.Controls.Add(this.txtUsername); this.groupBox1.Controls.Add(this.txtE_mail); this.groupBox1.Controls.Add(this.txtMob_number); this.groupBox1.Controls.Add(this.txtSurname); this.groupBox1.Controls.Add(this.txtFirst_Name); this.groupBox1.Controls.Add(this.lblPassword); this.groupBox1.Controls.Add(this.lblUsername); this.groupBox1.Controls.Add(this.lblE_mail); this.groupBox1.Controls.Add(this.lblMob_number); this.groupBox1.Controls.Add(this.lblSurname); this.groupBox1.Controls.Add(this.lblFirst_nmae); this.groupBox1.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(89, 107); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(354, 331); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; this.groupBox1.Text = "Please enter your details below."; // // btnClose // this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand; this.btnClose.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.btnClose.FlatAppearance.BorderSize = 2; this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnClose.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClose.Location = new System.Drawing.Point(241, 267); this.btnClose.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(100, 33); this.btnClose.TabIndex = 13; this.btnClose.Text = "&Close"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnRegister // this.btnRegister.Cursor = System.Windows.Forms.Cursors.Hand; this.btnRegister.FlatAppearance.BorderColor = System.Drawing.SystemColors.ActiveCaption; this.btnRegister.FlatAppearance.BorderSize = 2; this.btnRegister.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.ActiveCaption; this.btnRegister.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnRegister.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnRegister.Location = new System.Drawing.Point(135, 267); this.btnRegister.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnRegister.Name = "btnRegister"; this.btnRegister.Size = new System.Drawing.Size(100, 33); this.btnRegister.TabIndex = 12; this.btnRegister.Text = "&Register"; this.btnRegister.UseVisualStyleBackColor = true; this.btnRegister.Click += new System.EventHandler(this.btnRegister_Click); // // txtPassword // this.txtPassword.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtPassword.Location = new System.Drawing.Point(135, 220); this.txtPassword.Name = "txtPassword"; this.txtPassword.Size = new System.Drawing.Size(206, 26); this.txtPassword.TabIndex = 11; // // txtUsername // this.txtUsername.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtUsername.Location = new System.Drawing.Point(135, 184); this.txtUsername.Name = "txtUsername"; this.txtUsername.Size = new System.Drawing.Size(206, 26); this.txtUsername.TabIndex = 10; // // txtE_mail // this.txtE_mail.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtE_mail.Location = new System.Drawing.Point(135, 148); this.txtE_mail.Name = "txtE_mail"; this.txtE_mail.Size = new System.Drawing.Size(206, 26); this.txtE_mail.TabIndex = 9; // // txtMob_number // this.txtMob_number.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtMob_number.Location = new System.Drawing.Point(135, 112); this.txtMob_number.Name = "txtMob_number"; this.txtMob_number.Size = new System.Drawing.Size(206, 26); this.txtMob_number.TabIndex = 8; // // txtSurname // this.txtSurname.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSurname.Location = new System.Drawing.Point(135, 76); this.txtSurname.Name = "txtSurname"; this.txtSurname.Size = new System.Drawing.Size(206, 26); this.txtSurname.TabIndex = 7; // // txtFirst_Name // this.txtFirst_Name.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtFirst_Name.Location = new System.Drawing.Point(135, 40); this.txtFirst_Name.Name = "txtFirst_Name"; this.txtFirst_Name.Size = new System.Drawing.Size(206, 26); this.txtFirst_Name.TabIndex = 6; // // lblPassword // this.lblPassword.AutoSize = true; this.lblPassword.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPassword.Location = new System.Drawing.Point(6, 223); this.lblPassword.Name = "lblPassword"; this.lblPassword.Size = new System.Drawing.Size(81, 19); this.lblPassword.TabIndex = 5; this.lblPassword.Text = "Password:"; // // lblUsername // this.lblUsername.AutoSize = true; this.lblUsername.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblUsername.Location = new System.Drawing.Point(6, 187); this.lblUsername.Name = "lblUsername"; this.lblUsername.Size = new System.Drawing.Size(88, 19); this.lblUsername.TabIndex = 4; this.lblUsername.Text = "Username:"; // // lblE_mail // this.lblE_mail.AutoSize = true; this.lblE_mail.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblE_mail.Location = new System.Drawing.Point(6, 151); this.lblE_mail.Name = "lblE_mail"; this.lblE_mail.Size = new System.Drawing.Size(60, 19); this.lblE_mail.TabIndex = 3; this.lblE_mail.Text = "E-mail:"; // // lblMob_number // this.lblMob_number.AutoSize = true; this.lblMob_number.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblMob_number.Location = new System.Drawing.Point(6, 115); this.lblMob_number.Name = "lblMob_number"; this.lblMob_number.Size = new System.Drawing.Size(124, 19); this.lblMob_number.TabIndex = 2; this.lblMob_number.Text = "Mobile Number:"; // // lblSurname // this.lblSurname.AutoSize = true; this.lblSurname.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblSurname.Location = new System.Drawing.Point(6, 79); this.lblSurname.Name = "lblSurname"; this.lblSurname.Size = new System.Drawing.Size(79, 19); this.lblSurname.TabIndex = 1; this.lblSurname.Text = "Surname:"; // // lblFirst_nmae // this.lblFirst_nmae.AutoSize = true; this.lblFirst_nmae.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblFirst_nmae.Location = new System.Drawing.Point(6, 43); this.lblFirst_nmae.Name = "lblFirst_nmae"; this.lblFirst_nmae.Size = new System.Drawing.Size(89, 19); this.lblFirst_nmae.TabIndex = 0; this.lblFirst_nmae.Text = "First name:"; // // lblDateTime // this.lblDateTime.AutoSize = true; this.lblDateTime.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.lblDateTime.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDateTime.Location = new System.Drawing.Point(-3, 422); this.lblDateTime.Name = "lblDateTime"; this.lblDateTime.Size = new System.Drawing.Size(64, 16); this.lblDateTime.TabIndex = 10; this.lblDateTime.Text = "DateTime"; // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // frmRegistration // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(530, 437); this.Controls.Add(this.lblDateTime); this.Controls.Add(this.groupBox1); this.Controls.Add(this.checkConnection); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Margin = new System.Windows.Forms.Padding(4); this.Name = "frmRegistration"; this.Text = "New Salesperson Registration"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label checkConnection; private System.Windows.Forms.Label lblUsed; private System.Windows.Forms.Label lblDMotors; private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.TextBox txtPassword; private System.Windows.Forms.TextBox txtUsername; private System.Windows.Forms.TextBox txtE_mail; private System.Windows.Forms.TextBox txtMob_number; private System.Windows.Forms.TextBox txtSurname; private System.Windows.Forms.TextBox txtFirst_Name; private System.Windows.Forms.Label lblPassword; private System.Windows.Forms.Label lblUsername; private System.Windows.Forms.Label lblE_mail; private System.Windows.Forms.Label lblMob_number; private System.Windows.Forms.Label lblSurname; private System.Windows.Forms.Label lblFirst_nmae; private System.Windows.Forms.Button btnClose; private System.Windows.Forms.Button btnRegister; private System.Windows.Forms.Label lblDateTime; private System.Windows.Forms.Timer timer1; } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmRegistration.resx

text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 17, 17

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmSales.cs

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Used_Car_Sales__Management_System { public partial class frmSales : Form { public frmSales() { InitializeComponent(); timer1.Start(); } private void timer1_Tick(object sender, EventArgs e) { DateTime dateTime = DateTime.Now; this.lblDateTime.Text = dateTime.ToString(); } private void btnCars_Click(object sender, EventArgs e) { this.Hide(); Form frmMain = new frmMain(); frmMain.Show(); } private void btnMaintance_Click(object sender, EventArgs e) { this.Hide(); Form frmMaintance = new frmMaintenance(); frmMaintance.Show(); } private void btnCustomers_Click(object sender, EventArgs e) { this.Hide(); Form frmCustomers = new frmCustomers(); frmCustomers.Show(); } private void btnSales_Click(object sender, EventArgs e) { ///////////////////////// } private void btnHelp_Click(object sender, EventArgs e) { this.Hide(); Form frmHelp = new frmHelp(); frmHelp.Show(); } private void frmSales_FormClosing(object sender, FormClosingEventArgs e) { DialogResult dialog = MessageBox.Show("Do you really want to close the program?", "Exit", MessageBoxButtons.YesNo); if (dialog == DialogResult.Yes) { Application.ExitThread(); } else if (dialog == DialogResult.No) { e.Cancel = true; } } } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmSales.Designer.cs

namespace Used_Car_Sales__Management_System { partial class frmSales { /// <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() { this.components = new System.ComponentModel.Container(); this.btnHelp = new System.Windows.Forms.Button(); this.btnSales = new System.Windows.Forms.Button(); this.btnCustomers = new System.Windows.Forms.Button(); this.btnMaintance = new System.Windows.Forms.Button(); this.btnCars = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.lblUsed = new System.Windows.Forms.Label(); this.lblDateTime = new System.Windows.Forms.Label(); this.lblDMotors = new System.Windows.Forms.Label(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.panel1.SuspendLayout(); this.SuspendLayout(); // // btnHelp // this.btnHelp.Cursor = System.Windows.Forms.Cursors.Hand; this.btnHelp.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatAppearance.BorderSize = 2; this.btnHelp.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnHelp.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnHelp.Location = new System.Drawing.Point(759, 99); this.btnHelp.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(100, 33); this.btnHelp.TabIndex = 28; this.btnHelp.Text = "&Help"; this.btnHelp.UseVisualStyleBackColor = true; this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click); // // btnSales // this.btnSales.Cursor = System.Windows.Forms.Cursors.Hand; this.btnSales.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatAppearance.BorderSize = 2; this.btnSales.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnSales.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSales.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSales.Location = new System.Drawing.Point(637, 99); this.btnSales.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnSales.Name = "btnSales"; this.btnSales.Size = new System.Drawing.Size(100, 33); this.btnSales.TabIndex = 27; this.btnSales.Text = "&Sales"; this.btnSales.UseVisualStyleBackColor = true; this.btnSales.Click += new System.EventHandler(this.btnSales_Click); // // btnCustomers // this.btnCustomers.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCustomers.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatAppearance.BorderSize = 2; this.btnCustomers.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCustomers.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCustomers.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCustomers.Location = new System.Drawing.Point(500, 99); this.btnCustomers.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCustomers.Name = "btnCustomers"; this.btnCustomers.Size = new System.Drawing.Size(115, 33); this.btnCustomers.TabIndex = 26; this.btnCustomers.Text = "&Customers"; this.btnCustomers.UseVisualStyleBackColor = true; this.btnCustomers.Click += new System.EventHandler(this.btnCustomers_Click); // // btnMaintance // this.btnMaintance.Cursor = System.Windows.Forms.Cursors.Hand; this.btnMaintance.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatAppearance.BorderSize = 2; this.btnMaintance.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnMaintance.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnMaintance.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnMaintance.Location = new System.Drawing.Point(356, 99); this.btnMaintance.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnMaintance.Name = "btnMaintance"; this.btnMaintance.Size = new System.Drawing.Size(122, 33); this.btnMaintance.TabIndex = 25; this.btnMaintance.Text = "&Maintenance"; this.btnMaintance.UseVisualStyleBackColor = true; this.btnMaintance.Click += new System.EventHandler(this.btnMaintance_Click); // // btnCars // this.btnCars.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCars.FlatAppearance.BorderColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatAppearance.BorderSize = 2; this.btnCars.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientActiveCaption; this.btnCars.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCars.Font = new System.Drawing.Font("Arial", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCars.Location = new System.Drawing.Point(234, 99); this.btnCars.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCars.Name = "btnCars"; this.btnCars.Size = new System.Drawing.Size(100, 33); this.btnCars.TabIndex = 24; this.btnCars.Text = "&Cars"; this.btnCars.UseVisualStyleBackColor = true; this.btnCars.Click += new System.EventHandler(this.btnCars_Click); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.panel1.Controls.Add(this.lblUsed); this.panel1.Controls.Add(this.lblDateTime); this.panel1.Controls.Add(this.lblDMotors); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1114, 100); this.panel1.TabIndex = 29; // // lblUsed // this.lblUsed.AutoSize = true; this.lblUsed.Location = new System.Drawing.Point(393, 61); this.lblUsed.Name = "lblUsed"; this.lblUsed.Size = new System.Drawing.Size(279, 19); this.lblUsed.TabIndex = 3; this.lblUsed.Text = "Used Car Sales Management System"; // // lblDateTime // this.lblDateTime.AutoSize = true; this.lblDateTime.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.lblDateTime.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDateTime.Location = new System.Drawing.Point(-3, 80); this.lblDateTime.Name = "lblDateTime"; this.lblDateTime.Size = new System.Drawing.Size(80, 19); this.lblDateTime.TabIndex = 30; this.lblDateTime.Text = "DateTime"; // // lblDMotors // this.lblDMotors.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblDMotors.AutoSize = true; this.lblDMotors.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDMotors.Location = new System.Drawing.Point(460, 19); this.lblDMotors.Name = "lblDMotors"; this.lblDMotors.Size = new System.Drawing.Size(144, 36); this.lblDMotors.TabIndex = 0; this.lblDMotors.Text = "D Motors\r\n"; // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // frmSales // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1114, 381); this.Controls.Add(this.panel1); this.Controls.Add(this.btnHelp); this.Controls.Add(this.btnSales); this.Controls.Add(this.btnCustomers); this.Controls.Add(this.btnMaintance); this.Controls.Add(this.btnCars); this.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "frmSales"; this.Text = "Sales"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmSales_FormClosing); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Button btnHelp; private System.Windows.Forms.Button btnSales; private System.Windows.Forms.Button btnCustomers; private System.Windows.Forms.Button btnMaintance; private System.Windows.Forms.Button btnCars; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label lblUsed; private System.Windows.Forms.Label lblDateTime; private System.Windows.Forms.Label lblDMotors; private System.Windows.Forms.Timer timer1; } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/frmSales.resx

text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 17, 17

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/Program.cs

using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Used_Car_Sales__Management_System { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new frmLogin()); } } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System.csproj

Debug AnyCPU {8008D75D-E929-4890-B6C6-15C90DD5E28F} WinExe Properties Used_Car_Sales__Management_System Used_Car_Sales_ Management_System v4.5 512 publish\ true Disk false Foreground 7 Days false false true 0 1.0.0.%2a false false true x64 true full false bin\Debug\ DEBUG;TRACE prompt 4 AnyCPU pdbonly true bin\Release\ TRACE prompt 4 true bin\x64\Debug\ DEBUG;TRACE full x64 prompt ManagedMinimumRules.ruleset true bin\x64\Release\ TRACE true pdbonly x64 prompt ManagedMinimumRules.ruleset true Form frmCustomers.cs Form frmHelp.cs Form frmLogin.cs Form frmMain.cs Form frmMaintenance.cs Form frmRegistration.cs Form frmSales.cs frmCustomers.cs frmHelp.cs frmLogin.cs frmMain.cs frmMaintenance.cs frmRegistration.cs frmSales.cs ResXFileCodeGenerator Designer Resources.Designer.cs SettingsSingleFileGenerator Settings.Designer.cs True True Resources.resx True Settings.settings True False Microsoft .NET Framework 4.5 %28x86 and x64%29 true False .NET Framework 3.5 SP1 Client Profile false False .NET Framework 3.5 SP1 false

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System.csproj.user

publish\ en-US false

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/Debug/Used_Car_Sales_ Management_System.exe

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/Debug/Used_Car_Sales_ Management_System.exe.CodeAnalysisLog.xml

Category Certainty Collapse All Check Id Error error(s) Expand All Help Line message(s) [Location not stored in Pdb] Project Resolution Rule Rule File Rule Description Source Status Target Warning warning(s) Code Analysis Report

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/Debug/Used_Car_Sales_ Management_System.exe.config

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/Debug/Used_Car_Sales_ Management_System.exe.lastcodeanalysissucceeded

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/Debug/Used_Car_Sales_ Management_System.pdb

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/Debug/Used_Car_Sales_ Management_System.vshost.exe

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/Debug/Used_Car_Sales_ Management_System.vshost.exe.config

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/Debug/used_car_sales_management_system.accdb

Make Model Mileage Price_purchase Date_purchase Other_details Reg No Image
Toyota Avensis 87000 ¤ 800.00 1/1/16 CP54 ZKF
Volvo 540 66000 ¤ 1,070.00 2/4/16 PB07 MNB
Kia Seet 54000 ¤ 3,430.00 2/9/16 CF12 JKL
Nissan Sportige 57000 ¤ 2,150.00 3/12/16 CF05 FTG
Citroen C3 65000 ¤ 1,900.00 4/12/16 FE57 BWT
Procedure_ID Reg No
First_name Surname Address E-mail City Post_code Customer_ID Mob_number
Leonard Willis 1 07624921261
Wanda Adkins 2 07452793134
Marcella Gordon 3 07872517960
Discription Spend Date_maintenance Procedure_ID Reg No
Registration_ID First_Name Surname Mob_Number E-mail Username Password
Price_sale Date_sale Customer_ID Invoice Reg No Salesperson_ID
Salesperson_ID First_name Surname E-mail: Username Password Mob_number
1 Peter Harris [email protected] a a 07567894512
6 1 1 1 1 1 12
7 1 1 1 1 1 12

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/Debug/Used_Car_Sales_ Management_System.vshost.exe.manifest

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/x64/Debug/Used_Car_Sales_ Management_System.exe

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/x64/Debug/Used_Car_Sales_ Management_System.exe.config

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/x64/Debug/Used_Car_Sales_ Management_System.pdb

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/x64/Debug/Used_Car_Sales_ Management_System.vshost.exe

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/x64/Debug/Used_Car_Sales_ Management_System.vshost.exe.config

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/x64/Debug/Used_Car_Sales_ Management_System.vshost.exe.manifest

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/bin/x64/Debug/used_car_sales_management_system.accdb

Make Model Mileage Price_purchase Date_purchase Other_details Reg No Image
Toyota Avensis 87000 ¤ 800.00 1/1/16 CP54 ZKF
Volvo 540 66000 ¤ 1,070.00 2/4/16 PB07 MNB
Kia Seet 54000 ¤ 3,430.00 2/9/16 CF12 JKL
Nissan Sportige 57000 ¤ 2,150.00 3/12/16 CF05 FTG
Citroen C3 65000 ¤ 1,900.00 4/12/16 FE57 BWT
aa aa 333 ¤ 333.00 1/15/17 cf33 333
fff ffff 6666 ¤ 6,666.00 1/16/17 rthrh cv55 ttt
Procedure_ID Reg No
First_name Surname Address Mob_number E-mail City Post_code Customer_ID
Discription Spend Date_maintenance Procedure_ID Reg No
Registration_ID First_Name Surname Mob_Number E-mail Username Password
Price_sale Date_sale Customer_ID Invoice Reg No Salesperson_ID
Salesperson_ID First_name Surname Mob_number E-mail: Username Password
1 Peter Harris 75678945 pt a a
6 1 1 12 1 1 1
7 1 1 12 1 1 1

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales_ Management_System.csproj.FileListAbsolute.txt

C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe.config C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.pdb C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.Properties.Resources.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.csproj.GenerateResource.Cache C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.exe C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.pdb C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmLogin.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmRegistration.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\used_car_sales_management_system.accdb C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmMain.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmCustomers.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmMaintance.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmHelp.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmSales.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe.CodeAnalysisLog.xml C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe.lastcodeanalysissucceeded F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe.config F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.exe F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.pdb F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\used_car_sales_management_system.accdb F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.pdb F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.csprojResolveAssemblyReference.cache F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmCustomers.resources F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmHelp.resources F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmLogin.resources F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmMain.resources F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmMaintenance.resources F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmRegistration.resources F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmSales.resources F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.Properties.Resources.resources F:\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.csproj.GenerateResource.Cache E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe.config E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.exe E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.pdb E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\used_car_sales_management_system.accdb E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.pdb E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.csprojResolveAssemblyReference.cache E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmCustomers.resources E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmHelp.resources E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmLogin.resources E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmMain.resources E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmMaintenance.resources E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmRegistration.resources E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmSales.resources E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.Properties.Resources.resources E:\HND Computing Year 2\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.csproj.GenerateResource.Cache E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe.config E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.exe E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.pdb E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.pdb E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.csprojResolveAssemblyReference.cache E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmCustomers.resources E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmHelp.resources E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmLogin.resources E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmMain.resources E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmMaintenance.resources E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmRegistration.resources E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmSales.resources E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.Properties.Resources.resources E:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.csproj.GenerateResource.Cache F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe.config F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.exe F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.pdb F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.exe F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\Debug\Used_Car_Sales_ Management_System.pdb F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.csprojResolveAssemblyReference.cache F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmCustomers.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmHelp.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmLogin.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmMain.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmMaintenance.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmRegistration.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.frmSales.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales__Management_System.Properties.Resources.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\Debug\Used_Car_Sales_ Management_System.csproj.GenerateResource.Cache

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales_ Management_System.exe

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales_ Management_System.pdb

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales__Management_System.frmCustomers.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales__Management_System.frmHelp.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales__Management_System.frmLogin.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales__Management_System.frmMain.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales__Management_System.frmMaintance.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales__Management_System.frmRegistration.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales__Management_System.frmSales.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales__Management_System.Properties.Resources.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales__Management_System.frmMaintenance.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TempPE/used_car_sales_management_systemDataSet.Designer.cs.dll

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TempPE/used_car_sales_management_systemDataSet1.Designer.cs.dll

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TempPE/used_car_sales_management_systemDataSet2.Designer.cs.dll

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TempPE/used_car_sales_management_systemDataSet3.Designer.cs.dll

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TempPE/used_car_sales_management_systemDataSet4.Designer.cs.dll

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TempPE/used_car_sales_management_systemDataSet5.Designer.cs.dll

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/TempPE/used_car_sales_management_systemDataSet6.Designer.cs.dll

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales_ Management_System.csprojResolveAssemblyReference.cache

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/DesignTimeResolveAssemblyReferences.cache

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/Debug/Used_Car_Sales_ Management_System.csproj.GenerateResource.Cache

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/DesignTimeResolveAssemblyReferences.cache

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/DesignTimeResolveAssemblyReferencesInput.cache

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales_ Management_System.csproj.FileListAbsolute.txt

C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\x64\Debug\Used_Car_Sales_ Management_System.exe.config C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\x64\Debug\used_car_sales_management_system.accdb C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\x64\Debug\Used_Car_Sales_ Management_System.exe C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\x64\Debug\Used_Car_Sales_ Management_System.pdb C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmCustomers.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmHelp.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmLogin.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmMain.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmRegistration.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmSales.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.Properties.Resources.resources C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales_ Management_System.csproj.GenerateResource.Cache C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales_ Management_System.exe C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales_ Management_System.pdb C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales_ Management_System.csprojResolveAssemblyReference.cache C:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmMaintenance.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\x64\Debug\Used_Car_Sales_ Management_System.exe.config F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales_ Management_System.exe F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales_ Management_System.pdb F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\x64\Debug\Used_Car_Sales_ Management_System.exe F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\bin\x64\Debug\Used_Car_Sales_ Management_System.pdb F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales_ Management_System.csprojResolveAssemblyReference.cache F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmCustomers.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmHelp.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmLogin.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmMain.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmMaintenance.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmRegistration.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.frmSales.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales__Management_System.Properties.Resources.resources F:\HND Computing Year 2\IS2S552_2016_v1 Hnd Individual Project (201617)\Used_Car_Sales_ Management_System\Used_Car_Sales_ Management_System\obj\x64\Debug\Used_Car_Sales_ Management_System.csproj.GenerateResource.Cache

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales_ Management_System.csprojResolveAssemblyReference.cache

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales_ Management_System.exe

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales__Management_System.frmCustomers.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales__Management_System.frmHelp.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales__Management_System.frmLogin.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales__Management_System.frmMain.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales__Management_System.frmMaintenance.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales__Management_System.frmRegistration.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales__Management_System.frmSales.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales__Management_System.Properties.Resources.resources

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/TempPE/Properties.Resources.Designer.cs.dll

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/TempPE/used_car_sales_management_systemDataSet6.Designer.cs.dll

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales_ Management_System.pdb

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/obj/x64/Debug/Used_Car_Sales_ Management_System.csproj.GenerateResource.Cache

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/Properties/AssemblyInfo.cs

using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Used_Car_Sales_ Management_System")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Used_Car_Sales_ Management_System")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("da15c54e-3ca1-48c4-be37-eed815827ba6")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/Properties/Resources.Designer.cs

//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Used_Car_Sales__Management_System.Properties { using System; /// <summary> /// A strongly-typed resource class, for looking up localized strings, etc. /// </summary> // This class was auto-generated by the StronglyTypedResourceBuilder // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { private static global::System.Resources.ResourceManager resourceMan; private static global::System.Globalization.CultureInfo resourceCulture; [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } /// <summary> /// Returns the cached ResourceManager instance used by this class. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Used_Car_Sales__Management_System.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } /// <summary> /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } set { resourceCulture = value; } } } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/Properties/Resources.resx

text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/Properties/Settings.Designer.cs

//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Used_Car_Sales__Management_System.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); public static Settings Default { get { return defaultInstance; } } [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] [global::System.Configuration.DefaultSettingValueAttribute("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\\used_car_sales_mana" + "gement_system.accdb")] public string used_car_sales_management_systemConnectionString { get { return ((string)(this["used_car_sales_management_systemConnectionString"])); } } } }

Used_Car_Sales_ Management_System/Used_Car_Sales_ Management_System/Properties/Settings.settings

<?xml version="1.0" encoding="utf-16"?> <SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ConnectionString>Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\used_car_sales_management_system.accdb</ConnectionString> <ProviderName>System.Data.OleDb</ProviderName> </SerializableConnectionString> Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\used_car_sales_management_system.accdb