Example #1
0
 private void lst_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     verVehiculo = new VerVehiculo();
     verVehiculo.CargarVehiculosPorCedula(lst.SelectedItems[0].SubItems[1].Text.ToString(), null);
     verVehiculo.comboVehiculo.Text = lst.SelectedItems[0].SubItems[4].Text.ToString() + " - " + lst.SelectedItems[0].SubItems[5].Text.ToString();
     verVehiculo.ShowDialog();
 }
Example #2
0
 private void btnVerVehiculos_Click(object sender, EventArgs e)
 {
     vehiculo = new VerVehiculo();
     //vehiculo.CargarVehiculosPorCedula(txtCedula.Text);
     vehiculo.comboCedula.Text = txtCedula.Text;
     vehiculo.ShowDialog();
 }