Exemplo n.º 1
0
 private void opg1Button_Click(object sender, RoutedEventArgs e)
 {
     textBoxRight.Text = $"Linjer i alt: {cb.CountAllLines(textBoxLeft).ToString()}";
 }
Exemplo n.º 2
0
 //Opgave 1
 private void Opgave1_Click(object sender, RoutedEventArgs e)
 {
     textBoxRight.Clear();
     textBoxRight.Text = "Antal linjer med tekst: " + classBIZ.CountAllLines(textBoxLeft).ToString();
 }
 private void Opg21_Click(object sender, RoutedEventArgs e)
 {
     textBox2.Text = $"Teksten indeholder {classBIZ.CountAllLines(textBox1)} linjer.";
 }