06-04-2008, 09:18 AM
|
#38 (permalink)
|
|
Jr. Member
Join Date: May 2008
Posts: 312
|
Quote:
Originally Posted by LedZepp
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
|
thx for that code

|
|
|