<Window x:Class="AppEventsSample.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="AppEventsSample" Height="300" Width="300"
    >
    <Grid>
    <Button Height="23" Margin="0,0,20,12" x:Name="shutdownButton" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75">Shutdown</Button>
    <Label Height="23.2766666666667" HorizontalAlignment="Left" Margin="11.57,11.7233333333333,0,0" x:Name="label1" VerticalAlignment="Top" Width="103.63">Application Events:</Label>
    <ListBox Margin="18.4,37.4,18.4,53.6" x:Name="eventsListBox" ItemsSource="{Binding}" />
    <Button Height="23" Margin="115.4,0,101.6,11.9999999999999" Name="exceptionButton" VerticalAlignment="Bottom">Exception</Button>
  </Grid>
</Window>
