小小小小小小小小小小小问题!
作了一个应用程序,想在程序启动播放时候有一小段.wav声音
新建一个Class1类中
[DllImport("winmm.dll", EntryPoint="PlaySound")]
public static extern bool PlaySound_DllImport(string pszSound,IntPtr hmod ,int fdwSound )
我把xx.wav的声音文件,放在项目目录下的sound文件夹中,
问如何在Form1_Load的时候播放这一小段声音?