private void rtbMsgBox_VScroll(object sender, EventArgs e) { if (rtbUpdate || rtbMsgBox.ContainsFocus) return; rtbMsgBox.Focus(); }