private void FrmFichaSoporte_Load(object sender, EventArgs e) { this.cboCargo.SelectedIndex = 0; this.cboSede.SelectedIndex = 0; this.cboOficina.DataSource = objOf.ListOffice(); this.cboOficina.ValueMember = "idoficina"; this.cboOficina.DisplayMember = "nombre"; this.tabControl1.SelectedIndex = 0; this.listDataGridView(); this.GenerationCode(); }
private void ListarOficinas() { this.cboOficina.DataSource = objOf.ListOffice(); this.cboOficina.ValueMember = "idoficina"; this.cboOficina.DisplayMember = "nombre"; }