摘要: 第一种方法: 利用API播放声音文件using System.Runtime.InteropServices; 在调用API时先引用[DllImport("winmm")]public static extern bool PlaySound(string szSound, IntPtr hMod, int i); //声明API:PlaySound调用:PlaySound(@"声音文件路径",I... 阅读全文
posted @ 2010-03-02 15:09 钢的锅 阅读(3725) 评论(1) 推荐(0) 编辑