private void Init(ItemsDatasetErrors errores) { //txtErrors.Enabled = false; string mensaje = string.Empty; mensaje = mensaje + "<br>"; foreach (ItemDatasetError error in errores) { mensaje = mensaje + "<b>* " + error.Mensaje + "<br><br>"; } txtErrors.AddHTML(mensaje); }
public void BuscarAhora() { _errors = _brClass.GetErrors(); if (_brClass.IsValid()) { _brClass.BuscarAhora(); } else if (_errors.Count > 0) { if (OnErrors != null) { OnErrors(this, new System.EventArgs()); } } }
public FrmShowErrors(ItemsDatasetErrors errores) { InitializeComponent(); Init(errores); }
private /*20110328 - Tarea 0000057*/ FrmShowRowError(ItemsDatasetErrors errores) { InitializeComponent(); Errores = new mz.erp.businessrules.DatasetErrors(errores); Init(); }