예제 #1
0
        private void BtnPicture2_Click(object sender, EventArgs e)
        {
            this.PtbLogo2.Image = Seleccionar.Imagen("\\DBMETAL\\", "Image Files(*.BMP;*.JPG;*.GIF;*.PNG;*.TIFF;*.JPEG)|*.BMP;*.JPG;*.GIF;*.PNG;*.TIFF;*.JPEG", this.PtbLogo2.Image);
            GuardarDatos Guardar = new GuardarDatos();

            Guardar._ImagenPublicitaria(2, Convertir.ImagenEnByte(this.PtbLogo2.Image));
        }
 private void BtnBuscarFoto_Click(object sender, EventArgs e)
 {
     this.PtbPersonal.Image = Seleccionar.Imagen("\\DBMETAL_SHARP\\", "Image Files(*.BMP;*.JPG;*.GIF;*.PNG;*.TIFF;*.JPEG)|*.BMP;*.JPG;*.GIF;*.PNG;*.TIFF;*.JPEG", this.PtbPersonal.Image);
 }