UpgradeWindow.xaml 1.4 KB

1234567891011121314151617181920
  1. <Window x:Class="AIPractice.Labeller.UpgradeWindow"
  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:labeller="clr-namespace:AIPractice.Labeller"
  7. mc:Ignorable="d"
  8. Title="更新客户端" Height="200" Width="480" ResizeMode="NoResize" WindowStyle="None" Background="Transparent" WindowStartupLocation="CenterScreen" Topmost="True" AllowsTransparency="True">
  9. <Grid>
  10. <Border Background="White" BorderBrush="Gray" CornerRadius="4" BorderThickness="1"></Border>
  11. <TextBlock HorizontalAlignment="Center" Margin="20" FontSize="18.5" Text="客户端更新中,请勿关闭此窗口..." TextWrapping="Wrap"></TextBlock>
  12. <StackPanel VerticalAlignment="Center" Margin="20,60,20,20">
  13. <TextBlock x:Name="UpdateInfo" Text="更新中..." Margin="2"/>
  14. <ProgressBar x:Name="ProgressBar" Minimum="0" Maximum="100" Height="24" Margin="2"></ProgressBar>
  15. </StackPanel>
  16. <Viewbox x:Name="WaitingBox" Margin="0,60,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" Width="96" Height="96">
  17. <labeller:WaitingSpinner x:Name="Waiting"/>
  18. </Viewbox>
  19. </Grid>
  20. </Window>