shailendra verma

shailendra verma

  • 1.3k
  • 399
  • 3.4k

Move from one textbox to another on pressing Enter Button

Jan 26 2019 8:25 AM
private void txtProductName_KeyDown(object sender, KeyEventArgs e)
{
if(e.KeyValue ==(char)Keys.Enter)
{
Cbounit.Focus();
}
 
I tried the same code but my text is getting clear on pressing enter button for moving next textbox 

Answers (2)