<Window.Resources>
<Storyboard x:Key="Storyboard1" RepeatBehavior="Forever" AutoReverse="True">
<PointAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransformOrigin)" Storyboard.TargetName="regularPolygon">
<EasingPointKeyFrame KeyTime="0" Value="0.5,0.5">
<EasingPointKeyFrame.EasingFunction>
<BackEase EasingMode="EaseInOut"/>
</EasingPointKeyFrame.EasingFunction>
</EasingPointKeyFrame>
<EasingPointKeyFrame KeyTime="0:0:0.8" Value="0.5,0.5"/>
</PointAnimationUsingKeyFrames>
<PointAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransformOrigin)" Storyboard.TargetName="image">
<EasingPointKeyFrame KeyTime="0:0:0.8" Value="0.5,0.5"/>
</PointAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="image">
<EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="500"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="regularPolygon">
<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="500"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
<Storyboard x:Key="Storyboard2">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="image2">
<EasingDoubleKeyFrame KeyTime="0" Value="-30"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="image2">
<EasingDoubleKeyFrame KeyTime="0" Value="-4"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="image2">
<EasingDoubleKeyFrame KeyTime="0" Value="0.583"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="0.5"/>
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.15"/>
<EasingDoubleKeyFrame KeyTime="0:0:1.4" Value="2"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="image2">
<EasingDoubleKeyFrame KeyTime="0" Value="0.738"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1.54"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="0.77"/>
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.231"/>
<EasingDoubleKeyFrame KeyTime="0:0:1.4" Value="2"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</Window.Resources>
<Grid>
<Canvas Name="cans" Margin="0,-10,0,10">
<Image x:Name ="image" Margin="0,0,524,354" Source="taddy1.jpg" Stretch="Uniform" Width="100" >
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Image.RenderTransform>
</Image>
<ed:RegularPolygon x:Name="regularPolygon" Fill="#FFF5F5F4" HorizontalAlignment="Left" Height="32" InnerRadius="0.47211" Margin="72,8,0,0" PointCount="5" Stretch="Fill" Stroke="Black" VerticalAlignment="Top" Width="14">
<ed:RegularPolygon.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</ed:RegularPolygon.RenderTransform>
</ed:RegularPolygon>
<Image Name ="image1" Source="Arrow.jpg" Stretch="Uniform" Height="19" Canvas.Left="19" Canvas.Top="240">
</Image>
<Slider Name="silde" Minimum="0" Maximum="550" SmallChange="5" ValueChanged="Slider_ValueChanged_1" Height="16" Width="604" Canvas.Top="416" Canvas.Left="10" />
<Image Name="imgball" Height="41" Canvas.Left="10" Source="ball3d.png" Stretch="Fill" Canvas.Top="370" Width="37"/>
<Button Name="btntime" Canvas.Left="589" BorderThickness="0" Width="40" Height="40" Background="#FF629FC1" IsEnabled="True" >
<Button.Effect>
<DropShadowEffect ShadowDepth="10" BlurRadius="50"/>
</Button.Effect>
</Button>
<Image x:Name="image2" Visibility="Collapsed" Height="61" Canvas.Left="264" Source="heart.jpg" Stretch="Fill" Canvas.Top="205" Width="96" RenderTransformOrigin="0.5,0.5">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Image.RenderTransform>
</Image>
<TextBlock Height="0" Canvas.Left="216" TextWrapping="Wrap" Text="TextBlock" Canvas.Top="202" Width="8"/>
</Canvas>
</Grid>
</Window>