Esempio n. 1
0
        public void LlenarGrid()
        {
            datImagen datImg = new datImagen();

            gridControl1.DataSource = datImg.listaimagen();
            if (gridControl1.DataSource == null)
            {
                MessageBox.Show("", "", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
Esempio n. 2
0
 private void frmFotoSeguridad_Load(object sender, EventArgs e)
 {
     try
     {
         List <Image> img = new List <Image>();
         foreach (var item in dtimg.listaimagen())
         {
             img.Add(Image.FromStream(item.ayuda));
             imageSlider1.Images.Add(Image.FromStream(item.ayuda));
         }
     }
     catch (Exception)
     {
         MessageBox.Show("Error en la carga del Formulario");
     }
 }