1-No se si estoy usando el control correcto para esto (TextBox) actualmente
No vas a poder lograr mucho con un TextBox "standard". Para esto necesitas un RichTextbox y el atributo SelectionAlignment, a traves del cual puedes especificar el tipo de alineacion horizontal que deseas hacer en una selection
Con 1 RichTextbox y 2 Textbox (imitando inputs por separado) en el Form:
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (char)Keys.Return)
{
richTextBox1.SelectionAlignment = HorizontalAlignment.Left;
richTextBox1.SelectionBackColor = Color.DarkCyan;
richTextBox1.SelectedText = textBox1.Text + Environment.NewLine;
textBox1.Clear();
e.Handled = true;
}
}
private void textBox2_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (char)Keys.Return)
{
richTextBox1.SelectionAlignment = HorizontalAlignment.Right;
richTextBox1.SelectionBackColor = Color.DarkGray;
richTextBox1.SelectedText = textBox2.Text + Environment.NewLine;
textBox2.Clear();
e.Handled = true;
}
}
Saludos