This commit is contained in:
2024-04-19 02:24:05 +01:00
parent 13b8eda0c9
commit 7fd9f6998d
50 changed files with 3286 additions and 154 deletions

View File

@@ -0,0 +1,351 @@
namespace HCI_Coursework_EVCHARGE
{
partial class ChargingDetails
{
/// <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.panel1 = new System.Windows.Forms.Panel();
this.vehiclePanel = new System.Windows.Forms.TableLayoutPanel();
this.backButton = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.scooterButton = new System.Windows.Forms.Button();
this.carButton = new System.Windows.Forms.Button();
this.bikeButton = new System.Windows.Forms.Button();
this.infoPanel = new System.Windows.Forms.TableLayoutPanel();
this.label6 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.durationLabel = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.powerLabel = new System.Windows.Forms.Label();
this.bayLabel = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.confirmPanel = new System.Windows.Forms.TableLayoutPanel();
this.confirmDetailsButton = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.vehiclePanel.SuspendLayout();
this.infoPanel.SuspendLayout();
this.confirmPanel.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.vehiclePanel);
this.panel1.Controls.Add(this.infoPanel);
this.panel1.Controls.Add(this.confirmPanel);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Margin = new System.Windows.Forms.Padding(30, 30, 30, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1920, 1080);
this.panel1.TabIndex = 0;
//
// vehiclePanel
//
this.vehiclePanel.ColumnCount = 1;
this.vehiclePanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.vehiclePanel.Controls.Add(this.backButton, 0, 4);
this.vehiclePanel.Controls.Add(this.label1, 0, 0);
this.vehiclePanel.Controls.Add(this.scooterButton, 0, 3);
this.vehiclePanel.Controls.Add(this.carButton, 0, 1);
this.vehiclePanel.Controls.Add(this.bikeButton, 0, 2);
this.vehiclePanel.Dock = System.Windows.Forms.DockStyle.Left;
this.vehiclePanel.Location = new System.Drawing.Point(0, 0);
this.vehiclePanel.Name = "vehiclePanel";
this.vehiclePanel.RowCount = 5;
this.vehiclePanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.vehiclePanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.vehiclePanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.vehiclePanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.vehiclePanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15F));
this.vehiclePanel.Size = new System.Drawing.Size(646, 1080);
this.vehiclePanel.TabIndex = 4;
//
// backButton
//
this.backButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.backButton.Location = new System.Drawing.Point(20, 938);
this.backButton.Margin = new System.Windows.Forms.Padding(20);
this.backButton.Name = "backButton";
this.backButton.Size = new System.Drawing.Size(606, 122);
this.backButton.TabIndex = 4;
this.backButton.Text = "Cancel";
this.backButton.UseVisualStyleBackColor = true;
this.backButton.Click += new System.EventHandler(this.backButton_Click);
//
// label1
//
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.Location = new System.Drawing.Point(30, 30);
this.label1.Margin = new System.Windows.Forms.Padding(30);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(586, 48);
this.label1.TabIndex = 3;
this.label1.Text = "Select Vehicle Type";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// scooterButton
//
this.scooterButton.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.scooterButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.scooterButton.Location = new System.Drawing.Point(30, 678);
this.scooterButton.Margin = new System.Windows.Forms.Padding(30);
this.scooterButton.Name = "scooterButton";
this.scooterButton.Size = new System.Drawing.Size(586, 210);
this.scooterButton.TabIndex = 2;
this.scooterButton.Text = "E-Scooter";
this.scooterButton.UseVisualStyleBackColor = false;
this.scooterButton.Click += new System.EventHandler(this.vehicleButton_Click);
//
// carButton
//
this.carButton.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.carButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.carButton.Location = new System.Drawing.Point(30, 138);
this.carButton.Margin = new System.Windows.Forms.Padding(30);
this.carButton.Name = "carButton";
this.carButton.Size = new System.Drawing.Size(586, 210);
this.carButton.TabIndex = 0;
this.carButton.Text = "Car";
this.carButton.UseVisualStyleBackColor = false;
this.carButton.Click += new System.EventHandler(this.vehicleButton_Click);
//
// bikeButton
//
this.bikeButton.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.bikeButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.bikeButton.Location = new System.Drawing.Point(30, 408);
this.bikeButton.Margin = new System.Windows.Forms.Padding(30);
this.bikeButton.Name = "bikeButton";
this.bikeButton.Size = new System.Drawing.Size(586, 210);
this.bikeButton.TabIndex = 1;
this.bikeButton.Text = "E-Bike";
this.bikeButton.UseVisualStyleBackColor = false;
this.bikeButton.Click += new System.EventHandler(this.vehicleButton_Click);
//
// infoPanel
//
this.infoPanel.ColumnCount = 1;
this.infoPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.infoPanel.Controls.Add(this.label6, 0, 7);
this.infoPanel.Controls.Add(this.textBox1, 0, 8);
this.infoPanel.Controls.Add(this.label2, 0, 0);
this.infoPanel.Controls.Add(this.durationLabel, 0, 6);
this.infoPanel.Controls.Add(this.label5, 0, 1);
this.infoPanel.Controls.Add(this.label4, 0, 5);
this.infoPanel.Controls.Add(this.powerLabel, 0, 4);
this.infoPanel.Controls.Add(this.bayLabel, 0, 2);
this.infoPanel.Controls.Add(this.label3, 0, 3);
this.infoPanel.Location = new System.Drawing.Point(646, 0);
this.infoPanel.Name = "infoPanel";
this.infoPanel.RowCount = 9;
this.infoPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.infoPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.infoPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.infoPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.infoPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.infoPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.infoPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.infoPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.infoPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.11111F));
this.infoPanel.Size = new System.Drawing.Size(1274, 904);
this.infoPanel.TabIndex = 11;
this.infoPanel.Visible = false;
//
// 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.Name = "label6";
this.label6.Size = new System.Drawing.Size(1234, 68);
this.label6.TabIndex = 11;
this.label6.Text = "Charging Duration ( Hours )";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// 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.MaxLength = 1;
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(274, 45);
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.Name = "label2";
this.label2.Size = new System.Drawing.Size(1264, 63);
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.Location = new System.Drawing.Point(30, 605);
this.durationLabel.Margin = new System.Windows.Forms.Padding(30, 5, 30, 30);
this.durationLabel.Name = "durationLabel";
this.durationLabel.Size = new System.Drawing.Size(1214, 63);
this.durationLabel.TabIndex = 10;
this.durationLabel.Text = "maxDuration";
this.durationLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// 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.Name = "label5";
this.label5.Size = new System.Drawing.Size(1234, 63);
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.Name = "label4";
this.label4.Size = new System.Drawing.Size(1234, 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.Location = new System.Drawing.Point(30, 405);
this.powerLabel.Margin = new System.Windows.Forms.Padding(30, 5, 30, 30);
this.powerLabel.Name = "powerLabel";
this.powerLabel.Size = new System.Drawing.Size(1214, 63);
this.powerLabel.TabIndex = 9;
this.powerLabel.Text = "maxPower";
this.powerLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// bayLabel
//
this.bayLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F);
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";
this.bayLabel.Size = new System.Drawing.Size(1214, 63);
this.bayLabel.TabIndex = 8;
this.bayLabel.Text = "chargingBay";
this.bayLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// 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.Name = "label3";
this.label3.Size = new System.Drawing.Size(1234, 63);
this.label3.TabIndex = 5;
this.label3.Text = "Maximum Power";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// confirmPanel
//
this.confirmPanel.ColumnCount = 1;
this.confirmPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.confirmPanel.Controls.Add(this.confirmDetailsButton, 0, 0);
this.confirmPanel.Location = new System.Drawing.Point(648, 904);
this.confirmPanel.Name = "confirmPanel";
this.confirmPanel.RowCount = 1;
this.confirmPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.confirmPanel.Size = new System.Drawing.Size(1272, 176);
this.confirmPanel.TabIndex = 3;
this.confirmPanel.Visible = false;
//
// confirmDetailsButton
//
this.confirmDetailsButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.confirmDetailsButton.Location = new System.Drawing.Point(20, 20);
this.confirmDetailsButton.Margin = new System.Windows.Forms.Padding(20);
this.confirmDetailsButton.Name = "confirmDetailsButton";
this.confirmDetailsButton.Size = new System.Drawing.Size(1232, 136);
this.confirmDetailsButton.TabIndex = 3;
this.confirmDetailsButton.Text = "Confirm";
this.confirmDetailsButton.UseVisualStyleBackColor = true;
this.confirmDetailsButton.Click += new System.EventHandler(this.confirmButton_Click);
//
// ChargingDetails
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1920, 1080);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "ChargingDetails";
this.Text = "ChargingDetails";
this.TopMost = true;
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.panel1.ResumeLayout(false);
this.vehiclePanel.ResumeLayout(false);
this.vehiclePanel.PerformLayout();
this.infoPanel.ResumeLayout(false);
this.infoPanel.PerformLayout();
this.confirmPanel.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label durationLabel;
private System.Windows.Forms.Label powerLabel;
private System.Windows.Forms.Label bayLabel;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Button confirmDetailsButton;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TableLayoutPanel confirmPanel;
private System.Windows.Forms.TableLayoutPanel infoPanel;
private System.Windows.Forms.TableLayoutPanel vehiclePanel;
private System.Windows.Forms.Button backButton;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button scooterButton;
private System.Windows.Forms.Button carButton;
private System.Windows.Forms.Button bikeButton;
}
}