Add Print/
This commit is contained in:
@ -18,5 +18,6 @@
|
||||
<Grid>
|
||||
<ComboBox HorizontalAlignment="Left" Margin="175,149,0,0" VerticalAlignment="Top" Width="120" ItemsSource="{Binding Source={StaticResource countryViewSource}}" ItemTemplate="{StaticResource asdf}" SelectionChanged="ComboBox_SelectionChanged" IsEditable="True"/>
|
||||
<Button x:Name="Button2" Content="Mitglieder" Margin="472,182,178,0" VerticalAlignment="Top" Click="Button2_Click"/>
|
||||
<Button x:Name="Button3" Content="Print" Margin="425,255,225,0" VerticalAlignment="Top" Click="Button3_Click"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
@ -32,6 +32,7 @@ namespace WGneu.Windows {
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e) {
|
||||
_context.Countries.Load();
|
||||
Print.Pdf.Init();
|
||||
countryViewSource.Source = _context.Countries.Local.ToObservableCollection();
|
||||
}
|
||||
|
||||
@ -45,6 +46,10 @@ namespace WGneu.Windows {
|
||||
w.Show();
|
||||
}
|
||||
|
||||
private void Button3_Click(object sender, EventArgs e) {
|
||||
Print.Template.Test();
|
||||
}
|
||||
|
||||
private void Button_Click(object sender, RoutedEventArgs e) {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user