摘要:
1.SpeechSynthesizer文字转音频 项目添加引用:System.Speech using(SpeechSynthesizer speech = new SpeechSynthesizer) { speech.Rate = 0; //语速 speech.Volume = 100; //音 阅读全文
摘要:
1.form1的button事件下: form2 form = new form2(); form.Show(); Thread.Sleep(10000); //form2窗体显示10秒 form.Close(); //form2窗体关闭 2.form1的button事件下: form2 form 阅读全文