textBox1.Text += e.Text;
private void textBox1_PreviewKeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Space && char.IsWhiteSpace(znak[rate]))
{
rate++;
}
else if (e.Key != Key.Space)
{
}
else
{
e.Handled = true;
}
}