示例#1
0
        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);
        }
示例#2
0
 public void BuscarAhora()
 {
     _errors = _brClass.GetErrors();
     if (_brClass.IsValid())
     {
         _brClass.BuscarAhora();
     }
     else
     if (_errors.Count > 0)
     {
         if (OnErrors != null)
         {
             OnErrors(this, new System.EventArgs());
         }
     }
 }
示例#3
0
 public FrmShowErrors(ItemsDatasetErrors errores)
 {
     InitializeComponent();
     Init(errores);
 }
示例#4
0
 private /*20110328 - Tarea 0000057*/ FrmShowRowError(ItemsDatasetErrors errores)
 {
     InitializeComponent();
     Errores = new mz.erp.businessrules.DatasetErrors(errores);
     Init();
 }