my keypress event stop working when i switch betwen two tab or forms in my application, it sems like the form lose focus or something, and i have tried to set focus back to the from, panel, control and so on...but nothing helps...
It is a textfields in a flowlayoutpanel on the form for searching text, amount and so on.....
What shoud i do to so it fire up the keypress event again or how can i get my focus back on that form..?
below i have pasted my keypress event code.....
private void searchTextDecimalFieldAmount_KeyPress(object sender, KeyPressEventArgs e)
if (e.KeyChar == '\r')