private void btnNew_Click(object sender, EventArgs e) { pnlops.Controls.Clear(); passslip_new c = new passslip_new(); c.Width = pnlops.Width; pnlops.Height = c.Height; pnlops.Controls.Add(c); }
private void btnNew_Click(object sender, EventArgs e) { pnlops.Controls.Clear(); passslip_new c = new passslip_new(); c.Width = pnlops.Width; pnlops.Height = c.Height; pnlops.Controls.Add(c); }