1、引用命名空间:using System.Runtime.InteropServices;
2、创建类: 加入以下代码块
[DllImport("winmm.dll")]
public static extern long PlaySound(String fileName, long a,
1、引用命名空间:using System.Runtime.InteropServices;
2、创建类: 加入以下代码块
[DllImport("winmm.dll")]
public static extern long PlaySound(String fileName, long a,

被折叠的 条评论
为什么被折叠?