<Page x:Class="Install.View.PgProgress"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      xmlns:local="clr-namespace:Install.View"
      d:DesignHeight="360" d:DesignWidth="495"
	Title="PgProgress" >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="284*" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        <ListBox Margin="5" Name="listBox1" />
        <ProgressBar Grid.Row="1" Height="10" Margin="3" Maximum="1" Value="{Binding Progress,Mode=OneWay}" />
        <Grid Style="{StaticResource BottomPanel}" Grid.Row="2" >
            <StackPanel Style="{StaticResource BtnSp}" >
                <Button Style="{StaticResource NormalBtn}" Content="完成" Click="btnFinishClick" Visibility="{Binding Progress, Converter={StaticResource finishConv}}" />
                <Button Style="{StaticResource NormalBtn}" Content="取消" Click="btnCancelClick" Visibility="{Binding Progress, Converter={StaticResource abortConv}}" />
            </StackPanel>
        </Grid>
    </Grid>
</Page>