private void button1_Click(object sender, EventArgs e) { PostgresDataAccess.DataAccess access = new PostgresDataAccess.DataAccess(); if (access.claveCarro63(comboClave.Text, Coor1, Coor2, Calle1, Calle2) > 0) { MessageBox.Show("Coordenadas asignadas a " + comboClave.Text); this.DialogResult = DialogResult.OK; } }