public static BDHelper getBDHelper() { if (instance == null) { instance = new BDHelper(); } return(instance); }
private void frmCliente_Load(object sender, EventArgs e) { llenarCombo(cmbTipoDni, BDHelper.getBDHelper().ConsultaSQL("SELECT * FROM TipoDni WHERE idTipoDni >= 1"), "descripcion", "idTipoDni"); btnEliminar.Enabled = false; btnModificar.Enabled = false; }