<Window x:Class="ForNextSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="For ... Next 循环范例" Height="179" Width="525" FontSize="18">
    <Grid>
        <Button Content="从1加到10的奇数和 = " Height="50" HorizontalAlignment="Left" Margin="72,38,0,0" Name="button1" VerticalAlignment="Top" Width="228" Click="button1_Click" />
        <Label Height="50" HorizontalAlignment="Left" Margin="306,38,0,0" Name="lblResult" VerticalAlignment="Top" Width="98" VerticalContentAlignment="Center" FontWeight="Bold" />
    </Grid>
</Window>
