I have 2 textBoxes. First is visible the second is not. When keyDown event fires on first textBox I want to fire the same event on 2nd textBox, so it would react same as if user was typing in 2nd textBox.
How can I do that?
EDIT: I know you can do this in Windows.Forums and I was hoping that it can be done here too.
My goal is to have 2 textBoxes with different texts in it, but when user types something in 1st textBox same text should appear in 2nd textBox.
Example: Text in first textBox:
<home>
<number>75</number>
<client>John</client>
</home>
Text in second textBox
<home>
<number id="123">75</number>
<client id="345">John</client>
</home>
Now user types some new text in first textBox like:
<home>
<number>150</number>
<client>John</client>
</home>
And now this new text should appear in 2nd textBox like:
<home>
<number id="123">150</number>
<client id="345">John</client>
</home>
And this is only an example for changing values. User can also add new elements, delete them, change order and so on.
I have tried with mapping KeyEventArgs but I loose control for non-standard keys like: "šđžćč<>"