2012-02-06 2 views
0
이 페이지에 VS2010를 사용하여 Windows phone7의 앱 만드는 방법

Windows phone7에서 페이지 태그를 사용하여 페이지를 만드는 방법은 무엇입니까?

<!-- To interactively stop, pause, and play the media, the LoadedBehavior 
     property of the MediaElement must be set to "Manual". --> 
<MediaElement Source="media\numbers.wmv" Name="myMediaElement" 
Width="450" Height="250" LoadedBehavior="Manual" UnloadedBehavior="Stop" Stretch="Fill" 
MediaOpened="Element_MediaOpened" MediaEnded="Element_MediaEnded"/> 

<StackPanel HorizontalAlignment="Center" Width="450" Orientation="Horizontal"> 

    <!-- Play button. --> 
    <Image Source="images\UI_play.gif" MouseDown="OnMouseDownPlayMedia" Margin="5" /> 

    <!-- Pause button. --> 
    <Image Source="images\UI_pause.gif" MouseDown="OnMouseDownPauseMedia" Margin="5" /> 

    <!-- Stop button. --> 
    <Image Source="images\UI_stop.gif" MouseDown="OnMouseDownStopMedia" Margin="5" /> 

    <!-- Volume slider. This slider allows a Volume range between 0 and 1. --> 
    <TextBlock Foreground="White" VerticalAlignment="Center" Margin="5" >Volume</TextBlock> 
    <Slider Name="volumeSlider" VerticalAlignment="Center" ValueChanged="ChangeMediaVolume" 
    Minimum="0" Maximum="1" Value="0.5" Width="70"/> 

    <!-- Volume slider. This slider allows you to change the speed of the media playback. --> 
    <TextBlock Foreground="White" Margin="5" VerticalAlignment="Center">Speed</TextBlock> 
    <Slider Name="speedRatioSlider" VerticalAlignment="Center" ValueChanged="ChangeMediaSpeedRatio" 
    Value="1" Width="70" /> 

    <!-- Seek to slider. Ths slider allows you to jump to different parts of the media playback. --> 
    <TextBlock Foreground="White" Margin="5" VerticalAlignment="Center">Seek To</TextBlock> 
    <Slider Name="timelineSlider" Margin="5" ValueChanged="SeekToMediaPosition" Width="70"/> 

</StackPanel> 

?

답변

1

매우 이상한 질문입니다. 사이트에서 XAML을 복사 한 것으로 보이며 WP7 앱을 작성하는 방법을 모르는 것 같습니다.

는 그 다음 free SDK

를 다운로드 그리고 난 당신이 자신을하여 간단한 응용 프로그램을 구축 관리 할 수 ​​있습니다 확신 그런 다음 Quickstart

를 따라하려고 here

에서 시작하세요!

관련 문제