PatchTaskDlg.xaml 1.0 KB

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