private void AddBook_Click(object sender, RoutedEventArgs e) { App.Current.MainWindow.IsEnabled = false; DBupdateWindow addBookWindow = new DBupdateWindow(); addBookWindow.updateType.Content = new PageAddBook(); addBookWindow.Title = "Add book"; addBookWindow.Show(); }
private void updateCond_Click(object sender, RoutedEventArgs e) { App.Current.MainWindow.IsEnabled = false; DBupdateWindow UpdCondWindow = new DBupdateWindow(); UpdCondWindow.updateType.Content = new PageUpdCondition(); UpdCondWindow.Title = "Change book condition"; UpdCondWindow.Show(); }
private void updateAddr_Click(object sender, RoutedEventArgs e) { App.Current.MainWindow.IsEnabled = false; DBupdateWindow UpdAddrWindow = new DBupdateWindow(); UpdAddrWindow.updateType.Content = new PageUpdAddress(); UpdAddrWindow.Title = "Change address"; UpdAddrWindow.Show(); }
private void updatePhone_Click(object sender, RoutedEventArgs e) { App.Current.MainWindow.IsEnabled = false; DBupdateWindow UpdPhoneWindow = new DBupdateWindow(); UpdPhoneWindow.updateType.Content = new PageUpdPhone(); UpdPhoneWindow.Title = "Change phone number"; UpdPhoneWindow.Show(); }
private void RemoveMember_Click(object sender, RoutedEventArgs e) { App.Current.MainWindow.IsEnabled = false; DBupdateWindow RemMemberWindow = new DBupdateWindow(); RemMemberWindow.updateType.Content = new PageRemMember(); RemMemberWindow.Title = "Remove member"; RemMemberWindow.Show(); }
private void RmCopy_Click(object sender, RoutedEventArgs e) { App.Current.MainWindow.IsEnabled = false; DBupdateWindow RemCopyWindow = new DBupdateWindow(); RemCopyWindow.updateType.Content = new PageRemCopy(); RemCopyWindow.Title = "Remove book copy"; RemCopyWindow.Show(); }