Project/02 - Engine/LittleBigTools/UserControls/NumericUpDownTextBox.xaml.cs
/// <summary>
/// Checks if any of the Keyboard modifier keys are pressed that might 
/// affect the change in the value of the TextBox.
/// In this case only the shift key affects the value
/// </summary>
/// <param name="value">Integer value to modify</param>
Checks if any of the Keyboard modifier keys are pressed that might
affect the change in the value of the TextBox.
In this case only the shift key affects the value
Checks if any of the Keyboard modifier keys are pressed that might affect the change in the value of the TextBox . In this case only the shift key affects the value
private void HandleModifiers(int value)
        {
            if (Keyboard.Modifiers == ModifierKeys.Shift) value *= 10;
            Add(value);
        }
private void HandleModifiers ( int value ) { if ( Keyboard . Modifiers == ModifierKeys . Shift ) value *= 10 ; Add ( value ) ; }
Checks if any of the Keyboard modifier keys are pressed that might
affect the change in the value of the TextBox.
Checks if any of the Keyboard modifier keys are pressed that might affect the change in the value of the TextBox .
value
int
Integer value to modify
Integer value to modify