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