private void B4_Click(object sender, RoutedEventArgs e) { string text = ((ListBoxItem)LB5.SelectedItem).Content.ToString(); TB8.AppendText(text + Environment.NewLine); }
private void B3_Click(object sender, RoutedEventArgs e) { TB8.AppendText(TB2.Text + Environment.NewLine); }