<Window x:Class="ArrayListSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ArrayList 集合使用范例" Height="452" Width="327" FontSize="14">
    <Grid>
        <TextBlock Height="130" Margin="12,12,12,0" Name="tbMessage" VerticalAlignment="Top" TextWrapping="Wrap" />
        <Button Content="使用Add方法" Height="33" HorizontalAlignment="Left" Margin="12,160,0,0" Name="button1" VerticalAlignment="Top" Width="281" Click="button1_Click" />
        <Button Content="使用Insert方法" Height="33" HorizontalAlignment="Left" Margin="12,208,0,0" Name="button2" VerticalAlignment="Top" Width="281" Click="button2_Click" />
        <Button Content="使用Remove方法" Height="33" HorizontalAlignment="Left" Margin="12,256,0,0" Name="button3" VerticalAlignment="Top" Width="281" Click="button3_Click" />
        <Button Content="使用Contains方法" Height="33" HorizontalAlignment="Left" Margin="12,304,0,0" Name="button4" VerticalAlignment="Top" Width="281" Click="button4_Click" />
        <Button Content="指定ArrayList的初始容量" Height="33" HorizontalAlignment="Left" Margin="12,352,0,0" Name="button5" VerticalAlignment="Top" Width="281" Click="button5_Click" />
    </Grid>
</Window>
