wpf动画如何用c#控制在blend中绘制的火柴人移动

求助:wpf动画怎么用c#控制在blend中绘制的火柴人移动?
wpf动画如何用c#控制在blend中绘制的火柴人移动

如图 我做了一个wpf程序,在blend for vs中画了一个火柴人动画。现在点击“走”按钮后人物可以原地走动。我要怎么才能让他在场景中移动。
因为我想让小人在场景中按随机路线运动,所以移动路线在blend里面就没有画出来,只画了走路的动作。

我可不可以直接控制小人在场景中的位置来实现移动?怎么控制?

还有那个storyboard是个什么东西?是不是相当于flash里面的影片剪辑? 


------解决方案--------------------
这是使用的是Canvas面板与Path,通过 改变红点,就是Ellipse 的Canvas.Left实现的。肯定用的Storyboard。
代码贴给你,自己研究。

<Window.Resources>
        <PathGeometry x:Key="Path">
            <PathFigure IsClosed="True">
                <LineSegment Point="300,0"></LineSegment>
            </PathFigure>
        </PathGeometry>
    </Window.Resources>
    <Grid>
        <WrapPanel>
            <StackPanel>
                <StackPanel.Triggers>
                    <EventTrigger RoutedEvent="Button.Click" SourceName="btnMove">
                        <EventTrigger.Actions>
                            <BeginStoryboard x:Name="MyBeginStoryboard">
                                <Storyboard>
                                    <DoubleAnimationUsingPath Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Canvas.Left)"
            PathGeometry="{StaticResource Path}" Duration="0:0:10" RepeatBehavior="Forever"  Source="X" >
                                    </DoubleAnimationUsingPath>
                                </Storyboard>
                            </BeginStoryboard>
                        </EventTrigger.Actions>
                    </EventTrigger>
                </StackPanel.Triggers>
                <!--开始-->
                <Button x:Name="btnMove" Content="开始" Width="80" Height="30" Margin="10">
                </Button>
            </StackPanel>
                <Border Width="330" Height="150" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                    <Canvas Margin="10">
                        <Path x:Name="myPath" Stroke="Red" Fill="Transparent" Data="{StaticResource Path}" Margin="10">
                        </Path>
                        <Ellipse Name="ellipse" Width="20" Height="20" Fill="Blue"></Ellipse>
                    </Canvas>
                </Border>
        </WrapPanel>
    </Grid>
<!--记得结贴-->