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

@@ -32,18 +32,22 @@
this.qrCodeButton = new System.Windows.Forms.Button();
this.accountNoButton = new System.Windows.Forms.Button();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.confirmAccountButton = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.tableLayoutPanel1.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// loginLabel
//
this.loginLabel.Anchor = System.Windows.Forms.AnchorStyles.None;
this.loginLabel.AutoSize = true;
this.loginLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 34F);
this.loginLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F);
this.loginLabel.Location = new System.Drawing.Point(0, 456);
this.loginLabel.MinimumSize = new System.Drawing.Size(1920, 0);
this.loginLabel.Name = "loginLabel";
this.loginLabel.Size = new System.Drawing.Size(1920, 53);
this.loginLabel.Size = new System.Drawing.Size(1920, 73);
this.loginLabel.TabIndex = 3;
this.loginLabel.Text = "Choose a Payment Method";
this.loginLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -51,11 +55,11 @@
// qrCodeButton
//
this.qrCodeButton.Dock = System.Windows.Forms.DockStyle.Left;
this.qrCodeButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F);
this.qrCodeButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 28F);
this.qrCodeButton.Location = new System.Drawing.Point(1042, 3);
this.qrCodeButton.Margin = new System.Windows.Forms.Padding(90, 3, 3, 3);
this.qrCodeButton.Name = "qrCodeButton";
this.qrCodeButton.Size = new System.Drawing.Size(144, 114);
this.qrCodeButton.Size = new System.Drawing.Size(254, 114);
this.qrCodeButton.TabIndex = 5;
this.qrCodeButton.Text = "Tap Payment Card";
this.qrCodeButton.UseVisualStyleBackColor = true;
@@ -64,14 +68,15 @@
// accountNoButton
//
this.accountNoButton.Dock = System.Windows.Forms.DockStyle.Right;
this.accountNoButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F);
this.accountNoButton.Location = new System.Drawing.Point(718, 3);
this.accountNoButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 28F);
this.accountNoButton.Location = new System.Drawing.Point(608, 3);
this.accountNoButton.Margin = new System.Windows.Forms.Padding(3, 3, 90, 3);
this.accountNoButton.Name = "accountNoButton";
this.accountNoButton.Size = new System.Drawing.Size(144, 114);
this.accountNoButton.Size = new System.Drawing.Size(254, 114);
this.accountNoButton.TabIndex = 4;
this.accountNoButton.Text = "Account Credit";
this.accountNoButton.UseVisualStyleBackColor = true;
this.accountNoButton.Click += new System.EventHandler(this.account_Click);
//
// tableLayoutPanel1
//
@@ -88,11 +93,44 @@
this.tableLayoutPanel1.Size = new System.Drawing.Size(1904, 120);
this.tableLayoutPanel1.TabIndex = 6;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 22F);
this.label1.Location = new System.Drawing.Point(8, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(349, 36);
this.label1.TabIndex = 7;
this.label1.Text = "Account Balance: £28.30";
//
// confirmAccountButton
//
this.confirmAccountButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 28F);
this.confirmAccountButton.Location = new System.Drawing.Point(104, 88);
this.confirmAccountButton.Name = "confirmAccountButton";
this.confirmAccountButton.Size = new System.Drawing.Size(168, 56);
this.confirmAccountButton.TabIndex = 8;
this.confirmAccountButton.Text = "Confirm";
this.confirmAccountButton.UseVisualStyleBackColor = true;
this.confirmAccountButton.Click += new System.EventHandler(this.confirmAccount_Click);
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.confirmAccountButton);
this.panel1.Location = new System.Drawing.Point(544, 760);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(368, 160);
this.panel1.TabIndex = 9;
this.panel1.Visible = false;
//
// Payment
//
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.panel1);
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(this.loginLabel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@@ -101,6 +139,8 @@
this.TopMost = true;
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.tableLayoutPanel1.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@@ -112,5 +152,8 @@
private System.Windows.Forms.Button qrCodeButton;
private System.Windows.Forms.Button accountNoButton;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button confirmAccountButton;
private System.Windows.Forms.Panel panel1;
}
}