如何在c#中显示列表
我想制作一个类似于 winamp 但具有 youtube 数据输入的应用程序(即,我有大量的链接来播放音乐,而不是本地音乐)。我想知道如何显示列表?我应该为每个链接都有一个 UserControl 还是有其他方法?我还考虑将链接存储在数据表中,然后退出将其保存到本地数据库/文件。这是要走的路吗?如果您有任何建议,我期待听到它们!
问候, 亚历山德鲁·巴德斯库
I would like to make an app that resembles winamp but has an youtube data input ( i.e. in stead of local music i have a multitude of links from which i stream music ) . I would like to know how to display the list? should i have an UserControl for each link or is there another way ? i was also thinking of storing the links in a dataTable and on quit saving it to a local database/file . Is that the way to go? If you have any suggestions i am looking forward to hearing them!
Regards,
Alexandru Badescu
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为我最好为每个网址创建一个用户控件,并将所有用户控件放入可滚动容器中。
如果所有用户都必须指定文件的链接,我会将每个播放列表保存为一个(简单)文件,其中每一行包含一个链接。
I think I would be best to create a user control for each url, and put all the user controls into a scrollable container.
If all users must specify the link to the file, I would save each playlist as a (simple) file, where each line contains one link.