private void btnAddUser_Click(object sender, EventArgs e) { pnlMainUser.Controls.Clear(); var AddNewUser = new UserAddNew(); pnlMainUser.Controls.Add(AddNewUser); }