コード例 #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);
     }
 }
コード例 #2
0
 private void BookAuthorTabItem_Loaded(object sender, RoutedEventArgs e)
 {
     UIShared.UpdateBookAuthorCollection(this, Gdo);
 }