/// <summary>
 /// Asigna los valores del grid que no están asociados a propiedades
 /// </summary>
 protected override void SetUnlinkedGridValues(string gridName)
 {
     switch (gridName)
     {
     case "Material_Grid":
     {
         SetCellsDataSource(Material_Grid.Name);
         foreach (DataGridViewRow row in Material_Grid.Rows)
         {
             if (row.IsNewRow)
             {
                 continue;
             }
             Material_PlanInfo info = (Material_PlanInfo)row.DataBoundItem;
             if (info != null)
             {
                 RevisionMaterialInfo revision = _revisiones.GetItem(info.OidRevision);
                 if (revision != null)
                 {
                     row.Cells["Material_CBC"].Value = revision.OidMaterial;
                     row.Cells["Autor"].Value        = revision.Autor;
                 }
             }
         }
     } break;
     }
 }
 protected override void SetCellsDataSource(string gridName)
 {
     switch (gridName)
     {
     case "Material_Grid":
     {
         foreach (DataGridViewRow row in Material_Grid.Rows)
         {
             if (row.IsNewRow)
             {
                 continue;
             }
             if (lista_sources.Count >= row.Index + 1)
             {
                 continue;
             }
             Material_PlanInfo info = (Material_PlanInfo)row.DataBoundItem;
             if (info != null)
             {
                 RevisionMaterialInfo revision = _revisiones.GetItem(info.OidRevision);
                 if (revision != null)
                 {
                     lista_sources.Add(_combo_materiales.GetFilteredChilds(revision.OidMaterial));
                     ((DataGridViewComboBoxCell)row.Cells["Version_CBC"]).DataSource = lista_sources[row.Index];
                 }
             }
         }
     } break;
     }
 }