add a music with microsoft blend
-
Tuesday, March 24, 2009 7:27 AM
I'm working with blend and I would like to add music to my solution.
Could you please tell me how it could be?
All Replies
-
Tuesday, March 24, 2009 2:35 PM
Hi! You can just drag and drop from the file location into the solution explorer [ORANGE AREA].

From there, just hook that sound to a MediaElement control, use it to control playback. After that, you should be good to go. -
Wednesday, March 25, 2009 8:57 AM
Could you tell me how can I make the music working continously?
-
Wednesday, March 25, 2009 1:37 PMThis is the closest to looping as I think you can get. There may or may not be a small pause while the song restarts.
Code:
myPlayer.Stop();
myPlayer.Position = TimeSpan.FromSeconds(0);
myPlayer.Play();


