public override void RefreshSecondaryData() { _clases = ClaseAuditoriaList.GetList(false); Library.Quality.HComboBoxSourceList combo_clases = new Library.Quality.HComboBoxSourceList(_clases, false); Datos_ComboClases.DataSource = combo_clases; Bar.Grow(); _tipos = TipoAuditoriaList.GetList(); combo_clases.Childs = new Library.Quality.HComboBoxSourceList(_tipos); Bar.Grow(); _source_list = new DataSourceList(combo_clases); Datos_ComboClases.DataSource = _source_list.CBList; Bar.Grow(); }
public override void RefreshSecondaryData() { if (EntityInfo != null) { _planes = PlanAnualList.GetList(); Library.Quality.HComboBoxSourceList _combo_planes = new Library.Quality.HComboBoxSourceList(_planes); Datos_Planes.DataSource = _combo_planes; Bar.Grow(); Library.Instruction.InstructorList empleados = Library.Instruction.InstructorList.GetList(false); Library.Instruction.InstructorList responsables = empleados.GetResponsablesList(); Library.Instruction.HComboBoxSourceList _combo_responsables = new Library.Instruction.HComboBoxSourceList(responsables); Datos_Responsables.DataSource = _combo_responsables; Bar.Grow(); Library.Instruction.InstructorList auditores = empleados.GetAuditoresList(); Library.Instruction.HComboBoxSourceList _combo_auditores = new Library.Instruction.HComboBoxSourceList(auditores); Datos_Auditores.DataSource = _combo_auditores; Bar.Grow(); UserList usuarios = UserList.GetList(); Library.Application.HComboBoxSourceList _combo_usuarios = new Library.Application.HComboBoxSourceList(usuarios); Datos_Usuarios_Auditores.DataSource = _combo_usuarios; Datos_Usuarios_Responsables.DataSource = _combo_usuarios; Bar.Grow(); DepartamentoList departamentos = DepartamentoList.GetList(); Library.Quality.HComboBoxSourceList _combo_departamentos = new Library.Quality.HComboBoxSourceList(departamentos); Datos_Departamentos_Auditores.DataSource = _combo_departamentos; Datos_Departamentos_Responsables.DataSource = _combo_departamentos; Bar.Grow(); _tipos_auditorias = TipoAuditoriaList.GetList(); Bar.Grow(); } }