private void AdminCorrelativos_Load(object sender, EventArgs e) { // mostrar valores actuales try { var exp = new e_expedientes(); textCorrelativoExp.Text = exp.GetCorrelativoExp().ToString(); textCorrelativoIIOO.Text = exp.GetCorrelativoIIOO().ToString(); textCorrelativoRedTIC.Text = exp.GetCorrelativoRedTIC().ToString(); } catch (Exception ex) { Log.ShowAndLog(ex); } }