private void button2_Click(object sender, EventArgs e) { HtmlElement element = webBrowser1.Document.GetElementById("voiceselection"); element.SetAttribute("value", "UK English Female"); speakText.Speak((cbWord.SelectedItem as DictionaryData).Key); }
private void button1_Click(object sender, EventArgs e) { Vietnamese.Speak(txtMeaning.Text); }
private void btnSpeakEnglish_Click(object sender, EventArgs e) { English.Speak((cbWord.SelectedItem as DictionaryData).Key); }