This commit is contained in:
2025-02-03 14:58:49 +01:00
commit 13c26eb3d8
13 changed files with 818 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using System.Windows;
namespace Bokhantarare;
public partial class BookSelectionPage : Window
{
public BookSelectionPage()
{
InitializeComponent();
}
public BookSelectionPage(BareBookInfo[] books) : this()
{
BookSelector.ItemsSource = books;
}
public BareBookInfo getSelectedBook()
{
return BookSelector.SelectedItem as BareBookInfo;
}
private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
{
this.DialogResult = true; // Close the dialog with 'OK' result.
this.Close();
}
}