I have a TextBox and a Button in my view.
TextBox
Button
Now I am checking a condition upon button click and if the condition turns out to be false, displ
System.Windows.Forms.Application.DoEvents(); Keyboard.Focus(tbxLastName);