Обробка Enter
Опускати текст вниз
private void textBox_KeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Return)
{
textBox.Text = "\n" + textBox.Text;
}
}
Опускати текст вниз
private void textBox_KeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Return)
{
textBox.Text = "\n" + textBox.Text;
}
}