Replacing character is character is different
Replacing character if character is different
Hi guys, im new here..
I am doing a wireless transmission with C#.
i am now using a textbox, with a max length of 1.
example upon running the program, i press A. And when I press B, it produces a sound "ding", which i believe that it tells me that the length is full, i have to backspace it and retype the B.
How can I type this program so that like first I type A, it shows A in the textbox.
and if the next moment i type something different, it shows the new character, replacing the new one. but if its the same, the old character remains..
Thanks in advance..