private void btnNuevo_Click(object sender, EventArgs e)
        {
            frmManVehiculos formulario = new frmManVehiculos();

            formulario.StartPosition = FormStartPosition.CenterScreen;
            formulario.recogerDatos(0);
            formulario.ShowDialog();
            Buscar();
        }
 private void grdVehiculos_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (this.grdVehiculos.RowCount > 0)
     {
         frmManVehiculos formulario = new frmManVehiculos();
         formulario.recogerDatos(Convert.ToInt32(this.grdVehiculos.CurrentRow.Cells[0].Value));
         formulario.StartPosition = FormStartPosition.CenterScreen;
         formulario.ShowDialog();
         Buscar();
     }
 }