Ejemplo n.º 1
0
 private void Update()
 {
     if (BookAuthorTabItem.IsSelected)
     {
         UIShared.UpdateBookAuthorCollection(this, Gdo);
     }
     else if (BookCategoryTabItem.IsSelected)
     {
         UIShared.UpdateBookCategoryCollection(this, Gdo);
     }
     else if (BookGenreTabItem.IsSelected)
     {
         UIShared.UpdateBookGenreCollection(this, Gdo);
     }
     else if (BookPlacementTabItem.IsSelected)
     {
         UIShared.UpdateBookPlacementCollection(this, Gdo);
     }
     else if (BookPublisherTabItem.IsSelected)
     {
         UIShared.UpdateBookPublisherCollection(this, Gdo);
     }
     else if (BookTypeTabItem.IsSelected)
     {
         UIShared.UpdateBookTypeCollection(this, Gdo);
     }
 }
Ejemplo n.º 2
0
 private void BookCategoryTabItem_Loaded(object sender, RoutedEventArgs e)
 {
     UIShared.UpdateBookCategoryCollection(this, Gdo);
 }