public SearchResultsWindow(List<Book> results, Base BookBase) { InitializeComponent(); res = results; SearchResultDataGrid.ItemsSource = results; this.BookBase = BookBase; }
public MainWindow() { InitializeComponent(); new Initialize(System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData) + "\\Base.xml"); BookBase = new Base(System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData) + "\\Base.xml"); BookBaseDataGrid.ItemsSource = BookBase._bookBase; }
public AddWindow(Base bs) { InitializeComponent(); this.BkBase = bs; }