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

@@ -42,7 +42,7 @@
//
// button1
//
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F);
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);
@@ -68,18 +68,18 @@
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(1144, 696);
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", 30F);
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(552, 203);
this.label1.Size = new System.Drawing.Size(608, 203);
this.label1.TabIndex = 4;
this.label1.Text = "Charging...";
this.label1.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
@@ -88,11 +88,11 @@
//
this.timeRemainingLabel.AutoSize = true;
this.timeRemainingLabel.Dock = System.Windows.Forms.DockStyle.Fill;
this.timeRemainingLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F);
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(512, 86);
this.timeRemainingLabel.Size = new System.Drawing.Size(568, 86);
this.timeRemainingLabel.TabIndex = 3;
this.timeRemainingLabel.Text = "timeRemaining";
//
@@ -100,11 +100,11 @@
//
this.chargeRateLabel.AutoSize = true;
this.chargeRateLabel.Dock = System.Windows.Forms.DockStyle.Fill;
this.chargeRateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F);
this.chargeRateLabel.Location = new System.Drawing.Point(622, 496);
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(512, 84);
this.chargeRateLabel.Size = new System.Drawing.Size(568, 84);
this.chargeRateLabel.TabIndex = 2;
this.chargeRateLabel.Text = "chargeRate";
//
@@ -115,7 +115,7 @@
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(1094, 193);
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;
@@ -125,11 +125,11 @@
//
this.chargeCapacityLabel.AutoSize = true;
this.chargeCapacityLabel.Dock = System.Windows.Forms.DockStyle.Fill;
this.chargeCapacityLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F);
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(512, 84);
this.chargeCapacityLabel.Size = new System.Drawing.Size(568, 84);
this.chargeCapacityLabel.TabIndex = 1;
this.chargeCapacityLabel.Text = "chargeCapacity";
//