/// <summary>
 /// Asigna el objeto principal al origen de datos
 /// <returns>void</returns>
 /// </summary>
 protected override void RefreshMainData()
 {
     if (_entity != null)
     {
         Datos.DataSource = TemaList.SortList(_entity.Temas, "CodigoOrden", ListSortDirection.Ascending);
     }
 }
        public override void RefreshSecondaryData()
        {
            base.RefreshSecondaryData();
            PgMng.Grow();

            if (Submodulos_Grid.CurrentRow != null && ActiveOIDSubmodulo > 0)
            {
                SubmoduloInfo submodulo = _entity.Submodulos.GetItem(ActiveOIDSubmodulo);
                if (submodulo.Temas != null)
                {
                    Datos_Temas.DataSource = TemaList.SortList(submodulo.Temas,
                                                               "CodigoOrden", ListSortDirection.Ascending);
                }
            }
            PgMng.Grow();
        }