public MainWindow() { InitializeComponent(); AVLoader.initDB(); entryList = AVLoader.loadEntries(); if (entryList.root != null) { foreach (string entry in entryList.getAllNames(entryList.root)) { lbNames.Items.Add(entry); } } }
private void saveList_Click(object sender, RoutedEventArgs e) { AVLoader.saveEntries(entryList); }