private void TextBoxKeyDownPreview(object sender, KeyEventArgs e)
 {
     e.Handled = !GUIChecks.IsSpaceAllowed(e);
 }
 private void LoadIntervalTextBox_PreviewKeyDown(object sender, KeyEventArgs e)
 {
     e.Handled = !GUIChecks.IsSpaceAllowed(e);
 }