Ejemplo n.º 1
0
 public void GenerateactiveGroupPages(ClientServiceClient client, ListBox activegrouppages, int groupIndex)
 {
     activegrouppages.Items.Clear();
     _activeGroupPages.Clear();
     foreach (var page in client.GetAcceptablePageForGroupFromDB(groupIndex))
     {
         _activeGroupPages.Add(page);
     }
     foreach (var page in _activeGroupPages)
     {
         ListBoxItem listitem = new ListBoxItem()
         {
             Content = page.Url
         };
         activegrouppages.Items.Add(listitem);
     }
 }