<Window x:Class="AIRS.ProgressBarWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:AIRS"
        mc:Ignorable="d"
        Title="ProgressBarWindow" Height="150" Width="750" WindowStartupLocation="CenterScreen" WindowStyle="None">
    <Grid Margin="0">
        <!--进度条-->
        <Canvas Background="#FF24272C" Visibility="Visible" Margin="0" Width="744" Height="144">
            <Label x:Name="progbar_num" Foreground="White" Width="744" Height="30" VerticalContentAlignment="Top" HorizontalContentAlignment="Center" Canvas.Left="0" Canvas.Top="16" Content="100%" FontSize="18"></Label>
            <ProgressBar x:Name="progbar" Height="25" Width="550" Maximum="100" Minimum="0" Value="0" Canvas.Left="97" Canvas.Top="55" Style="{StaticResource ProgressBarStyle}"></ProgressBar>
            <Label x:Name="progbar_msg" Foreground="White" Width="744" Height="34" VerticalContentAlignment="Top" HorizontalContentAlignment="Center" Canvas.Left="0" Canvas.Top="94" Content="正在进行AI评级，请稍候..." FontSize="20"></Label>
            <Button x:Name="btncancle" Content="取消" HorizontalAlignment="Left" VerticalAlignment="Top" Width="110" Height="35" FontSize="24" Foreground="White" Background="#FF169BD5" Canvas.Left="623" Canvas.Top="98" Click="btncancle_Click">
                <Button.Template >
                    <ControlTemplate TargetType="{x:Type Button}" >
                        <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="7,7,7,7">
                            <Border.Background>
                                <Brush>#FF169BD5</Brush>
                            </Border.Background>
                            <ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                        </Border>
                    </ControlTemplate>
                </Button.Template>
            </Button>
        </Canvas>
    </Grid>
</Window>
