Esempio n. 1
0
 private void EmailTextBoxKeyDown_Handler(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Tab)
     {
         PhoneTextBox.Select(PhoneTextBox.Text.Length, 0);
     }
 }
Esempio n. 2
0
 // if enter is pressed in name box, make user select phone number box
 private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == '\r')// adds to list if "enter" key is pressed
     {
         //addToList();
         PhoneTextBox.Select();
     }
 }
Esempio n. 3
0
 private void PhoneTextBox_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     PhoneTextBox.Select(PhoneTextBox.Text.Length, 0);
 }