I have a Textbox control which sometimes updated programmatically and also can be update by the user. How can I distinct between those two event? I\'d like to have a "D
You can use the Key Down event of the text box.
private void textBox1_KeyDown(object sender, KeyEventArgs e) { // Insert the code you want to run when the text changes here! }