mirror of
https://gitee.com/handyorg/HandyControl.git
synced 2024-11-29 18:38:30 +08:00
Fix NumericUpDown text not updating when arrow keys are used
This commit is contained in:
parent
c7f4712b83
commit
ab9c58c1d6
@ -106,10 +106,12 @@ public class NumericUpDown : Control
|
||||
if (e.Key == Key.Up)
|
||||
{
|
||||
Value += Increment;
|
||||
SetText(true);
|
||||
}
|
||||
else if (e.Key == Key.Down)
|
||||
{
|
||||
Value -= Increment;
|
||||
SetText(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user