private void pictureBox19_Click(object sender, EventArgs e) { DialogResult result = openFileDialog1.ShowDialog(); if (result == DialogResult.OK) { string file = openFileDialog1.FileName; bool b = service.AddImagen(file, p.idusuario); } }