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); } }
private void BookTypeTabItem_Loaded(object sender, RoutedEventArgs e) { UIShared.UpdateBookTypeCollection(this, Gdo); }