Example #1
0
 public static void ShowSmallerMinErrorDefault(DecimalTextBox decimalTextBox)
 {
     MessageBox.Show($"{decimalTextBox.Text} must be >= {decimalTextBox.Min} (Min).", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
 }
Example #2
0
 public static void ShowBiggerMaxErrorDefault(DecimalTextBox decimalTextBox)
 {
     MessageBox.Show($"{decimalTextBox.Text} must be <= {decimalTextBox.Max} (Max).", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
 }
Example #3
0
 public static void ShowNotValidErrorDefault(DecimalTextBox decimalTextBox)
 {
     MessageBox.Show($"{decimalTextBox.Text} is not a valid decimal.", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
 }