begin and initialise coursework project
This commit is contained in:
6
HCI_Coursework_EVCHARGE/App.config
Normal file
6
HCI_Coursework_EVCHARGE/App.config
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
112
HCI_Coursework_EVCHARGE/Form1.Designer.cs
generated
Normal file
112
HCI_Coursework_EVCHARGE/Form1.Designer.cs
generated
Normal file
@@ -0,0 +1,112 @@
|
||||
namespace HCI_Coursework_EVCHARGE
|
||||
{
|
||||
partial class LandingForm
|
||||
{
|
||||
/// <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.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;
|
||||
}
|
||||
}
|
||||
|
34
HCI_Coursework_EVCHARGE/Form1.cs
Normal file
34
HCI_Coursework_EVCHARGE/Form1.cs
Normal file
@@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
123
HCI_Coursework_EVCHARGE/Form1.resx
Normal file
123
HCI_Coursework_EVCHARGE/Form1.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
164
HCI_Coursework_EVCHARGE/Form2.Designer.cs
generated
Normal file
164
HCI_Coursework_EVCHARGE/Form2.Designer.cs
generated
Normal file
@@ -0,0 +1,164 @@
|
||||
namespace HCI_Coursework_EVCHARGE
|
||||
{
|
||||
partial class AccountDetailForm
|
||||
{
|
||||
/// <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.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;
|
||||
}
|
||||
}
|
46
HCI_Coursework_EVCHARGE/Form2.cs
Normal file
46
HCI_Coursework_EVCHARGE/Form2.cs
Normal file
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
120
HCI_Coursework_EVCHARGE/Form2.resx
Normal file
120
HCI_Coursework_EVCHARGE/Form2.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
732
HCI_Coursework_EVCHARGE/Form3.Designer.cs
generated
Normal file
732
HCI_Coursework_EVCHARGE/Form3.Designer.cs
generated
Normal file
@@ -0,0 +1,732 @@
|
||||
namespace HCI_Coursework_EVCHARGE
|
||||
{
|
||||
partial class Keyboard
|
||||
{
|
||||
/// <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.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;
|
||||
}
|
||||
}
|
69
HCI_Coursework_EVCHARGE/Form3.cs
Normal file
69
HCI_Coursework_EVCHARGE/Form3.cs
Normal file
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
123
HCI_Coursework_EVCHARGE/Form3.resx
Normal file
123
HCI_Coursework_EVCHARGE/Form3.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>6, 6</value>
|
||||
</metadata>
|
||||
</root>
|
101
HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.csproj
Normal file
101
HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.csproj
Normal file
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{6BDE01F7-82B2-409C-8C1C-87294E78FB05}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>HCI_Coursework_EVCHARGE</RootNamespace>
|
||||
<AssemblyName>HCI_Coursework_EVCHARGE</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Form2.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form2.Designer.cs">
|
||||
<DependentUpon>Form2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Form3.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form3.Designer.cs">
|
||||
<DependentUpon>Form3.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Form2.resx">
|
||||
<DependentUpon>Form2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Form3.resx">
|
||||
<DependentUpon>Form3.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
25
HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.sln
Normal file
25
HCI_Coursework_EVCHARGE/HCI_Coursework_EVCHARGE.sln
Normal file
@@ -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
|
22
HCI_Coursework_EVCHARGE/Program.cs
Normal file
22
HCI_Coursework_EVCHARGE/Program.cs
Normal file
@@ -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
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new LandingForm());
|
||||
}
|
||||
}
|
||||
}
|
36
HCI_Coursework_EVCHARGE/Properties/AssemblyInfo.cs
Normal file
36
HCI_Coursework_EVCHARGE/Properties/AssemblyInfo.cs
Normal file
@@ -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")]
|
71
HCI_Coursework_EVCHARGE/Properties/Resources.Designer.cs
generated
Normal file
71
HCI_Coursework_EVCHARGE/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,71 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace HCI_Coursework_EVCHARGE.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// 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()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
117
HCI_Coursework_EVCHARGE/Properties/Resources.resx
Normal file
117
HCI_Coursework_EVCHARGE/Properties/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
30
HCI_Coursework_EVCHARGE/Properties/Settings.Designer.cs
generated
Normal file
30
HCI_Coursework_EVCHARGE/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,30 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
7
HCI_Coursework_EVCHARGE/Properties/Settings.settings
Normal file
7
HCI_Coursework_EVCHARGE/Properties/Settings.settings
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -8,10 +8,10 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WindowsFormsPopupKeyboard.Properties
|
||||
{
|
||||
|
||||
|
||||
namespace WindowsFormsApplication3.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
@@ -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() {
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[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;
|
||||
}
|
||||
}
|
||||
|
@@ -8,21 +8,17 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@@ -9,9 +9,10 @@
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>WindowsFormsApplication3</RootNamespace>
|
||||
<AssemblyName>WindowsFormsApplication3</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
|
Reference in New Issue
Block a user