WaitingPage.xaml 1.5 KB

123456789101112131415161718192021222324252627282930
  1. <UserControl x:Class="TeamAAS_VP.Controls.WaitingPage"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
  7. xmlns:local="clr-namespace:TeamAAS_VP.Controls"
  8. xmlns:lex="http://wpflocalizeextension.codeplex.com"
  9. lex:LocalizeDictionary.DesignCulture="zh-CN"
  10. lex:ResxLocalizationProvider.DefaultAssembly="TeamAAS-VP"
  11. lex:ResxLocalizationProvider.DefaultDictionary="Lang"
  12. mc:Ignorable="d"
  13. d:Background="White"
  14. FontFamily="{DynamicResource DefaultFont}">
  15. <Grid>
  16. <StackPanel Margin="16">
  17. <ProgressBar Margin="16"
  18. HorizontalAlignment="Center"
  19. IsIndeterminate="True"
  20. Style="{StaticResource MaterialDesignCircularProgressBar}"
  21. Value="0" />
  22. <Button HorizontalAlignment="Center"
  23. Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}"
  24. CommandParameter="Cancel"
  25. Content="{lex:Loc 取消}"
  26. IsCancel="True"
  27. Style="{StaticResource MaterialDesignFlatButton}" />
  28. </StackPanel>
  29. </Grid>
  30. </UserControl>