finish??
This commit is contained in:
54
HCI_Coursework_EVCHARGE/LandingForm.cs
Normal file
54
HCI_Coursework_EVCHARGE/LandingForm.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
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.FormClosed += delegate
|
||||
{
|
||||
loginForm = null;
|
||||
};
|
||||
|
||||
//loginForm.Top = this.Top + ( loginForm.Height / 3 );
|
||||
//loginForm.Left = this.Left + ( ( this.Width * 3 ) / 7 );
|
||||
}
|
||||
|
||||
private void debugclose_click(object sender, EventArgs e)
|
||||
{
|
||||
Application.Exit();
|
||||
}
|
||||
|
||||
private void qr_Click(object sender, EventArgs e)
|
||||
{
|
||||
var loginForm = new QRReader();
|
||||
|
||||
loginForm.Show();
|
||||
loginForm.FormClosed += delegate
|
||||
{
|
||||
loginForm = null;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user