aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-05-13 13:58:45 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-05-13 13:58:45 +0300
commit4cc4089f36b0a9b9d754e33acb49da930f846699 (patch)
tree314c77ca012d10ff1440a112893072943e479066 /Software/Visual_Studio/Tango.Core
parent8d58d0b03648069600f8abf39dbe68b16c90559b (diff)
downloadTango-4cc4089f36b0a9b9d754e33acb49da930f846699.tar.gz
Tango-4cc4089f36b0a9b9d754e33acb49da930f846699.zip
Some fixed to TCC mobile design.
Implemented DFU reset on Machine Operator.
Diffstat (limited to 'Software/Visual_Studio/Tango.Core')
-rw-r--r--Software/Visual_Studio/Tango.Core/ExtensionMethods/FrameworkElementExtensions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Core/ExtensionMethods/FrameworkElementExtensions.cs b/Software/Visual_Studio/Tango.Core/ExtensionMethods/FrameworkElementExtensions.cs
index 6e9c11b03..7539deba2 100644
--- a/Software/Visual_Studio/Tango.Core/ExtensionMethods/FrameworkElementExtensions.cs
+++ b/Software/Visual_Studio/Tango.Core/ExtensionMethods/FrameworkElementExtensions.cs
@@ -454,7 +454,7 @@ public static class FrameworkElementExtensions
{
bool isLoaded = false;
- element.Loaded += (sender, e) =>
+ element.AddHandler(FrameworkElement.LoadedEvent, new RoutedEventHandler((x, y) =>
{
if (!isLoaded)
{
@@ -462,7 +462,7 @@ public static class FrameworkElementExtensions
handler(element, new EventArgs());
}
- };
+ }));
}
}