예제 #1
0
        public void CargarCombos()
        {
            PlanLogic pl = new PlanLogic();

            this.cmbPlanes.DataSource    = pl.GetAllForCombo();
            this.cmbPlanes.DisplayMember = "Descripcion";
            this.cmbPlanes.ValueMember   = "ID";
        }
예제 #2
0
        private void llenarCombo()
        {
            PlanLogic pl = new PlanLogic();

            this.cmbPlanes.DataSource    = pl.GetAllForCombo();
            this.cmbPlanes.DisplayMember = "Descripcion";
            this.cmbPlanes.ValueMember   = "ID";
        }
예제 #3
0
        public AlumnoDesktop()
        {
            InitializeComponent();
            this.metodoParaControles = new MetodosParaControls();
            PlanLogic pl = new PlanLogic();

            this.cmbPlan.DataSource    = pl.GetAllForCombo();
            this.cmbPlan.DisplayMember = "Descripcion";
            this.cmbPlan.ValueMember   = "Id";
        }