i am new in c# .net. i am using two textbox in my form and i want to show a message box when i press tab key for move cursor from one textbox to next...
plz help me...
thnx in advance....
Show message box when cursor move to next textbox
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Richard Brennan89 reputationPosted Apr 13, 2011, 7:15 AM EDT
if(textBox2.focused) MessageBox.Show("Your message.", "title of ur message box");
VulpesRank #55 · 29.2K reputationPosted Apr 13, 2011, 7:19 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Apr 14, 2011, 11:06 AM EDT