private void TextBoxCount_PreviewTextInput(object sender, TextCompositionEventArgs e)
 {
     e.Handled = !TextBoxValidator.IsIntTextAllowed(e.Text);
 }