UCWaitingProgress.xaml 1.1 KB

12345678910111213141516171819
  1. <UserControl x:Class="ClickOnceSetup.UCWaitingProgress"
  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:local="clr-namespace:ClickOnceSetup"
  7. mc:Ignorable="d"
  8. d:DesignHeight="300" d:DesignWidth="300">
  9. <UserControl.Resources>
  10. <Storyboard x:Key="waiting" Name="waiting">
  11. <DoubleAnimation Storyboard.TargetName="SpinnerRotate" Storyboard.TargetProperty="(RotateTransform.Angle)" From="0" To="359" Duration="0:0:02" RepeatBehavior="Forever" />
  12. </Storyboard>
  13. </UserControl.Resources>
  14. <Image Name="image" Source="loading.png" RenderTransformOrigin="0.5,0.5" Stretch="Uniform" Loaded="Image_Loaded">
  15. <Image.RenderTransform>
  16. <RotateTransform x:Name="SpinnerRotate" Angle="0" />
  17. </Image.RenderTransform>
  18. </Image>
  19. </UserControl>