private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmAttendanceRecord frm = new frmAttendanceRecord();

            frm.label24.Text = label11.Text;
            frm.label25.Text = label12.Text;
            frm.Show();
        }
        private void studentAttendanceRecordToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmAttendanceRecord frm = new frmAttendanceRecord();

            frm.label24.Text = UserType.Text;
            frm.label25.Text = User.Text;
            frm.Show();
        }