<Window x:Class="WPF_XML.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Saving and Restoring Values" Height="350" Width="525" ResizeMode="CanMinimize" Closing="Window_Closing">
    <Grid>
        <Button Content="_Quit" Height="23" HorizontalAlignment="Right" Margin="0,12,12,0" Name="btnQuit" VerticalAlignment="Top" Width="75" Click="btnQuit_Click" IsCancel="True" TabIndex="0" />
        <Label Content="_Type Something" Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="lblMessage" VerticalAlignment="Top" TabIndex="1" Target="{Binding ElementName=txtMessage}" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="12,46,0,0" Name="txtMessage" VerticalAlignment="Top" Width="120" TabIndex="2" />
        <CheckBox Content="_Check Me" Height="16" HorizontalAlignment="Left" Margin="12,75,0,0" Name="chkChecked" VerticalAlignment="Top" TabIndex="3" />
    </Grid>
</Window>
