Example #1
0
 private void cargarListaPredios()
 {
     lstPredios.Update();
     lstPredios.DataSource    = ge.listaPredios();
     lstPredios.ValueMember   = "id";
     lstPredios.DisplayMember = "";
     lstPredios.SelectedIndex = -1;
 }
Example #2
0
        private void cargarTodosLosCombos()
        {
            cmbDeporte.Update();
            cmbDeporte.DataSource    = gd.listaDeporte();
            cmbDeporte.ValueMember   = "id";
            cmbDeporte.DisplayMember = "";
            cmbDeporte.SelectedIndex = -1;

            cmbPredio.Update();
            cmbPredio.DataSource    = ge.listaPredios();
            cmbPredio.ValueMember   = "id";
            cmbPredio.DisplayMember = "";
            cmbPredio.SelectedIndex = -1;

            txtPrecioMatricula.Text = "0";
        }