怎样为SpeechSynthesizer朗读文件设置进度条并且显示…… 我想实现朗读文档时用进度条显示进度,现在不知怎样去实现这一功能……求各位大神指导…… 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 private void SpeakProgress(object sender, SpeakProgressEventArgs e) { this.textBox1.HideSelection = false; this.textBox1.Select(e.CharacterPosition, e.CharacterCount); } private void button1_Click(object sender, EventArgs e) { SpeechSynthesizer speech = new SpeechSynthesizer(); speech.SpeakProgress += SpeakProgress; speech.SpeakAsync(textBox1.Text); } 我是用它直接读WORD的,不是把文本显示在文本框中………… 还有我是用进度条,Progressbar……求指导…… PictureBox变大之后被遮住了,怎么办? winform(c#)怎样实现批量图片浏览 写wav文件,十万火急啊!!!! ******怎么改变ComboBox控件的高度 关于系统事件的调用 数据库有关语句,为什么显示错误? 这样的类应该怎么写?(有关文件的读写的) 移动公司代理网tcpclient实现发邮件的问题 简单问题static 关于datatable 动态插入行数据的困惑 两个DataGridView之间如何移动选定数据和批量该数据?? 谁能帮我看下这程序错在哪
{
this.textBox1.HideSelection = false;
this.textBox1.Select(e.CharacterPosition, e.CharacterCount);
} private void button1_Click(object sender, EventArgs e)
{
SpeechSynthesizer speech = new SpeechSynthesizer();
speech.SpeakProgress += SpeakProgress;
speech.SpeakAsync(textBox1.Text);
}