Пример #1
0
 private void gg_vertexCount_PreviewTextInput(object sender, System.Windows.Input.TextCompositionEventArgs e)
 {
     e.Handled = CustomHelper.IsIntegerInput(e.Text) && Convert.ToInt32(e.Text) <= datasourceSize;
 }
Пример #2
0
 private void erg_PreviewTextInput(object sender, TextCompositionEventArgs e)
 {
     e.Handled = CustomHelper.IsIntegerInput(e.Text);
 }
Пример #3
0
 private void gg_vertexCount_PreviewTextInput(object sender, TextCompositionEventArgs e)
 {
     e.Handled = CustomHelper.IsIntegerInput(e.Text) && Convert.ToInt32(e.Text) <= ShowcaseHelper.DATASOURCE_SIZE;
 }