private void button1_Click(object sender, EventArgs e)
 {
     httpRequest hR = new httpRequest();
     string token_Access = hR.getStrAccess(hR.API_key, hR.API_secret_key);
     string token_Text = hR.getStrText(hR.API_id,token_Access,"zh",textBox2.Text,"pcm","8000");
     textBox1.Text = token_Text;
 }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            httpRequest hR           = new httpRequest();
            string      token_Access = hR.getStrAccess(hR.API_key, hR.API_secret_key);
            string      token_Text   = hR.getStrText(hR.API_id, token_Access, "zh", textBox2.Text, "pcm", "8000");

            textBox1.Text = token_Text;
        }