<Window x:Class="Printing.PrintCustomPages"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="PrintCustomPages" Height="300" Width="300"
    >
    <Grid>
       <Button Margin="5" Padding="5" VerticalAlignment="Top" Click="cmdPrint_Click">Print</Button>
    </Grid>
</Window>
