public rProyectos() { InitializeComponent(); this.DataContext = proyectos; TipoTareaComboBox.ItemsSource = TareasBLL.GetTareas(); TipoTareaComboBox.SelectedValuePath = "TareaId"; TipoTareaComboBox.DisplayMemberPath = "TipoTarea"; }
public rProyectos() { InitializeComponent(); this.Detalle = new List <ProyectosDetalle>(); TipoTareaComboBox.DataSource = TareasBLL.GetTareas(); TipoTareaComboBox.ValueMember = "TareaId"; TipoTareaComboBox.DisplayMember = "TipoTarea"; }
private void rProyectos_Load_1(object sender, EventArgs e) { DesComboBox.DataSource = TareasBLL.GetTareas(); DesComboBox.DisplayMember = "Descripcion"; DesComboBox.ValueMember = "TareaId"; }
private void rProyectos_Load(object sender, EventArgs e) { TareacomboBox.DataSource = TareasBLL.GetTareas(); TareacomboBox.DisplayMember = "TipoTarea"; TareacomboBox.ValueMember = "TareaId"; }