一.设计思路 程序要求能播放MP3文件,因此需调用库中的播放方法:右键工具箱选择项,添加com组件,选择window media player后工具箱就会多一个控件,然后拖到窗体中就OK了.另在窗体中放入几个buttoon按钮来实现暂停\播放.停止等功能.最后在textbox中显示歌曲路径. 二.代码实现 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data;…
使用C#编写媒体播放器时,需要用到Microsoft的Directx提供的DirectShow组件.用该组件前需要先注册程序集QuartzTypeLib.dll. 1.用QuartzTypeLib.dll播放视频(http://i.cnblogs.com/Files.aspx下载类库) 1.1Form1.cs using System; using System.Windows.Forms; using QuartzTypeLib; namespace DirectShow { p…
I had published the blog : 你用java的swing可以做出这么炫的mp3播放器吗? and to display some screenshots about this MP3 Player. The target for this blog is that to publish the source code, and you can download the source code and give me some advices if possible. The…