Exemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            this.symbolListView1.SelectedIndexChanged += new EventHandler(symbolListView1_SelectedIndexChanged);
            this.symbolListView1.ItemActivated        += new EventHandler(symbolListView1_ItemActivated);

            bool   maleVoice       = false;
            string maleVoiceString = this.Setting.GlobalSetting.GetValue(USING_DFTTS_MALE_VOICE, null) as string;

            if (maleVoiceString != null)
            {
                maleVoice = bool.Parse(maleVoiceString);
            }

            _dftts = new DFTTS(this.Handle, maleVoice);
        }
Exemplo n.º 2
0
 public TextDetailForm(DFTTS dftts)
 {
     InitializeComponent();
     _dftts = dftts;
 }