-
Notifications
You must be signed in to change notification settings - Fork 1
/
Form4.cs
132 lines (100 loc) · 3.18 KB
/
Form4.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
using System;
using System.Windows.Forms;
namespace KoforiduaPolyBiometric_Attendance
{
public partial class Form4 : Form
{
public Form4()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Form frm = new Form3();
frm.Show();
this.Visible = true;
this.Hide();
}
private void button2_Click(object sender, EventArgs e)
{
Form frm = new Form6();
frm.Show();
this.Visible = true;
this.Hide();
}
private void button4_Click(object sender, EventArgs e)
{
//f2
}
private void button3_Click(object sender, EventArgs e)
{
//f1
}
private void textBox5_TextChanged(object sender, EventArgs e)
{
}
private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
{
//Calculation of Age
int Age = DateTime.Today.Year - dateTimePicker1.Value.Year;
// CurrentYear - BirthDate
txtVeriAge.Text = Age.ToString();
}
private void button8_Click(object sender, EventArgs e)
{
Form frm = new Main_Form();
frm.Show();
this.Visible = true;
this.Hide();
}
private void button5_Click(object sender, EventArgs e)
{
Form frm = new Form5();
frm.Show();
this.Visible = true;
this.Hide();
}
private void txtVeriCourse_TextChanged(object sender, EventArgs e)
{
}
private void cmbVeriGender_SelectedIndexChanged(object sender, EventArgs e)
{
////Disable combobox
cmbVeriGender.DropDownStyle = ComboBoxStyle.DropDownList;
/////
}
private void cmbVeriLevel_SelectedIndexChanged(object sender, EventArgs e)
{
////Disable combobox
cmbVeriLevel.DropDownStyle = ComboBoxStyle.DropDownList;
////
}
private void pictureBox1_Click(object sender, EventArgs e)
{
}
private void Form4_Load(object sender, EventArgs e)
{
}
private void txtVeriIndexNumber_TextChanged(object sender, EventArgs e)
{
if (this.txtVeriIndexNumber.Text=="")
{
}
}
private void txtVeriLastName_TextChanged(object sender, EventArgs e)
{
if (this.txtVeriLastName.Text == "")
{
ToolTip toolTip1 = new ToolTip();
toolTip1.AutomaticDelay = 5000;
toolTip1.InitialDelay = 1000;
toolTip1.ReshowDelay = 500;
toolTip1.ShowAlways = true;
toolTip1.SetToolTip(this.txtVeriLastName, "Please Enter Index Number");
}
}
private void btnVerify_Click(object sender, EventArgs e)
{
}
}
}