Ejemplo n.º 1
0
 /// <summary>
 /// Carga el Grid GuestsGroupsIntegrants
 /// </summary>
 /// <param name="gx">Grupo al que pertenecen los integrantes</param>
 /// <history>[ECANUL] 29-03-2016 Created</history>
 void LoadGridGuestsGroupsIntegrants(GuestsGroup gx)
 {
     StaStart("Loading Integrants...");
     _lstGuest = BRGuests.GetGuestsGroupsIntegrants(gx);
     if (_lstGuest.Count != 0)
     {
         if (_enumAction == EnumAction.AddTo)
         {
             AddGuestToGridGuestsGroupsIntegrants(_guestID);
         }
         else
         {
             dtgGuestGroupIntegrants.ItemsSource = _lstGuest;
         }
         lblIntegrants.Content = "Integrants: " + dtgGuestGroupIntegrants.Items.Count;
     }
     _oldListGuests = (List <Guest>)dtgGuestGroupIntegrants.ItemsSource;
     dtgGuestGroupIntegrants.IsEnabled = true;
     StaEnd();
 }