private void tbCombineFiles_Click(object sender, RoutedEventArgs e) { try { BLfiles.CombineFiles(tbOutput.Text, files); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void btnGetFiles_Click(object sender, RoutedEventArgs e) { try { files = BLfiles.GetFiles(tbFolder.Text); lbFiles.ItemsSource = files; } catch (Exception ex) { MessageBox.Show(ex.Message); } }