如何在c#上发生表单加载时打开旁白? [英] How to switch on narrator when form load occurs on c#?

查看:86
本文介绍了如何在c#上发生表单加载时打开旁白?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的form1加载时打开Windows旁白,并在表单关闭时停止叙述。



< a href =http://msdn.microsoft.com/en-us/library/system.speech.synthesis.aspx> http://msdn.microsoft.com/en-us/library/system.speech.synthesis .aspx [ ^ ]



我通过上面的链接但没有帮助。

确保我的要求不是字符串到语音。需要打开&关闭Windows默认解说员。



请帮助。

解决方案

您引用它的MSDN文档完全不相关Windows讲述人。我建议你忘记Windows讲述人(毕竟,这是一个独立的过程,它完成它的功能,几乎无法控制它)并直接使用 Speech.Synthesis 。这本身很简单,但您需要在UI上做相当大的努力才能生成视图,菜单等的旁白。



-SA

I want to turn on windows narrator when my form1 load occurs and stop narrating when form closed.

http://msdn.microsoft.com/en-us/library/system.speech.synthesis.aspx[^]

I went through above link but doesn't help.
Make sure my requirement is not string to speech. Need to switch on & off windows default narrator.

Please help.

解决方案

The MSDN documentation you referenced it totally unrelated to Windows Narrator. I would suggest you forget about Windows Narrator (after all, this is a separate process which does what it does, giving you virtually no control over it) and use Speech.Synthesis directly. This itself is very simple, but you would need to do considerable effort on you UI to generate narration out of the view, menus, etc.

—SA


这篇关于如何在c#上发生表单加载时打开旁白?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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