private void Initialize() { marcasController = new Controller.MarcasController(); modelosController = new Controller.ModelosController(); versionController = new Controller.VersionesController(); ramoController = new Controller.RamosController(); vehiculoController = new Controller.VehiculosController(); marcaBindingSource.DataSource = marcasController.ObtenerMarcas(); modeloBindingSource.DataSource = modelosController.ObtenerModelos(); versionBindingSource.DataSource = versionController.ObtenerVersiones(); ramoBindingSource.DataSource = ramoController.ObtenerRamos(); }
public RamosForm() { InitializeComponent(); ramoBindingSource.DataSource = ramosController.ObtenerRamos(); }