private void opgave11_Click(object sender, RoutedEventArgs e) { textboxRight.Text = $"Antal linier med text i venstre textbox: {cb.CountNumberOfLines(textboxLeft).ToString()}"; }