Exemple #1
0
 private void txtPhoneNo_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (txtPhoneNo.Text.Length == 11)
     {
         txtPhoneNo.Text = NoFormate.sPhoneNo(txtPhoneNo.Text);
     }
 }
Exemple #2
0
 private void txtPhone_TextChanged(object sender, TextChangedEventArgs e)
 {
     try
     {
         if (txtPhone.Text.Length == 11)
         {
             txtPhone.Text = NoFormate.sPhoneNo(txtPhone.Text);
         }
     }
     catch (Exception ex)
     {
         ExceptionLogging.SendErrorToText(ex);
     }
 }