Esempio n. 1
0
        private void btnSpeak_Click(object sender, EventArgs e)
        {
            int len = Talker.BlahBlahBlah(txtTextToSay.Text, (int)numTimesToRepeat.Value);

            MessageBox.Show("The message length is " + len);
        }
Esempio n. 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            int len = Talker.BlahBlahBlah(textBox1.Text, (int)numericUpDown1.Value);

            MessageBox.Show("The message length is " + len);
        }
Esempio n. 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            int len = Talker.BlahBlahBlah(textBox1.Text, (int)numericUpDown1.Value);

            MessageBox.Show($"De lengte van het bericht is: {len} Karakters");
        }
Esempio n. 4
0
        private void button1_Click(object sender, EventArgs e)
        {
            int len = Talker.BlahBlahBlah(textBox1.Text, Convert.ToInt16(textBox2.Text));

            MessageBox.Show(len.ToString());
        }