waitUpgradeWindow.xaml 1.4 KB

1234567891011121314151617181920212223
  1. <Window x:Class="MV485.Dlg.WaitUpgradeWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:MV485.Dlg"
  7. mc:Ignorable="d"
  8. Title="请稍候" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" SizeToContent="WidthAndHeight"
  9. WindowStyle="None" AllowsTransparency="True" Background="Transparent">
  10. <Grid>
  11. <Border Background="White" CornerRadius="10" Padding="20" BorderBrush="Gray" BorderThickness="1">
  12. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
  13. <!--<TextBlock Text="正在删除,请稍候..." FontSize="16" Margin="0,10" TextAlignment="Center"/>-->
  14. <TextBlock Text="{Binding TitleInfo}" FontSize="16" Margin="0,10" TextAlignment="Center"/>
  15. <!--<TextBlock x:Name="txtProgress" Visibility="Collapsed" FontSize="16" TextAlignment="Center" Margin="0,10"/>-->
  16. <ProgressBar IsIndeterminate="True" Width="200" Height="10" />
  17. <Button x:Name="btnStop" Click="BtnStop_Click"
  18. Content="中止升级" FontSize="14" Width="80" Margin="0 10 0 10" Padding="5" />
  19. </StackPanel>
  20. </Border>
  21. </Grid>
  22. </Window>