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

            if (entity != null)
            {
                DataObject.BookAuthorId = entity.Id;
            }
        }
Example #2
0
 private void EditBookAuthor(bool isNew = false)
 {
     UIShared.EditBookAuthor(this, Gdo, BookAuthorDataGrid.SelectedItem, isNew);
 }
Example #3
0
 private void EditBookAuthor_OnClick(object sender, RoutedEventArgs e)
 {
     UIShared.EditBookAuthor(this, Gdo, BookAuthorComboBox.SelectedItem, false, false);
 }