private void TB_Hasta_KeyDown(object sender, KeyEventArgs e) { if (e.KeyData == Keys.Escape) { TB_Hasta.Clear(); } }
private void TB_Hasta_KeyDown(object sender, KeyEventArgs e) { if (e.KeyData == Keys.Enter) { if (TB_Hasta.Text.Replace('/', ' ').Trim() == "") { return; } TB_Desde.Focus(); } else if (e.KeyData == Keys.Escape) { TB_Hasta.Clear(); } }
private void TB_Hasta_KeyDown(object sender, KeyEventArgs e) { if (e.KeyData == Keys.Enter) { if (TB_Hasta.Text.Replace('/', ' ').Trim() == "") { return; } DGV_EvalSemProve.Rows.Clear(); button1_Click(null, null); } else if (e.KeyData == Keys.Escape) { TB_Hasta.Clear(); } }