<Window x:Class="ForSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="练习7-3：使用For循环" Height="239" Width="464" FontSize="18">
    <Grid>
        <Button Content="打印1到9的數字" Height="45" HorizontalAlignment="Left" Margin="73,21,0,0" Name="button1" VerticalAlignment="Top" Width="288" Click="button1_Click" />
        <TextBox Height="89" HorizontalAlignment="Left" Margin="20,88,0,0" Name="txtResult" VerticalAlignment="Top" Width="403" IsEnabled="False" IsReadOnly="True" />
    </Grid>
</Window>
