From 13b8eda0c923fa705964a92f1a8716b4f0ca6af4 Mon Sep 17 00:00:00 2001 From: boris Date: Fri, 8 Mar 2024 12:54:06 +0000 Subject: [PATCH] begin and initialise coursework project --- HCI_Coursework_EVCHARGE/App.config | 6 + HCI_Coursework_EVCHARGE/Form1.Designer.cs | 112 +++ HCI_Coursework_EVCHARGE/Form1.cs | 34 + HCI_Coursework_EVCHARGE/Form1.resx | 123 +++ HCI_Coursework_EVCHARGE/Form2.Designer.cs | 164 ++++ HCI_Coursework_EVCHARGE/Form2.cs | 46 ++ HCI_Coursework_EVCHARGE/Form2.resx | 120 +++ HCI_Coursework_EVCHARGE/Form3.Designer.cs | 732 ++++++++++++++++++ HCI_Coursework_EVCHARGE/Form3.cs | 69 ++ HCI_Coursework_EVCHARGE/Form3.resx | 123 +++ .../HCI_Coursework_EVCHARGE.csproj | 101 +++ .../HCI_Coursework_EVCHARGE.sln | 25 + HCI_Coursework_EVCHARGE/Program.cs | 22 + .../Properties/AssemblyInfo.cs | 36 + .../Properties/Resources.Designer.cs | 71 ++ .../Properties/Resources.resx | 117 +++ .../Properties/Settings.Designer.cs | 30 + .../Properties/Settings.settings | 7 + .../WindowsFormsApplication3/App.config | 6 +- .../Form1.Designer.cs | 1 + .../WindowsFormsApplication3/Form1.cs | 5 + .../Properties/Resources.Designer.cs | 44 +- .../Properties/Settings.Designer.cs | 22 +- .../WindowsFormsPopupKeyboard.csproj | 3 +- 24 files changed, 1976 insertions(+), 43 deletions(-) create mode 100644 HCI_Coursework_EVCHARGE/App.config create mode 100644 HCI_Coursework_EVCHARGE/Form1.Designer.cs create mode 100644 HCI_Coursework_EVCHARGE/Form1.cs create mode 100644 HCI_Coursework_EVCHARGE/Form1.resx create mode 100644 HCI_Coursework_EVCHARGE/Form2.Designer.cs create mode 100644 HCI_Coursework_EVCHARGE/Form2.cs create mode 100644 HCI_Coursework_EVCHARGE/Form2.resx create mode 100644 HCI_Coursework_EVCHARGE/Form3.Designer.cs create mode 100644 HCI_Coursework_EVCHARGE/Form3.cs create mode 100644 HCI_Coursework_EVCHARGE/Form3.resx create mode 100644 HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.csproj create mode 100644 HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.sln create mode 100644 HCI_Coursework_EVCHARGE/Program.cs create mode 100644 HCI_Coursework_EVCHARGE/Properties/AssemblyInfo.cs create mode 100644 HCI_Coursework_EVCHARGE/Properties/Resources.Designer.cs create mode 100644 HCI_Coursework_EVCHARGE/Properties/Resources.resx create mode 100644 HCI_Coursework_EVCHARGE/Properties/Settings.Designer.cs create mode 100644 HCI_Coursework_EVCHARGE/Properties/Settings.settings diff --git a/HCI_Coursework_EVCHARGE/App.config b/HCI_Coursework_EVCHARGE/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/HCI_Coursework_EVCHARGE/Form1.Designer.cs b/HCI_Coursework_EVCHARGE/Form1.Designer.cs new file mode 100644 index 0000000..d7e0f5d --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Form1.Designer.cs @@ -0,0 +1,112 @@ +namespace HCI_Coursework_EVCHARGE +{ + partial class LandingForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.accountNoButton = new System.Windows.Forms.Button(); + this.qrCodeButton = new System.Windows.Forms.Button(); + this.loginLabel = new System.Windows.Forms.Label(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // accountNoButton + // + this.accountNoButton.Anchor = System.Windows.Forms.AnchorStyles.None; + this.accountNoButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.accountNoButton.Location = new System.Drawing.Point(220, 232); + this.accountNoButton.Name = "accountNoButton"; + this.accountNoButton.Size = new System.Drawing.Size(144, 96); + this.accountNoButton.TabIndex = 0; + this.accountNoButton.Text = "Account Number"; + this.accountNoButton.UseVisualStyleBackColor = true; + this.accountNoButton.Click += new System.EventHandler(this.accountNo_Click); + // + // qrCodeButton + // + this.qrCodeButton.Anchor = System.Windows.Forms.AnchorStyles.None; + this.qrCodeButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.qrCodeButton.Location = new System.Drawing.Point(504, 232); + this.qrCodeButton.Name = "qrCodeButton"; + this.qrCodeButton.Size = new System.Drawing.Size(144, 96); + this.qrCodeButton.TabIndex = 1; + this.qrCodeButton.Text = "Account Card"; + this.qrCodeButton.UseVisualStyleBackColor = true; + // + // 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.Location = new System.Drawing.Point(360, 144); + this.loginLabel.Name = "loginLabel"; + this.loginLabel.Size = new System.Drawing.Size(149, 53); + this.loginLabel.TabIndex = 2; + this.loginLabel.Text = "Log in"; + this.loginLabel.Click += new System.EventHandler(this.loginLabel_Click); + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.BackColor = System.Drawing.SystemColors.Control; + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.loginLabel); + this.panel1.Controls.Add(this.qrCodeButton); + this.panel1.Controls.Add(this.accountNoButton); + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(854, 480); + this.panel1.TabIndex = 3; + // + // LandingForm + // + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.ClientSize = new System.Drawing.Size(854, 480); + this.Controls.Add(this.panel1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "LandingForm"; + this.Text = "Form1"; + this.TopMost = true; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Button accountNoButton; + private System.Windows.Forms.Button qrCodeButton; + private System.Windows.Forms.Label loginLabel; + private System.Windows.Forms.Panel panel1; + } +} + diff --git a/HCI_Coursework_EVCHARGE/Form1.cs b/HCI_Coursework_EVCHARGE/Form1.cs new file mode 100644 index 0000000..3ab2ba0 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Form1.cs @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace HCI_Coursework_EVCHARGE +{ + public partial class LandingForm : Form + { + public LandingForm() + { + InitializeComponent(); + } + + private void loginLabel_Click(object sender, EventArgs e) + { + + } + + private void accountNo_Click(object sender, EventArgs e) + { + var loginForm = new AccountDetailForm(); + loginForm.Show(); + + //loginForm.Top = this.Top + ( loginForm.Height / 3 ); + //loginForm.Left = this.Left + ( ( this.Width * 3 ) / 7 ); + } + } +} diff --git a/HCI_Coursework_EVCHARGE/Form1.resx b/HCI_Coursework_EVCHARGE/Form1.resx new file mode 100644 index 0000000..61bc649 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Form1.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + \ No newline at end of file diff --git a/HCI_Coursework_EVCHARGE/Form2.Designer.cs b/HCI_Coursework_EVCHARGE/Form2.Designer.cs new file mode 100644 index 0000000..77e81f8 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Form2.Designer.cs @@ -0,0 +1,164 @@ +namespace HCI_Coursework_EVCHARGE +{ + partial class AccountDetailForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.panel1 = new System.Windows.Forms.Panel(); + this.accountNoTextBox = new System.Windows.Forms.TextBox(); + this.loginLabel = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.confirmLoginButton = new System.Windows.Forms.Button(); + this.cancelLoginButton = new System.Windows.Forms.Button(); + this.accountIDLabel = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // panel1 + // + this.panel1.BackColor = System.Drawing.SystemColors.Control; + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.label1); + this.panel1.Controls.Add(this.accountIDLabel); + this.panel1.Controls.Add(this.cancelLoginButton); + this.panel1.Controls.Add(this.confirmLoginButton); + this.panel1.Controls.Add(this.textBox1); + this.panel1.Controls.Add(this.loginLabel); + this.panel1.Controls.Add(this.accountNoTextBox); + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(456, 544); + this.panel1.TabIndex = 0; + // + // accountNoTextBox + // + this.accountNoTextBox.Anchor = System.Windows.Forms.AnchorStyles.None; + this.accountNoTextBox.BackColor = System.Drawing.SystemColors.Window; + this.accountNoTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.accountNoTextBox.Cursor = System.Windows.Forms.Cursors.IBeam; + this.accountNoTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.accountNoTextBox.Location = new System.Drawing.Point(80, 184); + this.accountNoTextBox.MaxLength = 10; + this.accountNoTextBox.Name = "accountNoTextBox"; + this.accountNoTextBox.Size = new System.Drawing.Size(288, 35); + this.accountNoTextBox.TabIndex = 0; + this.accountNoTextBox.Enter += new System.EventHandler(this.accountNo_Focus); + // + // loginLabel + // + this.loginLabel.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.loginLabel.AutoSize = true; + this.loginLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 22F); + this.loginLabel.Location = new System.Drawing.Point(120, 72); + this.loginLabel.Name = "loginLabel"; + this.loginLabel.Size = new System.Drawing.Size(208, 36); + this.loginLabel.TabIndex = 1; + this.loginLabel.Text = "Account Login"; + // + // textBox1 + // + this.textBox1.Anchor = System.Windows.Forms.AnchorStyles.None; + this.textBox1.BackColor = System.Drawing.SystemColors.Window; + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBox1.Cursor = System.Windows.Forms.Cursors.IBeam; + this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.textBox1.Location = new System.Drawing.Point(80, 288); + this.textBox1.MaxLength = 6; + this.textBox1.Name = "textBox1"; + this.textBox1.PasswordChar = '*'; + this.textBox1.Size = new System.Drawing.Size(288, 35); + this.textBox1.TabIndex = 2; + // + // confirmLoginButton + // + this.confirmLoginButton.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.confirmLoginButton.Location = new System.Drawing.Point(40, 392); + this.confirmLoginButton.Name = "confirmLoginButton"; + this.confirmLoginButton.Size = new System.Drawing.Size(150, 75); + this.confirmLoginButton.TabIndex = 3; + this.confirmLoginButton.Text = "Login"; + this.confirmLoginButton.UseVisualStyleBackColor = true; + // + // cancelLoginButton + // + this.cancelLoginButton.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.cancelLoginButton.Location = new System.Drawing.Point(264, 392); + this.cancelLoginButton.Name = "cancelLoginButton"; + this.cancelLoginButton.Size = new System.Drawing.Size(150, 75); + this.cancelLoginButton.TabIndex = 4; + this.cancelLoginButton.Text = "Cancel"; + this.cancelLoginButton.UseVisualStyleBackColor = true; + // + // accountIDLabel + // + this.accountIDLabel.AutoSize = true; + this.accountIDLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F); + this.accountIDLabel.Location = new System.Drawing.Point(88, 152); + this.accountIDLabel.Name = "accountIDLabel"; + this.accountIDLabel.Size = new System.Drawing.Size(119, 26); + this.accountIDLabel.TabIndex = 5; + this.accountIDLabel.Text = "Account ID"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F); + this.label1.Location = new System.Drawing.Point(88, 256); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(49, 26); + this.label1.TabIndex = 6; + this.label1.Text = "PIN"; + // + // AccountDetailForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(456, 544); + this.Controls.Add(this.panel1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "AccountDetailForm"; + this.Text = "Account Detail Login"; + this.TopMost = true; + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.TextBox accountNoTextBox; + private System.Windows.Forms.Label loginLabel; + private System.Windows.Forms.Label accountIDLabel; + private System.Windows.Forms.Button cancelLoginButton; + private System.Windows.Forms.Button confirmLoginButton; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label1; + } +} \ No newline at end of file diff --git a/HCI_Coursework_EVCHARGE/Form2.cs b/HCI_Coursework_EVCHARGE/Form2.cs new file mode 100644 index 0000000..7c5fe77 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Form2.cs @@ -0,0 +1,46 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Reflection.Emit; +using System.Security.Cryptography; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace HCI_Coursework_EVCHARGE +{ + public partial class AccountDetailForm : Form + { + Keyboard keyboard; + public AccountDetailForm() + { + InitializeComponent(); + this.ActiveControl = this.loginLabel; + StartPosition = FormStartPosition.CenterScreen; + } + + private void accountNo_Focus(object sender, EventArgs e) + { + TextBox textBox = (TextBox)sender; // take a copy of the object reference for the particular textbox pressed + + if (keyboard == null) // check if the keyboard is already created + { + keyboard = new Keyboard(); // no keyboard so create an instance of one + keyboard.FormClosed += delegate + { + keyboard = null; // when the keyboard is closed, dispose of the keyboard instance + this.ActiveControl = loginLabel; // when the keyboard is closed, reset focus to the dummy label else + // it will give focus to a textbox which would trigger the event to + // make another keyboard appear. + }; + } + keyboard.setTextBox(textBox); // tell the keyboard which textbox to send its characters too + keyboard.Show(); // show the keyboard + + keyboard.Top = this.Top + textBox.Top + textBox.Height + 30; + } + } +} diff --git a/HCI_Coursework_EVCHARGE/Form2.resx b/HCI_Coursework_EVCHARGE/Form2.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Form2.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/HCI_Coursework_EVCHARGE/Form3.Designer.cs b/HCI_Coursework_EVCHARGE/Form3.Designer.cs new file mode 100644 index 0000000..88aac34 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Form3.Designer.cs @@ -0,0 +1,732 @@ +namespace HCI_Coursework_EVCHARGE +{ + partial class Keyboard + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.buttonQ = new System.Windows.Forms.Button(); + this.buttonW = new System.Windows.Forms.Button(); + this.buttonE = new System.Windows.Forms.Button(); + this.buttonR = new System.Windows.Forms.Button(); + this.buttonT = new System.Windows.Forms.Button(); + this.buttonY = new System.Windows.Forms.Button(); + this.buttonU = new System.Windows.Forms.Button(); + this.buttonI = new System.Windows.Forms.Button(); + this.buttonO = new System.Windows.Forms.Button(); + this.buttonP = new System.Windows.Forms.Button(); + this.buttonL = new System.Windows.Forms.Button(); + this.buttonK = new System.Windows.Forms.Button(); + this.buttonJ = new System.Windows.Forms.Button(); + this.buttonH = new System.Windows.Forms.Button(); + this.buttonG = new System.Windows.Forms.Button(); + this.buttonF = new System.Windows.Forms.Button(); + this.buttonD = new System.Windows.Forms.Button(); + this.buttonS = new System.Windows.Forms.Button(); + this.buttonA = new System.Windows.Forms.Button(); + this.buttonM = new System.Windows.Forms.Button(); + this.buttonN = new System.Windows.Forms.Button(); + this.buttonB = new System.Windows.Forms.Button(); + this.buttonV = new System.Windows.Forms.Button(); + this.buttonC = new System.Windows.Forms.Button(); + this.buttonX = new System.Windows.Forms.Button(); + this.buttonZ = new System.Windows.Forms.Button(); + this.buttonSpace = new System.Windows.Forms.Button(); + this.buttonBackspace = new System.Windows.Forms.Button(); + this.buttonConfirm = new System.Windows.Forms.Button(); + this.buttonCaps = new System.Windows.Forms.Button(); + this.panel1 = new System.Windows.Forms.Panel(); + this.button0 = new System.Windows.Forms.Button(); + this.button9 = new System.Windows.Forms.Button(); + this.button8 = new System.Windows.Forms.Button(); + this.button7 = new System.Windows.Forms.Button(); + this.button6 = new System.Windows.Forms.Button(); + this.button5 = new System.Windows.Forms.Button(); + this.button4 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // buttonQ + // + this.buttonQ.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonQ.FlatAppearance.BorderSize = 4; + this.buttonQ.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonQ.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonQ.Location = new System.Drawing.Point(24, 96); + this.buttonQ.Name = "buttonQ"; + this.buttonQ.Size = new System.Drawing.Size(50, 50); + this.buttonQ.TabIndex = 0; + this.buttonQ.Text = "Q"; + this.buttonQ.UseVisualStyleBackColor = true; + this.buttonQ.Click += new System.EventHandler(this.button_Click); + // + // buttonW + // + this.buttonW.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonW.FlatAppearance.BorderSize = 4; + this.buttonW.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonW.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonW.Location = new System.Drawing.Point(108, 96); + this.buttonW.Name = "buttonW"; + this.buttonW.Size = new System.Drawing.Size(50, 50); + this.buttonW.TabIndex = 1; + this.buttonW.Text = "W"; + this.buttonW.UseVisualStyleBackColor = true; + this.buttonW.Click += new System.EventHandler(this.button_Click); + // + // buttonE + // + this.buttonE.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonE.FlatAppearance.BorderSize = 4; + this.buttonE.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonE.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonE.Location = new System.Drawing.Point(192, 96); + this.buttonE.Name = "buttonE"; + this.buttonE.Size = new System.Drawing.Size(50, 50); + this.buttonE.TabIndex = 2; + this.buttonE.Text = "E"; + this.buttonE.UseVisualStyleBackColor = true; + this.buttonE.Click += new System.EventHandler(this.button_Click); + // + // buttonR + // + this.buttonR.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonR.FlatAppearance.BorderSize = 4; + this.buttonR.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonR.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonR.Location = new System.Drawing.Point(276, 96); + this.buttonR.Name = "buttonR"; + this.buttonR.Size = new System.Drawing.Size(50, 50); + this.buttonR.TabIndex = 3; + this.buttonR.Text = "R"; + this.buttonR.UseVisualStyleBackColor = true; + this.buttonR.Click += new System.EventHandler(this.button_Click); + // + // buttonT + // + this.buttonT.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonT.FlatAppearance.BorderSize = 4; + this.buttonT.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonT.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonT.Location = new System.Drawing.Point(360, 96); + this.buttonT.Name = "buttonT"; + this.buttonT.Size = new System.Drawing.Size(50, 50); + this.buttonT.TabIndex = 4; + this.buttonT.Text = "T"; + this.buttonT.UseVisualStyleBackColor = true; + this.buttonT.Click += new System.EventHandler(this.button_Click); + // + // buttonY + // + this.buttonY.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonY.FlatAppearance.BorderSize = 4; + this.buttonY.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonY.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonY.Location = new System.Drawing.Point(444, 96); + this.buttonY.Name = "buttonY"; + this.buttonY.Size = new System.Drawing.Size(50, 50); + this.buttonY.TabIndex = 5; + this.buttonY.Text = "Y"; + this.buttonY.UseVisualStyleBackColor = true; + this.buttonY.Click += new System.EventHandler(this.button_Click); + // + // buttonU + // + this.buttonU.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonU.FlatAppearance.BorderSize = 4; + this.buttonU.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonU.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonU.Location = new System.Drawing.Point(528, 96); + this.buttonU.Name = "buttonU"; + this.buttonU.Size = new System.Drawing.Size(50, 50); + this.buttonU.TabIndex = 6; + this.buttonU.Text = "U"; + this.buttonU.UseVisualStyleBackColor = true; + this.buttonU.Click += new System.EventHandler(this.button_Click); + // + // buttonI + // + this.buttonI.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonI.FlatAppearance.BorderSize = 4; + this.buttonI.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonI.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonI.Location = new System.Drawing.Point(612, 96); + this.buttonI.Name = "buttonI"; + this.buttonI.Size = new System.Drawing.Size(50, 50); + this.buttonI.TabIndex = 7; + this.buttonI.Text = "I"; + this.buttonI.UseVisualStyleBackColor = true; + this.buttonI.Click += new System.EventHandler(this.button_Click); + // + // buttonO + // + this.buttonO.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonO.FlatAppearance.BorderSize = 4; + this.buttonO.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonO.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonO.Location = new System.Drawing.Point(696, 96); + this.buttonO.Name = "buttonO"; + this.buttonO.Size = new System.Drawing.Size(50, 50); + this.buttonO.TabIndex = 8; + this.buttonO.Text = "O"; + this.buttonO.UseVisualStyleBackColor = true; + this.buttonO.Click += new System.EventHandler(this.button_Click); + // + // buttonP + // + this.buttonP.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonP.FlatAppearance.BorderSize = 4; + this.buttonP.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonP.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonP.Location = new System.Drawing.Point(780, 96); + this.buttonP.Name = "buttonP"; + this.buttonP.Size = new System.Drawing.Size(50, 50); + this.buttonP.TabIndex = 9; + this.buttonP.Text = "P"; + this.buttonP.UseVisualStyleBackColor = true; + this.buttonP.Click += new System.EventHandler(this.button_Click); + // + // buttonL + // + this.buttonL.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonL.FlatAppearance.BorderSize = 4; + this.buttonL.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonL.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonL.Location = new System.Drawing.Point(738, 168); + this.buttonL.Name = "buttonL"; + this.buttonL.Size = new System.Drawing.Size(50, 50); + this.buttonL.TabIndex = 18; + this.buttonL.Text = "L"; + this.buttonL.UseVisualStyleBackColor = true; + this.buttonL.Click += new System.EventHandler(this.button_Click); + // + // buttonK + // + this.buttonK.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonK.FlatAppearance.BorderSize = 4; + this.buttonK.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonK.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonK.Location = new System.Drawing.Point(654, 168); + this.buttonK.Name = "buttonK"; + this.buttonK.Size = new System.Drawing.Size(50, 50); + this.buttonK.TabIndex = 17; + this.buttonK.Text = "K"; + this.buttonK.UseVisualStyleBackColor = true; + this.buttonK.Click += new System.EventHandler(this.button_Click); + // + // buttonJ + // + this.buttonJ.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonJ.FlatAppearance.BorderSize = 4; + this.buttonJ.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonJ.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonJ.Location = new System.Drawing.Point(570, 168); + this.buttonJ.Name = "buttonJ"; + this.buttonJ.Size = new System.Drawing.Size(50, 50); + this.buttonJ.TabIndex = 16; + this.buttonJ.Text = "J"; + this.buttonJ.UseVisualStyleBackColor = true; + this.buttonJ.Click += new System.EventHandler(this.button_Click); + // + // buttonH + // + this.buttonH.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonH.FlatAppearance.BorderSize = 4; + this.buttonH.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonH.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonH.Location = new System.Drawing.Point(486, 168); + this.buttonH.Name = "buttonH"; + this.buttonH.Size = new System.Drawing.Size(50, 50); + this.buttonH.TabIndex = 15; + this.buttonH.Text = "H"; + this.buttonH.UseVisualStyleBackColor = true; + this.buttonH.Click += new System.EventHandler(this.button_Click); + // + // buttonG + // + this.buttonG.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonG.FlatAppearance.BorderSize = 4; + this.buttonG.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonG.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonG.Location = new System.Drawing.Point(402, 168); + this.buttonG.Name = "buttonG"; + this.buttonG.Size = new System.Drawing.Size(50, 50); + this.buttonG.TabIndex = 14; + this.buttonG.Text = "G"; + this.buttonG.UseVisualStyleBackColor = true; + this.buttonG.Click += new System.EventHandler(this.button_Click); + // + // buttonF + // + this.buttonF.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonF.FlatAppearance.BorderSize = 4; + this.buttonF.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonF.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonF.Location = new System.Drawing.Point(318, 168); + this.buttonF.Name = "buttonF"; + this.buttonF.Size = new System.Drawing.Size(50, 50); + this.buttonF.TabIndex = 13; + this.buttonF.Text = "F"; + this.buttonF.UseVisualStyleBackColor = true; + this.buttonF.Click += new System.EventHandler(this.button_Click); + // + // buttonD + // + this.buttonD.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonD.FlatAppearance.BorderSize = 4; + this.buttonD.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonD.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonD.Location = new System.Drawing.Point(234, 168); + this.buttonD.Name = "buttonD"; + this.buttonD.Size = new System.Drawing.Size(50, 50); + this.buttonD.TabIndex = 12; + this.buttonD.Text = "D"; + this.buttonD.UseVisualStyleBackColor = true; + this.buttonD.Click += new System.EventHandler(this.button_Click); + // + // buttonS + // + this.buttonS.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonS.FlatAppearance.BorderSize = 4; + this.buttonS.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonS.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonS.Location = new System.Drawing.Point(150, 168); + this.buttonS.Name = "buttonS"; + this.buttonS.Size = new System.Drawing.Size(50, 50); + this.buttonS.TabIndex = 11; + this.buttonS.Text = "S"; + this.buttonS.UseVisualStyleBackColor = true; + this.buttonS.Click += new System.EventHandler(this.button_Click); + // + // buttonA + // + this.buttonA.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonA.FlatAppearance.BorderSize = 4; + this.buttonA.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonA.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonA.Location = new System.Drawing.Point(66, 168); + this.buttonA.Name = "buttonA"; + this.buttonA.Size = new System.Drawing.Size(50, 50); + this.buttonA.TabIndex = 10; + this.buttonA.Text = "A"; + this.buttonA.UseVisualStyleBackColor = true; + this.buttonA.Click += new System.EventHandler(this.button_Click); + // + // buttonM + // + this.buttonM.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonM.FlatAppearance.BorderSize = 4; + this.buttonM.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonM.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonM.Location = new System.Drawing.Point(612, 240); + this.buttonM.Name = "buttonM"; + this.buttonM.Size = new System.Drawing.Size(50, 50); + this.buttonM.TabIndex = 25; + this.buttonM.Text = "M"; + this.buttonM.UseVisualStyleBackColor = true; + this.buttonM.Click += new System.EventHandler(this.button_Click); + // + // buttonN + // + this.buttonN.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonN.FlatAppearance.BorderSize = 4; + this.buttonN.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonN.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonN.Location = new System.Drawing.Point(528, 240); + this.buttonN.Name = "buttonN"; + this.buttonN.Size = new System.Drawing.Size(50, 50); + this.buttonN.TabIndex = 24; + this.buttonN.Text = "N"; + this.buttonN.UseVisualStyleBackColor = true; + this.buttonN.Click += new System.EventHandler(this.button_Click); + // + // buttonB + // + this.buttonB.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonB.FlatAppearance.BorderSize = 4; + this.buttonB.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonB.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonB.Location = new System.Drawing.Point(444, 240); + this.buttonB.Name = "buttonB"; + this.buttonB.Size = new System.Drawing.Size(50, 50); + this.buttonB.TabIndex = 23; + this.buttonB.Text = "B"; + this.buttonB.UseVisualStyleBackColor = true; + this.buttonB.Click += new System.EventHandler(this.button_Click); + // + // buttonV + // + this.buttonV.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonV.FlatAppearance.BorderSize = 4; + this.buttonV.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonV.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonV.Location = new System.Drawing.Point(360, 240); + this.buttonV.Name = "buttonV"; + this.buttonV.Size = new System.Drawing.Size(50, 50); + this.buttonV.TabIndex = 22; + this.buttonV.Text = "V"; + this.buttonV.UseVisualStyleBackColor = true; + this.buttonV.Click += new System.EventHandler(this.button_Click); + // + // buttonC + // + this.buttonC.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonC.FlatAppearance.BorderSize = 4; + this.buttonC.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonC.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonC.Location = new System.Drawing.Point(276, 240); + this.buttonC.Name = "buttonC"; + this.buttonC.Size = new System.Drawing.Size(50, 50); + this.buttonC.TabIndex = 21; + this.buttonC.Text = "C"; + this.buttonC.UseVisualStyleBackColor = true; + this.buttonC.Click += new System.EventHandler(this.button_Click); + // + // buttonX + // + this.buttonX.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonX.FlatAppearance.BorderSize = 4; + this.buttonX.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonX.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonX.Location = new System.Drawing.Point(192, 240); + this.buttonX.Name = "buttonX"; + this.buttonX.Size = new System.Drawing.Size(50, 50); + this.buttonX.TabIndex = 20; + this.buttonX.Text = "X"; + this.buttonX.UseVisualStyleBackColor = true; + this.buttonX.Click += new System.EventHandler(this.button_Click); + // + // buttonZ + // + this.buttonZ.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonZ.FlatAppearance.BorderSize = 4; + this.buttonZ.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonZ.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonZ.Location = new System.Drawing.Point(108, 240); + this.buttonZ.Name = "buttonZ"; + this.buttonZ.Size = new System.Drawing.Size(50, 50); + this.buttonZ.TabIndex = 19; + this.buttonZ.Text = "Z"; + this.buttonZ.UseVisualStyleBackColor = true; + this.buttonZ.Click += new System.EventHandler(this.button_Click); + // + // buttonSpace + // + this.buttonSpace.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonSpace.FlatAppearance.BorderSize = 4; + this.buttonSpace.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonSpace.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.buttonSpace.Location = new System.Drawing.Point(210, 312); + this.buttonSpace.Name = "buttonSpace"; + this.buttonSpace.Size = new System.Drawing.Size(368, 50); + this.buttonSpace.TabIndex = 26; + this.buttonSpace.Text = "_"; + this.buttonSpace.UseVisualStyleBackColor = true; + this.buttonSpace.Click += new System.EventHandler(this.space_Click); + // + // buttonBackspace + // + this.buttonBackspace.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonBackspace.FlatAppearance.BorderSize = 4; + this.buttonBackspace.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonBackspace.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F); + this.buttonBackspace.Location = new System.Drawing.Point(696, 240); + this.buttonBackspace.Name = "buttonBackspace"; + this.buttonBackspace.Size = new System.Drawing.Size(132, 50); + this.buttonBackspace.TabIndex = 27; + this.buttonBackspace.Text = "Backspace"; + this.buttonBackspace.UseVisualStyleBackColor = true; + this.buttonBackspace.Click += new System.EventHandler(this.backspace_Click); + // + // buttonConfirm + // + this.buttonConfirm.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonConfirm.FlatAppearance.BorderSize = 4; + this.buttonConfirm.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonConfirm.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F); + this.buttonConfirm.Location = new System.Drawing.Point(696, 312); + this.buttonConfirm.Name = "buttonConfirm"; + this.buttonConfirm.Size = new System.Drawing.Size(128, 50); + this.buttonConfirm.TabIndex = 28; + this.buttonConfirm.Text = "Confirm"; + this.buttonConfirm.UseVisualStyleBackColor = true; + // + // buttonCaps + // + this.buttonCaps.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.buttonCaps.FlatAppearance.BorderSize = 4; + this.buttonCaps.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.buttonCaps.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F); + this.buttonCaps.Location = new System.Drawing.Point(18, 312); + this.buttonCaps.Name = "buttonCaps"; + this.buttonCaps.Size = new System.Drawing.Size(128, 50); + this.buttonCaps.TabIndex = 29; + this.buttonCaps.Text = "Caps Lock"; + this.buttonCaps.UseVisualStyleBackColor = true; + this.buttonCaps.Click += new System.EventHandler(this.caps_Click); + // + // panel1 + // + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.button0); + this.panel1.Controls.Add(this.button9); + this.panel1.Controls.Add(this.button8); + this.panel1.Controls.Add(this.button7); + this.panel1.Controls.Add(this.button6); + this.panel1.Controls.Add(this.button5); + this.panel1.Controls.Add(this.button4); + this.panel1.Controls.Add(this.button3); + this.panel1.Controls.Add(this.button2); + this.panel1.Controls.Add(this.button1); + this.panel1.Controls.Add(this.buttonCaps); + this.panel1.Controls.Add(this.buttonConfirm); + this.panel1.Controls.Add(this.buttonBackspace); + this.panel1.Controls.Add(this.buttonSpace); + this.panel1.Controls.Add(this.buttonM); + this.panel1.Controls.Add(this.buttonN); + this.panel1.Controls.Add(this.buttonB); + this.panel1.Controls.Add(this.buttonV); + this.panel1.Controls.Add(this.buttonC); + this.panel1.Controls.Add(this.buttonX); + this.panel1.Controls.Add(this.buttonZ); + this.panel1.Controls.Add(this.buttonL); + this.panel1.Controls.Add(this.buttonK); + this.panel1.Controls.Add(this.buttonJ); + this.panel1.Controls.Add(this.buttonH); + this.panel1.Controls.Add(this.buttonG); + this.panel1.Controls.Add(this.buttonF); + this.panel1.Controls.Add(this.buttonD); + this.panel1.Controls.Add(this.buttonS); + this.panel1.Controls.Add(this.buttonA); + this.panel1.Controls.Add(this.buttonP); + this.panel1.Controls.Add(this.buttonO); + this.panel1.Controls.Add(this.buttonI); + this.panel1.Controls.Add(this.buttonU); + this.panel1.Controls.Add(this.buttonY); + this.panel1.Controls.Add(this.buttonT); + this.panel1.Controls.Add(this.buttonR); + this.panel1.Controls.Add(this.buttonE); + this.panel1.Controls.Add(this.buttonW); + this.panel1.Controls.Add(this.buttonQ); + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Padding = new System.Windows.Forms.Padding(4); + this.panel1.Size = new System.Drawing.Size(854, 390); + this.panel1.TabIndex = 30; + // + // button0 + // + this.button0.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button0.FlatAppearance.BorderSize = 4; + this.button0.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button0.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.button0.Location = new System.Drawing.Point(780, 24); + this.button0.Name = "button0"; + this.button0.Size = new System.Drawing.Size(50, 50); + this.button0.TabIndex = 39; + this.button0.Text = "0"; + this.button0.UseVisualStyleBackColor = true; + // + // button9 + // + this.button9.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button9.FlatAppearance.BorderSize = 4; + this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.button9.Location = new System.Drawing.Point(696, 24); + this.button9.Name = "button9"; + this.button9.Size = new System.Drawing.Size(50, 50); + this.button9.TabIndex = 38; + this.button9.Text = "9"; + this.button9.UseVisualStyleBackColor = true; + // + // button8 + // + this.button8.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button8.FlatAppearance.BorderSize = 4; + this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.button8.Location = new System.Drawing.Point(612, 24); + this.button8.Name = "button8"; + this.button8.Size = new System.Drawing.Size(50, 50); + this.button8.TabIndex = 37; + this.button8.Text = "8"; + this.button8.UseVisualStyleBackColor = true; + // + // button7 + // + this.button7.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button7.FlatAppearance.BorderSize = 4; + this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.button7.Location = new System.Drawing.Point(528, 24); + this.button7.Name = "button7"; + this.button7.Size = new System.Drawing.Size(50, 50); + this.button7.TabIndex = 36; + this.button7.Text = "7"; + this.button7.UseVisualStyleBackColor = true; + // + // button6 + // + this.button6.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button6.FlatAppearance.BorderSize = 4; + this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.button6.Location = new System.Drawing.Point(444, 24); + this.button6.Name = "button6"; + this.button6.Size = new System.Drawing.Size(50, 50); + this.button6.TabIndex = 35; + this.button6.Text = "6"; + this.button6.UseVisualStyleBackColor = true; + // + // button5 + // + this.button5.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button5.FlatAppearance.BorderSize = 4; + this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.button5.Location = new System.Drawing.Point(360, 24); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(50, 50); + this.button5.TabIndex = 34; + this.button5.Text = "5"; + this.button5.UseVisualStyleBackColor = true; + // + // button4 + // + this.button4.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button4.FlatAppearance.BorderSize = 4; + this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.button4.Location = new System.Drawing.Point(276, 24); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(50, 50); + this.button4.TabIndex = 33; + this.button4.Text = "4"; + this.button4.UseVisualStyleBackColor = true; + // + // button3 + // + this.button3.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button3.FlatAppearance.BorderSize = 4; + this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.button3.Location = new System.Drawing.Point(192, 24); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(50, 50); + this.button3.TabIndex = 32; + this.button3.Text = "3"; + this.button3.UseVisualStyleBackColor = true; + // + // button2 + // + this.button2.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button2.FlatAppearance.BorderSize = 4; + this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.button2.Location = new System.Drawing.Point(108, 24); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(50, 50); + this.button2.TabIndex = 31; + this.button2.Text = "2"; + this.button2.UseVisualStyleBackColor = true; + // + // button1 + // + this.button1.FlatAppearance.BorderColor = System.Drawing.Color.Silver; + this.button1.FlatAppearance.BorderSize = 4; + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F); + this.button1.Location = new System.Drawing.Point(24, 24); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(50, 50); + this.button1.TabIndex = 30; + this.button1.Text = "1"; + this.button1.UseVisualStyleBackColor = true; + // + // Keyboard + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(854, 390); + this.Controls.Add(this.panel1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "Keyboard"; + this.Text = "Keyboard"; + this.TopMost = true; + this.panel1.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Button buttonQ; + private System.Windows.Forms.Button buttonW; + private System.Windows.Forms.Button buttonE; + private System.Windows.Forms.Button buttonR; + private System.Windows.Forms.Button buttonT; + private System.Windows.Forms.Button buttonY; + private System.Windows.Forms.Button buttonU; + private System.Windows.Forms.Button buttonI; + private System.Windows.Forms.Button buttonO; + private System.Windows.Forms.Button buttonP; + private System.Windows.Forms.Button buttonL; + private System.Windows.Forms.Button buttonK; + private System.Windows.Forms.Button buttonJ; + private System.Windows.Forms.Button buttonH; + private System.Windows.Forms.Button buttonG; + private System.Windows.Forms.Button buttonF; + private System.Windows.Forms.Button buttonD; + private System.Windows.Forms.Button buttonS; + private System.Windows.Forms.Button buttonA; + private System.Windows.Forms.Button buttonM; + private System.Windows.Forms.Button buttonN; + private System.Windows.Forms.Button buttonB; + private System.Windows.Forms.Button buttonV; + private System.Windows.Forms.Button buttonC; + private System.Windows.Forms.Button buttonX; + private System.Windows.Forms.Button buttonZ; + private System.Windows.Forms.Button buttonSpace; + private System.Windows.Forms.Button buttonBackspace; + private System.Windows.Forms.Button buttonConfirm; + private System.Windows.Forms.Button buttonCaps; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Button button0; + private System.Windows.Forms.Button button9; + private System.Windows.Forms.Button button8; + private System.Windows.Forms.Button button7; + private System.Windows.Forms.Button button6; + private System.Windows.Forms.Button button5; + private System.Windows.Forms.Button button4; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button1; + } +} \ No newline at end of file diff --git a/HCI_Coursework_EVCHARGE/Form3.cs b/HCI_Coursework_EVCHARGE/Form3.cs new file mode 100644 index 0000000..e2e38ec --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Form3.cs @@ -0,0 +1,69 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Reflection.Emit; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace HCI_Coursework_EVCHARGE +{ + public partial class Keyboard : Form + { + TextBox entryBox; + bool capsLock = true; + + public Keyboard() + { + InitializeComponent(); + this.TopMost = true; + StartPosition = FormStartPosition.CenterScreen; + } + + public void setTextBox(TextBox textBox) + { + entryBox = textBox; + } + + + private void button_Click(object sender, EventArgs e) + { + if( capsLock == true ) + { + entryBox.Text += ((Button)sender).Text; + } + else + { + entryBox.Text += ((Button)sender).Text.ToLower(); + } + } + + private void backspace_Click(object sender, EventArgs e) + { + if ( entryBox.Text.Length > 0 ) + { + entryBox.Text = entryBox.Text.Substring(0, entryBox.Text.Length - 1); + } + } + + private void space_Click(object obj, EventArgs e) + { + entryBox.Text += " "; + } + + private void caps_Click(object sender, EventArgs e) + { + if ( capsLock == true ) + { + capsLock = false; + } + else + { + capsLock = true; + } + } + } +} diff --git a/HCI_Coursework_EVCHARGE/Form3.resx b/HCI_Coursework_EVCHARGE/Form3.resx new file mode 100644 index 0000000..36390cb --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Form3.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 6, 6 + + \ No newline at end of file diff --git a/HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.csproj b/HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.csproj new file mode 100644 index 0000000..65856b9 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.csproj @@ -0,0 +1,101 @@ + + + + + Debug + AnyCPU + {6BDE01F7-82B2-409C-8C1C-87294E78FB05} + WinExe + HCI_Coursework_EVCHARGE + HCI_Coursework_EVCHARGE + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + Form + + + Form2.cs + + + Form + + + Form3.cs + + + + + Form1.cs + + + Form2.cs + + + Form3.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.sln b/HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.sln new file mode 100644 index 0000000..a85c4a4 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34330.188 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HCI_Coursework_EVCHARGE", "HCI_Coursework_EVCHARGE.csproj", "{6BDE01F7-82B2-409C-8C1C-87294E78FB05}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6BDE01F7-82B2-409C-8C1C-87294E78FB05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6BDE01F7-82B2-409C-8C1C-87294E78FB05}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6BDE01F7-82B2-409C-8C1C-87294E78FB05}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6BDE01F7-82B2-409C-8C1C-87294E78FB05}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {EAE4DB66-B318-445E-ADDB-BC22DA91D337} + EndGlobalSection +EndGlobal diff --git a/HCI_Coursework_EVCHARGE/Program.cs b/HCI_Coursework_EVCHARGE/Program.cs new file mode 100644 index 0000000..62cce59 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace HCI_Coursework_EVCHARGE +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new LandingForm()); + } + } +} diff --git a/HCI_Coursework_EVCHARGE/Properties/AssemblyInfo.cs b/HCI_Coursework_EVCHARGE/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..40565be --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("HCI_Coursework_EVCHARGE")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("HCI_Coursework_EVCHARGE")] +[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("6bde01f7-82b2-409c-8c1c-87294e78fb05")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/HCI_Coursework_EVCHARGE/Properties/Resources.Designer.cs b/HCI_Coursework_EVCHARGE/Properties/Resources.Designer.cs new file mode 100644 index 0000000..d902c88 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace HCI_Coursework_EVCHARGE.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HCI_Coursework_EVCHARGE.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/HCI_Coursework_EVCHARGE/Properties/Resources.resx b/HCI_Coursework_EVCHARGE/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/HCI_Coursework_EVCHARGE/Properties/Settings.Designer.cs b/HCI_Coursework_EVCHARGE/Properties/Settings.Designer.cs new file mode 100644 index 0000000..2d4b3ab --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace HCI_Coursework_EVCHARGE.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/HCI_Coursework_EVCHARGE/Properties/Settings.settings b/HCI_Coursework_EVCHARGE/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/HCI_Coursework_EVCHARGE/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/App.config b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/App.config index 88fa402..4bfa005 100644 --- a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/App.config +++ b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/App.config @@ -1,6 +1,6 @@ - + - + - \ No newline at end of file + diff --git a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Form1.Designer.cs b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Form1.Designer.cs index 4327c00..47a69c2 100644 --- a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Form1.Designer.cs +++ b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Form1.Designer.cs @@ -40,6 +40,7 @@ this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(76, 20); this.textBox2.TabIndex = 1; + this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged); this.textBox2.GotFocus += new System.EventHandler(this.textBox_GotFocus); // // label1 diff --git a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Form1.cs b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Form1.cs index f278e9d..d379b0e 100644 --- a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Form1.cs +++ b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Form1.cs @@ -55,5 +55,10 @@ namespace WindowsFormsPopupKeyboard // doesn't get focus by default and trigger the GotFocus event (which // would show the keyboard before we needed it) } + + private void textBox2_TextChanged(object sender, EventArgs e) + { + + } } } diff --git a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Properties/Resources.Designer.cs b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Properties/Resources.Designer.cs index fe162a2..768e40a 100644 --- a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Properties/Resources.Designer.cs +++ b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Properties/Resources.Designer.cs @@ -8,10 +8,10 @@ // //------------------------------------------------------------------------------ -namespace WindowsFormsPopupKeyboard.Properties -{ - - +namespace WindowsFormsApplication3.Properties { + using System; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -19,51 +19,43 @@ namespace WindowsFormsPopupKeyboard.Properties // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApplication3.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Properties/Settings.Designer.cs b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Properties/Settings.Designer.cs index efb7cbf..69e832d 100644 --- a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Properties/Settings.Designer.cs +++ b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/Properties/Settings.Designer.cs @@ -8,21 +8,17 @@ // //------------------------------------------------------------------------------ -namespace WindowsFormsPopupKeyboard.Properties -{ - - +namespace WindowsFormsApplication3.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.8.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { + + public static Settings Default { + get { return defaultInstance; } } diff --git a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/WindowsFormsPopupKeyboard.csproj b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/WindowsFormsPopupKeyboard.csproj index 801cf96..3e00f8e 100644 --- a/WindowsFormsPopupKeyboard/WindowsFormsApplication3/WindowsFormsPopupKeyboard.csproj +++ b/WindowsFormsPopupKeyboard/WindowsFormsApplication3/WindowsFormsPopupKeyboard.csproj @@ -9,9 +9,10 @@ Properties WindowsFormsApplication3 WindowsFormsApplication3 - v4.5.2 + v4.8 512 true + AnyCPU