Ejemplo n.º 1
0
        // METODOS GENERALES

        private void cargarAutomovilDisponible()
        {
            try
            {
                AutomovilDTO auto = AutomovilDAO.getAutomovilDisponible(choferGlobal.id);
                autoGlobal = auto;

                txtAutomovil.Text = auto.patente;

                cargarTurnosDeAuto(auto.id);
            }
            catch (ApplicationException e)
            {
                txtNombreChofer.Text = "";
                txtDNIChofer.Text    = "";
                Utility.ShowError("Registro de viaje", e);
            }
        }