aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SharedUI/Helpers
diff options
context:
space:
mode:
authorRoy <roy.mail.net@gmail.com>2017-12-08 00:54:27 +0200
committerRoy <roy.mail.net@gmail.com>2017-12-08 00:54:27 +0200
commitdb4db5d05b42cbc795b3a38bba3e6c87f30d583f (patch)
tree6eb253e1bb8d267ffdf41b2e1ff14febfd4f62a9 /Software/Visual_Studio/Tango.SharedUI/Helpers
parentb457125866deb830b379cf3873e5cda3975b077a (diff)
downloadTango-db4db5d05b42cbc795b3a38bba3e6c87f30d583f.tar.gz
Tango-db4db5d05b42cbc795b3a38bba3e6c87f30d583f.zip
Stubs scripting improvements.
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/Helpers')
-rw-r--r--Software/Visual_Studio/Tango.SharedUI/Helpers/ResourceHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.SharedUI/Helpers/ResourceHelper.cs b/Software/Visual_Studio/Tango.SharedUI/Helpers/ResourceHelper.cs
index 80fa0ac3d..80b2b51a5 100644
--- a/Software/Visual_Studio/Tango.SharedUI/Helpers/ResourceHelper.cs
+++ b/Software/Visual_Studio/Tango.SharedUI/Helpers/ResourceHelper.cs
@@ -16,7 +16,7 @@ namespace Tango.SharedUI
public static BitmapSource GetImageFromResources(String imagePath)
{
- return new BitmapImage(new Uri(String.Format("pack://application:,,,/{0};component/{1}", System.Reflection.Assembly.GetEntryAssembly(), imagePath), UriKind.Absolute));
+ return new BitmapImage(new Uri(String.Format("pack://application:,,,/{0};component/{1}", typeof(ResourceHelper).Assembly, imagePath), UriKind.Absolute));
}
}
}