将声音添加到c#项目中。 [英] adding sound to c# project.

查看:83
本文介绍了将声音添加到c#项目中。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以继承人..........我正在做tic tac toe ....我真的是一个初学者,我正在努力做到这一点,虽然我几乎完成了它突然我得到一个想法,但猜猜我不知道该怎么做.....我想在其中添加声音,以便当玩家获胜时宣布玩家1胜或玩家2胜......我有音频文件,但我不知道如何将此声音添加到c#.........请告诉我,因为我对c#中的声音一无所知,因为我不...在此先感谢..... 。







问候,

Ahsan Naveed。

so heres the thing..........i am making tic tac toe....i am really a beginner in this and am trying to do it although i have almost done it when suddenly i get an idea but guess what i dont know how to do it.....i want to add sound in it so that when the player wins it announces player 1 wins or player 2 wins......i have got the audio file but i dont know how to add this voice to c#.........plz tell me as i dont know anything about sound in c# cause i dont......Thanks in advance......



Regards,
Ahsan Naveed.

推荐答案

希望这能帮到你:



播放wav文件

如何在您的应用程序中播放声音


这篇关于将声音添加到c#项目中。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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