在richTextBox写字时候,光标跳到下面的TextBox像qq那样,在上面写字的时候,自动跳到下面,是怎么知道在richTextBox上写字?然后TextBox.Focus()?[解决办法]
private void richTextBox1_KeyPress(object sender, KeyPressEventArgs e) { textBox1.Focus(); e.Handled = true; }