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