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