mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
Doubled Code Fix
This commit is contained in:
parent
0fa7049184
commit
96e1d950f0
1 changed files with 1 additions and 7 deletions
|
@ -82,12 +82,6 @@ namespace CalculatorApp
|
||||||
// The button will go into the visual Pressed state with this call
|
// The button will go into the visual Pressed state with this call
|
||||||
VisualStateManager::GoToState(button, "Pressed", true);
|
VisualStateManager::GoToState(button, "Pressed", true);
|
||||||
|
|
||||||
// This timer will fire after c_lightUpTime and make the button
|
|
||||||
// go back to the normal state.
|
|
||||||
// This timer will only fire once after which it will be destroyed
|
|
||||||
auto timer = ref new DispatcherTimer();
|
|
||||||
timer->Interval = c_lightUpTime;
|
|
||||||
|
|
||||||
// This timer will fire after lightUpTime and make the button
|
// This timer will fire after lightUpTime and make the button
|
||||||
// go back to the normal state.
|
// go back to the normal state.
|
||||||
// This timer will only fire once after which it will be destroyed
|
// This timer will only fire once after which it will be destroyed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue