private void lnkClassAttendance_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { ClassAttendance c = new ClassAttendance(); this.Hide(); c.Show(); }
/// <summary> /// the function is closing the current form and opens the class attendance form /// </summary> /// <param name="sender">Object Sender is a parameter called Sender that contains a reference to the control/object that raised the event</param> /// <param name="e">EventArgs e is a parameter called e that contains the event data</param> private void button7_Click(object sender, EventArgs e) { ClassAttendance ca = new ClassAttendance(); this.Hide(); ca.Show(); }