Tuesday, February 21, 2012 3:58 AM
For my school project, I am required to create a music player in C# using Windows Form. Specifically, the teacher has requested that the user interface mimic itunes'. So far, I have implemented most work but I have no clue how to create itunes like sidebar. As shown on this image below, the sidebar should list the playlist and other relevant info.
I have in mind to use two options:
- Using a listview and load playlist at run time: The problem with this is that the listview does not support design time in Visual studio and I am not very familiar with a listview. Further it is hard to get a listview with an image.
- I was also thinking about using a MenuStrip but then again I'm not sure how this can work out.
Can someone please suggest any better way this can be done? I am very open to any suggestions.
Thanks in advance for your help!
Tuesday, February 21, 2012 5:42 AM
To have better "control" over the control, i would have go for a custom user control which we can configure it in our way.
Probably i will have a panel as container, and a layout panel to have the controls in line. so that each component we can have our own colors and styles. we can generate the view of that control with the hierarchy of the data items you wanna populate. All the links in the control can be dynamic. All the events in the control will be passed to the containing master to handle it by raising an event or a message. which the main form can open the song or a directory contains song. Just a thought.....
-- Thanks Ajith R Nair
- Marked As Answer by Nice_Girl Monday, February 27, 2012 1:59 AM
Wednesday, February 22, 2012 3:13 AMModeratorSorry, but what is itunes sidebar looks like?
Helen Zhou [MSFT]
MSDN Community Support | Feedback to us
Wednesday, February 22, 2012 3:24 AMThe itunes sidebar looks like the image in my post.