private void btnSpeak_Click(object sender, EventArgs e) { int len = Talker.BlahBlahBlah(txtTextToSay.Text, (int)numTimesToRepeat.Value); MessageBox.Show("The message length is " + len); }
private void button1_Click(object sender, EventArgs e) { int len = Talker.BlahBlahBlah(textBox1.Text, (int)numericUpDown1.Value); MessageBox.Show("The message length is " + len); }
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"); }
private void button1_Click(object sender, EventArgs e) { int len = Talker.BlahBlahBlah(textBox1.Text, Convert.ToInt16(textBox2.Text)); MessageBox.Show(len.ToString()); }