Example #1
0
        private void NewBookCategory_OnClick(object sender, RoutedEventArgs e)
        {
            var entity = UIShared.EditBookCategory(this, Gdo, null, true);

            if (entity != null)
            {
                DataObject.BookCategoryId = entity.Id;
            }
        }
Example #2
0
 private void EditBookCategory(bool isNew = false)
 {
     UIShared.EditBookCategory(this, Gdo, BookCategoryDataGrid.SelectedItem, isNew);
 }
Example #3
0
 private void EditBookCategory_OnClick(object sender, RoutedEventArgs e)
 {
     UIShared.EditBookCategory(this, Gdo, BookCategoryComboBox.SelectedItem, false, false);
 }