怎么播放报警声音
winform   1.1   c#中怎么做啊     
 2.0版本中有个SoundPlayer      
 总不会   放一个媒体播放器。然后隐藏吧。   
 急啊。刚学。请各位大哥帮忙
------解决方案--------------------正是你说的那样 
 拖一个madie player控件进去 隐藏
------解决方案--------------------如果是1.1 用api应该可以实现的。 
 为什么不用2.0呢? 很方便的
------解决方案--------------------1.1要用api,mci指令PlaySound   
 PlaySound 
 The PlaySound function plays a sound specified by the specified file name, resource, or system event.   
 BOOL WINAPI PlaySound(  
 LPCSTR pszSound,  
 HMODULE hmod,  
 DWORD fdwSound );     
 但如果你要播放的文件在资源里,那就要先拷贝到硬盘,再播放了。2.0可以直接播放资源中的wav文件。
------解决方案--------------------eg:PlaySound(Application.CurrentPath+ "\\alert.wav ",0,1);
------解决方案--------------------要是用控件的话,就拖一个控件进行隐藏了,  
 1.1还可以用API