资源简介
多媒体播放器的主要功能是播放MP3、WAV、AVI、DAT、RM、RMVB格式的文件,可以将单个播放文件及整个文件夹中的播放文件添加到列表中,并可以实现歌词滚动的效果(源代码)。

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;//添加控件及窗体的命名空间
using System.Drawing;//添加Point的命名空间
using System.Collections;//为ArrayList添加命名空间
using System.Runtime.InteropServices;//API函数的命名空间
using System.IO;//文件操作的命名空间
//应用scripting在“添加引用”对话框中选中“COM“选项卡,然后选中Microsoft scripting Runtime,单击“确定”按钮
//应用Shell32在“添加引用”对话框中选中“COM“选项卡,然后选中Microsoft Shell Controls And Automation,单击“确定”按钮
namespace PlayApparatus
{
class FrmClass
{
#region 记录窗体的实例化信息-公共变量
public static Form F_List = new Form();
public static Form F_Libretto = new Form();
public static Form F_Screen = new Form();
public static Form F_MPlay = new Form();
#endregion
#region 磁性窗体-公共变量
//记录窗体的隐藏与显示
public static bool Example_ListShow = false;
public static bool Example_LibrettoShow = false;
public static bool Example_ScreenShow = false;
//记录鼠标的当前位置
public static Point CPoint; //添加命名空间using System.Drawing;
public static Point FrmPoint;
public static int Example_FSpace = 10;//设置窗体间的距离
//Frm_Play窗体的位置及大小
public static int Example_Play_Top = 0;
public static int Example_Play_Left = 0;
public static int Example_Play_Width = 0;
public static int Example_Play_Height = 0;
public static bool Example_Assistant_AdhereTo = false;//辅助窗体是否磁性在一起
//Frm_ListBos窗体的位置及大小
public static int Example_List_Top = 0;
public static int Example_List_Left = 0;
public static int Example_List_Width = 0;
public static int Example_List_Height = 0;
public static bool Example_List_AdhereTo = false;//辅助窗体是否与主窗体磁性在一起
//Frm_Libretto窗体的位置及大小
public static int Example_Libretto_Top = 0;
public static int Example_Libretto_Left = 0;
public static int Example_Libretto_Width = 0;
public static int Example_Libretto_Height = 0;
public static bool Example_Libretto_AdhereTo = false;//辅助窗体是否与主窗体磁性在一起
//窗体之间的距离差
public static int Example_List_space_Top = 0;
public static int Example_List_space_Left = 0;
public static int Example_Libretto_space_Top = 0;
public static int Example_Libretto_space_Left = 0;
#endregion
#region 视频播放-公共变量
public static bool Example_Size = false;
public static int Example_X = 0;
public static int Example_Y = 0;
public static int Example_CursotX = 0;
public static int Example_CursotY = 0;
public static int Example_Width = 0;
public static int Example_Height = 0;
public static int Example_Right = 0;
public static string Example_File_Size = ““;
public static double Example_TimeSizeD = 0;
public static string Example_TimeSizeS = ““;
public static double Example_Barframe = 0;/
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-04-21 23:07 PlayApparatus\
目录 0 2011-04-21 23:07 PlayApparatus\PlayApparatus\
文件 929 2010-01-28 09:28 PlayApparatus\PlayApparatus.sln
文件 53248 2011-04-21 23:22 PlayApparatus\PlayApparatus.suo
目录 0 2011-04-21 23:07 PlayApparatus\PlayApparatus\bin\
目录 0 2011-04-21 23:07 PlayApparatus\PlayApparatus\bin\Debug\
文件 53248 2008-09-05 16:19 PlayApparatus\PlayApparatus\bin\Debug\AxInterop.WMPLib.dll
文件 16384 2008-07-18 11:51 PlayApparatus\PlayApparatus\bin\Debug\FrmClassDepot.dll
文件 32768 2011-04-21 22:15 PlayApparatus\PlayApparatus\bin\Debug\Interop.sc
文件 53248 2011-04-21 22:15 PlayApparatus\PlayApparatus\bin\Debug\Interop.Shell32.dll
文件 331776 2011-04-21 22:15 PlayApparatus\PlayApparatus\bin\Debug\Interop.WMPLib.dll
文件 310272 2011-04-21 23:11 PlayApparatus\PlayApparatus\bin\Debug\PlayApparatus.exe
文件 157184 2011-04-21 23:11 PlayApparatus\PlayApparatus\bin\Debug\PlayApparatus.pdb
文件 14328 2011-04-21 23:16 PlayApparatus\PlayApparatus\bin\Debug\PlayApparatus.vshost.exe
文件 490 2007-07-21 01:33 PlayApparatus\PlayApparatus\bin\Debug\PlayApparatus.vshost.exe.manifest
文件 973 2011-04-21 22:18 PlayApparatus\PlayApparatus\bin\Debug\默认.m3u
文件 70939 2011-04-21 22:24 PlayApparatus\PlayApparatus\FrmClass.cs
文件 8338 2008-09-04 09:52 PlayApparatus\PlayApparatus\Frm_Libretto.cs
文件 17066 2008-09-04 09:51 PlayApparatus\PlayApparatus\Frm_Libretto.Designer.cs
文件 16687 2008-09-04 09:51 PlayApparatus\PlayApparatus\Frm_Libretto.resx
文件 25559 2008-09-16 11:22 PlayApparatus\PlayApparatus\Frm_ListBox.cs
文件 31562 2008-09-12 09:44 PlayApparatus\PlayApparatus\Frm_ListBox.Designer.cs
文件 23350 2008-09-12 09:44 PlayApparatus\PlayApparatus\Frm_ListBox.resx
文件 37348 2011-04-21 23:11 PlayApparatus\PlayApparatus\Frm_Play.cs
文件 32140 2011-04-21 23:11 PlayApparatus\PlayApparatus\Frm_Play.Designer.cs
文件 104605 2011-04-21 23:11 PlayApparatus\PlayApparatus\Frm_Play.resx
文件 7529 2008-09-16 08:55 PlayApparatus\PlayApparatus\Frm_Screen.cs
文件 16873 2008-09-16 08:55 PlayApparatus\PlayApparatus\Frm_Screen.Designer.cs
文件 59985 2008-09-16 08:55 PlayApparatus\PlayApparatus\Frm_Screen.resx
目录 0 2011-04-21 23:07 PlayApparatus\PlayApparatus\Image\
文件 3513 2008-08-19 19:08 PlayApparatus\PlayApparatus\Image\EQ.png
............此处省略92个文件信息
- 上一篇:C#账户管理系统源码
- 下一篇:书店管理系统附带数据库
相关资源
- C# TIP文件生成和拆解
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
评论
共有 条评论