Speak.cs
资源名称:MyDictApp.rar [点击查看]
上传用户:china_pc
上传日期:2022-07-29
资源大小:495k
文件大小:0k
源码类别:
其他
开发平台:
Visual C++
- using System;
- using System.Collections.Generic;
- using mstts;
- using System.Text;
- namespace MyDictApp
- {
- class Speak
- {
- private VTxtAuto vtxtautoex;
- public Speak()
- {
- vtxtautoex = new VTxtAuto();
- vtxtautoex.Register("a","b");
- }
- public void say(string text)
- {
- vtxtautoex.Speak(text, 0); //发音
- }
- }
- }