private void TXTCLIENTE_KeyPress(object sender, KeyPressEventArgs e) { if ((int)e.KeyChar == (int)Keys.Enter) { TXTNOTA.Focus(); } }
void REGISTRAR_LLAMADAS(String CLI, String OBS, String VTA, String USU) { String MSJE = LL.REGISTRAR_LLAMADA(Convert.ToDateTime(DateTime.Now.ToShortDateString()), CLI, OBS, VTA, USU); MessageBox.Show(this, MSJE, VariablesGlobales.Titulo, MessageBoxButtons.OK, MessageBoxIcon.Information); TXTCLIENTE.Clear(); TXTNOTA.Clear(); }