diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index 38d6635..c98e327 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -554,4 +554,15 @@ public partial class MainWindow : Window StartCombine(list, Convert.ToInt32(LstCustomers.SelectedItem.ToString().Split(" - ")[0]), "symdiff"); } + + private void BtnGenerateLabels_OnClick(object? sender, RoutedEventArgs e) + { + var builder = new PdfBuilder(); + + builder.CreateAddressLabelPdfFromAddressSetWithPlaceholder( + Convert.ToInt32(LstCustomerAdressSets.SelectedItems[0].ToString().Split(" - ")[0]), + "Company Logo/Info", + "output.pdf" + ); + } } \ No newline at end of file