<Window x:Class="MeterVision.Dlg.PatchTaskDlg"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="处理进度"
        Width="400" Height="180"
        WindowStyle="None" 
        ShowInTaskbar="False"
        WindowStartupLocation="CenterOwner"
        Background="Transparent"
        AllowsTransparency="True"        
        Topmost="True">
    <Border Background="White" CornerRadius="10" Padding="20" BorderBrush="Gray" BorderThickness="1">
        <StackPanel>
            <!-- 显示处理进度 -->
            <TextBlock Name="progressText" FontSize="16" Text="正在处理 23/901" HorizontalAlignment="Center"/>
            <ProgressBar Name="progressBar" Height="25" Margin="0,20,0,20"/>
            <!-- 停止按钮 -->
            <Button Name="stopButton" Content="停止处理" Width="100" Height="35" HorizontalAlignment="Center" Click="StopButton_Click"/>
        </StackPanel>
    </Border>
</Window>
