Esempio n. 1
0
        private void vehiculos_dtg_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            Program.GidVehiculo = Convert.ToInt32(vehiculos_dtg.CurrentRow.Cells[0].Value);
            DetallesForm form = new DetallesForm();

            form.ShowDialog();
            LlenarDtgVehiculos();
            CalcularTotal();
        }
Esempio n. 2
0
 private void verDetalles_btn_Click(object sender, EventArgs e)
 {
     if (vehiculos_dtg.Rows.Count > 0)
     {
         Program.GidVehiculo = Convert.ToInt32(vehiculos_dtg.CurrentRow.Cells[0].Value);
         DetallesForm form = new DetallesForm();
         form.ShowDialog();
         LlenarDtgVehiculos();
         //IdentificarPagadoNoPagado();
         CalcularTotal();
     }
 }