<Window x:Class="Ch12Sample_02.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="範例12-2" Height="350" Width="525" FontSize="14" Loaded="Window_Loaded">
    <Grid>
        <TextBlock Height="299" HorizontalAlignment="Left" Name="txtResult" VerticalAlignment="Top" Width="333" TextWrapping="Wrap" />
        <Button Content="建立XML資料" Height="31" HorizontalAlignment="Left" Margin="350,12,0,0" Name="button1" VerticalAlignment="Top" Width="141" Click="button1_Click" />
        <Button Content="取得線上資料" Height="31" HorizontalAlignment="Left" Margin="350,61,0,0" Name="button2" VerticalAlignment="Top" Width="141" Click="button2_Click" />
        <Button Content="XML序列化" Height="31" HorizontalAlignment="Left" Margin="350,110,0,0" Name="button3" VerticalAlignment="Top" Width="141" Click="button3_Click" />
        <Button Content="XML反序列化" Height="31" HorizontalAlignment="Left" Margin="350,157,0,0" Name="button4" VerticalAlignment="Top" Width="141" Click="button4_Click" />
    </Grid>
</Window>
