在richTextBox写字时候,光标跳到下面的TextBox解决方案

在richTextBox写字时候,光标跳到下面的TextBox像qq那样,在上面写字的时候,自动跳到下面,是怎么知道在richT

在richTextBox写字时候,光标跳到下面的TextBox
像qq那样,在上面写字的时候,自动跳到下面,是怎么知道在richTextBox上写字?然后TextBox.Focus()?

[解决办法]

C# code
        private void richTextBox1_KeyPress(object sender, KeyPressEventArgs e)        {            textBox1.Focus();            e.Handled = true;        }