12345678910111213141516171819 |
- <UserControl x:Class="ClickOnceSetup.UCWaitingProgress"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:ClickOnceSetup"
- mc:Ignorable="d"
- d:DesignHeight="300" d:DesignWidth="300">
- <UserControl.Resources>
- <Storyboard x:Key="waiting" Name="waiting">
- <DoubleAnimation Storyboard.TargetName="SpinnerRotate" Storyboard.TargetProperty="(RotateTransform.Angle)" From="0" To="359" Duration="0:0:02" RepeatBehavior="Forever" />
- </Storyboard>
- </UserControl.Resources>
- <Image Name="image" Source="loading.png" RenderTransformOrigin="0.5,0.5" Stretch="Uniform" Loaded="Image_Loaded">
- <Image.RenderTransform>
- <RotateTransform x:Name="SpinnerRotate" Angle="0" />
- </Image.RenderTransform>
- </Image>
- </UserControl>
|