166 lines
8.5 KiB
C#
166 lines
8.5 KiB
C#
namespace HCI_Coursework_EVCHARGE
|
|
{
|
|
partial class Charging
|
|
{
|
|
/// <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.button1 = new System.Windows.Forms.Button();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.timeRemainingLabel = new System.Windows.Forms.Label();
|
|
this.chargeRateLabel = new System.Windows.Forms.Label();
|
|
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
|
this.chargeCapacityLabel = new System.Windows.Forms.Label();
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 38F);
|
|
this.button1.Location = new System.Drawing.Point(1544, 840);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(300, 150);
|
|
this.button1.TabIndex = 0;
|
|
this.button1.Text = "Cancel Charging";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.cancel_Button);
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
this.tableLayoutPanel1.ColumnCount = 2;
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.timeRemainingLabel, 0, 3);
|
|
this.tableLayoutPanel1.Controls.Add(this.chargeRateLabel, 1, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.progressBar1, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.chargeCapacityLabel, 0, 2);
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(56, 104);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
this.tableLayoutPanel1.RowCount = 4;
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 35F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 35F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15F));
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(1256, 696);
|
|
this.tableLayoutPanel1.TabIndex = 1;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 50F);
|
|
this.label1.Location = new System.Drawing.Point(10, 10);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(10, 10, 10, 30);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(608, 203);
|
|
this.label1.TabIndex = 4;
|
|
this.label1.Text = "Charging...";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
|
|
//
|
|
// timeRemainingLabel
|
|
//
|
|
this.timeRemainingLabel.AutoSize = true;
|
|
this.timeRemainingLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.timeRemainingLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 35F);
|
|
this.timeRemainingLabel.Location = new System.Drawing.Point(50, 600);
|
|
this.timeRemainingLabel.Margin = new System.Windows.Forms.Padding(50, 10, 10, 10);
|
|
this.timeRemainingLabel.Name = "timeRemainingLabel";
|
|
this.timeRemainingLabel.Size = new System.Drawing.Size(568, 86);
|
|
this.timeRemainingLabel.TabIndex = 3;
|
|
this.timeRemainingLabel.Text = "timeRemaining";
|
|
//
|
|
// chargeRateLabel
|
|
//
|
|
this.chargeRateLabel.AutoSize = true;
|
|
this.chargeRateLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.chargeRateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 35F);
|
|
this.chargeRateLabel.Location = new System.Drawing.Point(678, 496);
|
|
this.chargeRateLabel.Margin = new System.Windows.Forms.Padding(50, 10, 10, 10);
|
|
this.chargeRateLabel.Name = "chargeRateLabel";
|
|
this.chargeRateLabel.Size = new System.Drawing.Size(568, 84);
|
|
this.chargeRateLabel.TabIndex = 2;
|
|
this.chargeRateLabel.Text = "chargeRate";
|
|
//
|
|
// progressBar1
|
|
//
|
|
this.tableLayoutPanel1.SetColumnSpan(this.progressBar1, 2);
|
|
this.progressBar1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.progressBar1.Location = new System.Drawing.Point(25, 268);
|
|
this.progressBar1.Margin = new System.Windows.Forms.Padding(25);
|
|
this.progressBar1.Name = "progressBar1";
|
|
this.progressBar1.Size = new System.Drawing.Size(1206, 193);
|
|
this.progressBar1.Step = 1;
|
|
this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
|
|
this.progressBar1.TabIndex = 0;
|
|
this.progressBar1.Value = 9;
|
|
//
|
|
// chargeCapacityLabel
|
|
//
|
|
this.chargeCapacityLabel.AutoSize = true;
|
|
this.chargeCapacityLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.chargeCapacityLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 35F);
|
|
this.chargeCapacityLabel.Location = new System.Drawing.Point(50, 496);
|
|
this.chargeCapacityLabel.Margin = new System.Windows.Forms.Padding(50, 10, 10, 10);
|
|
this.chargeCapacityLabel.Name = "chargeCapacityLabel";
|
|
this.chargeCapacityLabel.Size = new System.Drawing.Size(568, 84);
|
|
this.chargeCapacityLabel.TabIndex = 1;
|
|
this.chargeCapacityLabel.Text = "chargeCapacity";
|
|
//
|
|
// Charging
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1904, 1041);
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Controls.Add(this.button1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
this.Name = "Charging";
|
|
this.Text = "Charging";
|
|
this.TopMost = true;
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
this.Load += new System.EventHandler(this.Charging_Load);
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.ProgressBar progressBar1;
|
|
private System.Windows.Forms.Timer timer1;
|
|
private System.Windows.Forms.Label chargeCapacityLabel;
|
|
private System.Windows.Forms.Label chargeRateLabel;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label timeRemainingLabel;
|
|
}
|
|
} |