Exemple #1
0
 /// <summary>
 /// This should be called in an event to just ensure that only numbers are included
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public static void NumberOnlyEventCheckNoPeriod(object sender, TextCompositionEventArgs e)
 {
     e.Handled = !CommonControl.IsTextNumericNoPeriod(e.Text);
 }
 private void useEnterAsTab(object sender, System.Windows.Input.KeyEventArgs e)
 {
     CommonControl.IntepretEnterAsTab(sender, e);
 }