I need help with my media player that i am making in C#.net . The only thing left is playlist . Can anyone please tell me how to use the play list option and add songs to it ?
C# . Net Media Player Help!
Started by ahmed, Jun 19 2009 05:45 AM
4 replies to this topic
#1
Posted 19 June 2009 - 05:45 AM
|
|
|
#2
Posted 19 June 2009 - 07:05 AM
Surely there's a component for holding and displaying a list of items, with the ability to select items on the list.
#3
Posted 19 June 2009 - 09:08 AM
I know but i need a sample for a play list code :(
#4
Posted 22 June 2009 - 06:10 AM
Why don't you use a listbox? and then on index change forward the mp3 location to the wmp control
#5
Posted 24 June 2009 - 04:06 PM
ahmed said:
I know but i need a sample for a play list code :(
You will probably want to use a collection. As items are added into the playlist you will add those items to the collection. The collection can be objects that you have created. You can create a song object with all the properties needed and add those song objects to the collection. I think that would be the easiest way to do it. This can then be displayed in a list box or something similar.


Sign In
Create Account


Back to top









