View Single Post
Old 06-03-2008, 06:42 PM   #20 (permalink)
ShotgunSnipist
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 800
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

Quote:
Originally Posted by LedZepp View Post
Also, Shoutout
I noticed you play the songs from the very beginning(which might be bad for some people) here is the trick i used:
The mediaplayer class has a method called playposition, which defines where you want the song to start(default is 0:0:0.0)
To start it at any time you want just set the playposition to a TimeSpan variable like so:
Code:
MediaPlayer.PlayPosition = new TimeSpan(0, 0, 30)
This example starts the song at 0 hours, 0 minutes, and 30 seconds into the song
Could you find the place in the program to put that?
__________________
Invisible Text. =P



ShotgunSnipist is offline