finished coursework

This commit is contained in:
2024-04-21 02:51:22 +01:00
parent 7fd9f6998d
commit ca7c68898e
14 changed files with 293 additions and 167 deletions

View File

@@ -89,6 +89,7 @@
// backButton
//
this.backButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.backButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 35F);
this.backButton.Location = new System.Drawing.Point(20, 938);
this.backButton.Margin = new System.Windows.Forms.Padding(20);
this.backButton.Name = "backButton";
@@ -102,11 +103,11 @@
//
this.label1.AutoSize = true;
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F);
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 40F);
this.label1.Location = new System.Drawing.Point(30, 30);
this.label1.Margin = new System.Windows.Forms.Padding(30);
this.label1.Margin = new System.Windows.Forms.Padding(30, 30, 30, 10);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(586, 48);
this.label1.Size = new System.Drawing.Size(586, 68);
this.label1.TabIndex = 3;
this.label1.Text = "Select Vehicle Type";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -115,6 +116,7 @@
//
this.scooterButton.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.scooterButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.scooterButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F);
this.scooterButton.Location = new System.Drawing.Point(30, 678);
this.scooterButton.Margin = new System.Windows.Forms.Padding(30);
this.scooterButton.Name = "scooterButton";
@@ -128,6 +130,7 @@
//
this.carButton.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.carButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.carButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F);
this.carButton.Location = new System.Drawing.Point(30, 138);
this.carButton.Margin = new System.Windows.Forms.Padding(30);
this.carButton.Name = "carButton";
@@ -141,6 +144,7 @@
//
this.bikeButton.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.bikeButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.bikeButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F);
this.bikeButton.Location = new System.Drawing.Point(30, 408);
this.bikeButton.Margin = new System.Windows.Forms.Padding(30);
this.bikeButton.Name = "bikeButton";
@@ -181,11 +185,11 @@
//
// label6
//
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 30F);
this.label6.Location = new System.Drawing.Point(20, 720);
this.label6.Margin = new System.Windows.Forms.Padding(20, 20, 20, 5);
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F);
this.label6.Location = new System.Drawing.Point(30, 715);
this.label6.Margin = new System.Windows.Forms.Padding(30, 15, 30, 10);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(1234, 68);
this.label6.Size = new System.Drawing.Size(1214, 75);
this.label6.TabIndex = 11;
this.label6.Text = "Charging Duration ( Hours )";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -193,30 +197,30 @@
// textBox1
//
this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F);
this.textBox1.Location = new System.Drawing.Point(500, 830);
this.textBox1.Margin = new System.Windows.Forms.Padding(500, 30, 500, 30);
this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 35F);
this.textBox1.Location = new System.Drawing.Point(500, 820);
this.textBox1.Margin = new System.Windows.Forms.Padding(500, 20, 500, 30);
this.textBox1.MaxLength = 1;
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(274, 45);
this.textBox1.Size = new System.Drawing.Size(274, 60);
this.textBox1.TabIndex = 12;
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.textBox1.Enter += new System.EventHandler(this.accountPin_Focus);
//
// label2
//
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 30F);
this.label2.Location = new System.Drawing.Point(0, 0);
this.label2.Margin = new System.Windows.Forms.Padding(0);
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F);
this.label2.Location = new System.Drawing.Point(30, 10);
this.label2.Margin = new System.Windows.Forms.Padding(30, 10, 30, 10);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(1264, 63);
this.label2.Size = new System.Drawing.Size(1214, 78);
this.label2.TabIndex = 4;
this.label2.Text = "Charging Information";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// durationLabel
//
this.durationLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F);
this.durationLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 35F);
this.durationLabel.Location = new System.Drawing.Point(30, 605);
this.durationLabel.Margin = new System.Windows.Forms.Padding(30, 5, 30, 30);
this.durationLabel.Name = "durationLabel";
@@ -227,29 +231,29 @@
//
// label5
//
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 30F);
this.label5.Location = new System.Drawing.Point(20, 120);
this.label5.Margin = new System.Windows.Forms.Padding(20, 20, 20, 5);
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F);
this.label5.Location = new System.Drawing.Point(20, 110);
this.label5.Margin = new System.Windows.Forms.Padding(20, 10, 20, 5);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(1234, 63);
this.label5.Size = new System.Drawing.Size(1234, 74);
this.label5.TabIndex = 7;
this.label5.Text = "Charging Bay";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label4
//
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 30F);
this.label4.Location = new System.Drawing.Point(20, 520);
this.label4.Margin = new System.Windows.Forms.Padding(20, 20, 20, 5);
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F);
this.label4.Location = new System.Drawing.Point(30, 520);
this.label4.Margin = new System.Windows.Forms.Padding(30, 20, 30, 10);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(1234, 63);
this.label4.Size = new System.Drawing.Size(1214, 63);
this.label4.TabIndex = 6;
this.label4.Text = "Maximum Duration";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// powerLabel
//
this.powerLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F);
this.powerLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 35F);
this.powerLabel.Location = new System.Drawing.Point(30, 405);
this.powerLabel.Margin = new System.Windows.Forms.Padding(30, 5, 30, 30);
this.powerLabel.Name = "powerLabel";
@@ -260,7 +264,7 @@
//
// bayLabel
//
this.bayLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F);
this.bayLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 35F);
this.bayLabel.Location = new System.Drawing.Point(30, 205);
this.bayLabel.Margin = new System.Windows.Forms.Padding(30, 5, 30, 30);
this.bayLabel.Name = "bayLabel";
@@ -271,11 +275,11 @@
//
// label3
//
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 30F);
this.label3.Location = new System.Drawing.Point(20, 320);
this.label3.Margin = new System.Windows.Forms.Padding(20, 20, 20, 5);
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F);
this.label3.Location = new System.Drawing.Point(30, 320);
this.label3.Margin = new System.Windows.Forms.Padding(30, 20, 30, 10);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(1234, 63);
this.label3.Size = new System.Drawing.Size(1214, 64);
this.label3.TabIndex = 5;
this.label3.Text = "Maximum Power";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -296,6 +300,7 @@
// confirmDetailsButton
//
this.confirmDetailsButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.confirmDetailsButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 35F);
this.confirmDetailsButton.Location = new System.Drawing.Point(20, 20);
this.confirmDetailsButton.Margin = new System.Windows.Forms.Padding(20);
this.confirmDetailsButton.Name = "confirmDetailsButton";