diff options
| author | Roy <roy.mail.net@gmail.com> | 2017-12-08 00:54:27 +0200 |
|---|---|---|
| committer | Roy <roy.mail.net@gmail.com> | 2017-12-08 00:54:27 +0200 |
| commit | db4db5d05b42cbc795b3a38bba3e6c87f30d583f (patch) | |
| tree | 6eb253e1bb8d267ffdf41b2e1ff14febfd4f62a9 /Software/Visual_Studio/Tango.SharedUI/Helpers | |
| parent | b457125866deb830b379cf3873e5cda3975b077a (diff) | |
| download | Tango-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.cs | 2 |
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)); } } } |
