示例#1
0
 private void EditBook_Click(object sender, RoutedEventArgs e)
 {
     Author_txtbox.GetBindingExpression(TextBox.TextProperty).UpdateSource();
     BookFormats.GetBindingExpression(ComboBox.SelectedItemProperty).UpdateSource();
     IsRead_checkbox.GetBindingExpression(CheckBox.IsCheckedProperty).UpdateSource();
     Title_txtbox.GetBindingExpression(TextBox.TextProperty).UpdateSource();
     Year_txtbox.GetBindingExpression(TextBox.TextProperty).UpdateSource();
 }
示例#2
0
 public Configuration()
 {
     BookFormats.FillBookFormats();
 }