예제 #1
0
 private void TB_Hasta_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyData == Keys.Escape)
     {
         TB_Hasta.Clear();
     }
 }
예제 #2
0
        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();
            }
        }
예제 #3
0
        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();
            }
        }