private void Arrival_BOX_PreviewTextInput(object sender, System.Windows.Input.TextCompositionEventArgs e) { if (Arrival_BOX.Text.Length < 30) { AL.InputWordsProtector(e); } else { e.Handled = true; } }
private void RoutName_BOX_PreviewTextInput(object sender, TextCompositionEventArgs e) { if (RoutName_BOX.Text.Length < 30) { AL.InputWordsProtector(e); } else { e.Handled = true; } }
private void StopName_PreviewTextInput(object sender, TextCompositionEventArgs e) { AL.InputWordsProtector(e); }