Ejemplo n.º 1
0
 private void TxtHour_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (!char.IsDigit(e.KeyChar) && !char.IsControl(e.KeyChar))
     {
         e.Handled = true;
     }
     else
     {
         TxtMinute.Focus();
     }
 }
Ejemplo n.º 2
0
 private void TxtMinute_MouseClick(object sender, MouseEventArgs e)
 {
     TxtMinute.SelectAll();
 }
Ejemplo n.º 3
0
 private void TxtMinute_Enter(object sender, EventArgs e)
 {
     TxtMinute.SelectAll();
 }