private void button3_Click(object sender, EventArgs e) { this.Hide(); MarkAttendence obj = new MarkAttendence(); obj.Show(); }