C#播放音乐&来自资源的声音。 [英] C# Playing music & sound from resources.

查看:274
本文介绍了C#播放音乐&来自资源的声音。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hey'a, 

Hey'a, 

我怎么能在正在运行的表格上播放一些音乐或声音?声音应该在资源中,但不在本地电脑中。

How could i get some music or sounds to play on an running form? The sound should be in the resource, but not in a local pc.

我只需要该行。

推荐答案

我不知道你的意思是"声音应该在资源中,而不是在本地电脑中"。 你是说你想从某个地址加载URL中的声音吗?

I have no idea what you mean by "The sound should be in the resource, but not in a local pc".  Are you saying you want to load the sounds from a URL somewhere?

播放声音很容易。 播放背景音乐只是稍微难一点。 请告诉我们您想要做的事情。

Playing sounds is easy.  Playing background music is only slightly harder.  Just tell us a bit more about what you want to do.


这篇关于C#播放音乐&来自资源的声音。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆