<!-- Window1.xaml -->
<Window x:Class="AppWindowsSample.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="AppWindowsSample" Height="214.4" Width="321.6" xmlns:my="clr-namespace:System;assembly=mscorlib">
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="auto" />
      <RowDefinition />
      <RowDefinition Height="auto" />
    </Grid.RowDefinitions>
    <Menu Name="menu1" >
      <MenuItem Header="Window" x:Name="windowMenu">
        <MenuItem Header="dummy item so that I can get the SubmenuOpened event" />
      </MenuItem>
    </Menu>
    <Button Margin="103.4,45.7,113.6,0" Name="newWindowButton" Grid.Row="1" Height="23" VerticalAlignment="Top">New Window</Button>
    <StatusBar Grid.Row="2" Name="statusBar1" >
      <TextBlock x:Name="statusText">Status</TextBlock>
    </StatusBar>
    <Button Grid.Row="1" Height="23" Margin="105,87.5233333333333,112,0" Name="shutdownButton" VerticalAlignment="Top" >Shutdown</Button>
  </Grid>
</Window>
