Example #1
0
 private void ActualizarGrilla()
 {
     bs_rubros.ResetBindings(false);
     bs_rubros.DataSource    = adm.VerLista();
     dgrid_rubros.DataSource = bs_rubros;
     dgrid_rubros.Columns[1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
     dgrid_rubros.Columns[0].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
 }
Example #2
0
 private void ActualizarRubros()
 {
     bs_rubros.ResetBindings(false);
     bs_rubros.DataSource    = admrubro.VerLista();
     cbb_Rubro.DataSource    = bs_rubros;
     cbb_Rubro.DisplayMember = "Nombre";
 }