diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-11-19 10:20:19 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-11-19 10:20:19 +0200 |
| commit | 926844ac021bf0e95aa087ec9bf0a4444b3dabc7 (patch) | |
| tree | 03cbf727699aff157d3fa77abc2f2d836469b63b /Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Guides/ReplaceThreadGuide.cs | |
| parent | 17df7aa5142e7336cdab3f5551ccd3fa66ce7c87 (diff) | |
| download | Tango-926844ac021bf0e95aa087ec9bf0a4444b3dabc7.tar.gz Tango-926844ac021bf0e95aa087ec9bf0a4444b3dabc7.zip | |
Added related animations to guides on PPC.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Guides/ReplaceThreadGuide.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Guides/ReplaceThreadGuide.cs | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Guides/ReplaceThreadGuide.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Guides/ReplaceThreadGuide.cs index 781f3351a..ecc3f6026 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Guides/ReplaceThreadGuide.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Guides/ReplaceThreadGuide.cs @@ -12,8 +12,32 @@ namespace Tango.PPC.Maintenance.Guides public class ReplaceThreadGuide : GuideBase { public override string Name => "Replacing the Thread"; - public override BitmapSource Icon => ResourceHelper.GetImageFromResources("Images/Guides/replacing-the-thread.png"); - public override BitmapSource Image => ResourceHelper.GetImageFromResources("Images/Guides/machine-image.png"); - public override List<GuideStep> Steps => GetStepsFromResource("ReplaceThread"); + public override String Image => "../Images/Guides/Replacing-the-Thread.gif"; + + private BitmapSource _icon; + public override BitmapSource Icon + { + get + { + if (_icon == null) + { + _icon = ResourceHelper.GetImageFromResources("Images/Guides/replacing-the-thread.png"); + } + return _icon; + } + } + + private List<GuideStep> _steps; + public override List<GuideStep> Steps + { + get + { + if (_steps == null) + { + _steps = GetStepsFromResource("ReplaceThread"); + } + return _steps; + } + } } } |
