private void FormGasto_Load(object sender, EventArgs e) { cbCategoria.DataSource = commonBusiness.GetGetCategoriaGastoSelectionList(); cbMedio.DataSource = commonBusiness.GetMedioSelectionList(); if (idGasto.HasValue) { CargarDatos(); } }
private void GastoUI_Load(object sender, EventArgs e) { cbCategoria.DataSource = commonBusiness.GetGetCategoriaGastoSelectionList(); cbMedio.DataSource = commonBusiness.GetMedioSelectionList(); }