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 BookAuthorTabItem_Loaded(object sender, RoutedEventArgs e) { UIShared.UpdateBookAuthorCollection(this, Gdo); }