void administer_attendance_Click(object sender, EventArgs e) { pnlops.Controls.Clear(); attendance_ctrl eu = new attendance_ctrl(); eu.Width = pnlops.Width; eu.Height = pnlops.Height; pnlops.Controls.Add(eu); //throw new NotImplementedException(); }
private void LOAD_ATTENDANCE_CONTROL() { pnlops.Controls.Clear(); attendance_ctrl c = new attendance_ctrl(); c.Width = pnlops.Width; c.Height = pnlops.Height; pnlops.Controls.Add(c); }