时间:2024-10-13 11:10:55
1、我们需要先引入命名空间System的Media。
3、此时我们通过New关键字,对SoundPlayer对象实例化。
5、此时我们便可以通过PlayLooping方法播放音乐文件。