private void TB_Desde_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { TB_Hasta.Focus(); } }
private void TB_Desde_KeyDown(object sender, KeyEventArgs e) { //PresionarBotonBuscar(e); if (e.KeyCode == Keys.Enter) { TB_Hasta.Focus(); } }
private void TB_Desde_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { if (TB_Hasta.Text.Trim() == "") { TB_Hasta.Text = TB_Desde.Text; } TB_Hasta.Focus(); } else if (e.KeyCode == Keys.Escape) { TB_Desde.Text = ""; } }
private void TB_Desde_KeyDown(object sender, KeyEventArgs e) { if (e.KeyData == Keys.Enter) { if (TB_Desde.Text.Replace("/", "").Trim() == "") { return; } TB_Hasta.Focus(); } else if (e.KeyData == Keys.Escape) { TB_Desde.Text = ""; } }