<UserControl x:Class="AIRS.CompleteTestingControl"
             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" 
             xmlns:local="clr-namespace:AIRS"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="460" Background="#FF18253C" >
    <Grid>
        <Label Content="信息" HorizontalAlignment="Left"  VerticalAlignment="Top" Margin="10,10,0,0" Foreground="White" FontSize="24" FontWeight="Bold"/>
        <Canvas x:Name="can" Background="#FFD7D7D7" Height="180">
            <!--<CheckBox Style="{StaticResource ResourceKey=CheckBoxStyle}" TextBlock.TextAlignment="Center"   Canvas.Top="70" Canvas.Left="45" Margin="0" Width="100" Click="CheckBox_HClick"></CheckBox>-->
            <Border Canvas.Left="45" Canvas.Top="33">
                <Image x:Name="imgS" Source="..//img/u115.png" Width="80" Height="80" Canvas.Left="45" Canvas.Top="33" RenderTransformOrigin="-0.44,0.61"></Image >
            </Border>
            <Label x:Name="image_number" Content="1000 张图片检测完成。" HorizontalAlignment="Left" VerticalAlignment="Top" Width="239" Height="37" FontSize="23" Foreground="Black" Background="Transparent" BorderThickness="0"  Canvas.Left="138" Canvas.Top="45"></Label>
            <Label Content="耗时：" HorizontalAlignment="Left" VerticalAlignment="Top" Width="239" Height="37" FontSize="18" Foreground="Black" Background="Transparent" BorderThickness="0"  Canvas.Left="141" Canvas.Top="90"></Label>
            <Label Name="use_time" Content="5秒" HorizontalAlignment="Left" VerticalAlignment="Top" Width="239" Height="37" FontSize="18" Foreground="Black" Background="Transparent" BorderThickness="0"  Canvas.Left="191" Canvas.Top="90"></Label>
        </Canvas>
        <Button x:Name="BtnOK" Content="确定" HorizontalAlignment="Left" Margin="315,250,0,0" VerticalAlignment="Top" Width="104" Height="37" FontSize="20" Foreground="White" Background="#FF169BD5"  RenderTransformOrigin="1.081,1.524" >
            <Button.Template >
                <ControlTemplate TargetType="{x:Type Button}" >
                    <Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="7,7,7,7">
                        <Border.Background>#FF169BD5</Border.Background>
                        <ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
                    </Border>
                </ControlTemplate>
            </Button.Template>
        </Button>

    </Grid>
</UserControl>
