面板中的MP3播放器歌曲列表 [英] MP3 Player Song List In Panel

查看:52
本文介绍了面板中的MP3播放器歌曲列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作一个MP3播放器.....我也在这个媒体播放器(mp3播放器)制作一个面板我想添加像歌曲列表一样的歌曲与openfiledialoug PLZ帮助我

i make a mp3 player ..... i make also a panel in this media player(mp3 player)i want to add songs like a song list with openfiledialoug plz help me

推荐答案

不,我只是拿一个组合框......只是为了创建一个歌曲列表,请告诉我在这个组合框中我能做些什么来做这项工作



我?我不会使用组合框。

您想要一些可以作为列表的东西 - 也就是说,您可以轻松地在底部添加项目,并在它们拥有时从顶部删除它们等等。如果您使用组合框,则需要在其中动态添加控件,并且它不会自动滚动。



考虑使用DataGridView或ListView - 它们两者都能以最小的努力很好地工作,并且很容易设置。
"no i just take a groupbox just ...... for creating a song list kindly tell me what can i do in this groupbox for this work"

Me? I wouldn''t use a groupbox.
You want something that can act as a list - i.e. that makes it easy for you to add items at the bottom, and remove them from the top when they have played and so forth. If you use a groupbox, then you need to add controls dynamically within it, and it will not scroll well automatically.

Consider using a DataGridView, or a ListView - they both will work well with minimal effort on your part and are very easy to set up.


如果你制作了一个MP3播放器'',你几乎没有做任何事情并且只是使用了WMP控制。它包含文件停止播放的事件以及播放列表。所以,只要继续使用该对象来做你想做的事情,如果你有一个特定的问题,请发布你所做的代码并解释你被困的地方。



这不是编程,你应该写一些不依赖黑盒子的基本东西。 API非常适合特定需求,但无助于学习
If you ''made an mp3 player'', odds are you did next to nothing and just used the WMP control. It has events for when a file stops playing, and also playlists. So, just keep using the object to do what you want, and if you have a specific question, post the code for what you''ve done and explain where you are stuck.

This is not programming, you should write basic things that don''t rely on black boxes. An API is great for a specific need, but not helpful for learning


这篇关于面板中的MP3播放器歌曲列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆