Example #1
0
 /// <summary>
 /// Carga Dominios relacionados entre al objeto _RelatedDomains que esta bindiado a la grilla
 /// </summary>
 void Import(out Exception ex)
 {
     ex = null;
     try
     {
         InsuranceNomenclatorDAC.Import();
     }
     catch (Exception err)
     {
         err.Source = "Origen de datos";
         ex         = err;
     }
 }
Example #2
0
        void Import()
        {
            pictureBox1.Visible = true;
            try
            {
                InsuranceNomenclatorDAC.Import();
            }
            catch (Exception ex)
            {
                txtTExt.Text = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex);
                //img_info.Image = this.ExceptionViewer.Icon;
                this.img_info.Visible = true;
                this.ExceptionViewer.Show(ex);
                return;
            }

            this.MessageViewer.Show("La importacion se realiso con exito");
            txtTExt.Text          = "La importacion se realiso con exito";
            this.img_info.Visible = false;
            pictureBox1.Visible   = false;
        }