highlight text in 2 textboxes at the same time

Posted by user1907736 on Stack Overflow See other posts from Stack Overflow or by user1907736
Published on 2012-12-16T16:46:52Z Indexed on 2012/12/17 17:03 UTC
Read the original article Hit count: 183

Filed under:
|
|
|

I am trying to create a packet analyzer for an online game using C# and I am new to c#.

I have 2 RichTextBoxes, 1 shows the packet in bytes and the other one shows the packet in ANSI.

Here is what I want to achieve:

  1. When I select(highlight) data in the byte text box, I want the corresponding data in the ANSI text box to also be highlighted. (and vice-versa)

  2. When I change data in the 1 of the textboxes, I want the corresponding data in the other textbox to also be changed.

How do I do these?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms