public void cargarComprar(FormCliente form, int userID) { this.getComprar().currentUserID = userID; if (this.cargaCredito_form != null) { this.cargaCredito_form.Hide(); } if (this.cupones_form != null) { this.cupones_form.Hide(); } //form.splitContainer1.Panel2.Controls.Clear(); form.splitContainer1.Panel2.Controls.Add(this.getComprar()); form.mostrarForm(this.getComprar()); }