aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Guides/LoadNewThreadGuide.cs
blob: d5115a748dc2c23c1c57d63df3f5b8a1f49262e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;
using Tango.SharedUI.Helpers;

namespace Tango.PPC.Maintenance.Guides
{
    public class LoadNewThreadGuide : GuideBase
    {
        public override string Name => "Loading New Thread";
        public override String Image => "../Images/Guides/Loading-New-Thread.gif";

        private BitmapSource _icon;
        public override BitmapSource Icon
        {
            get
            {
                if (_icon == null)
                {
                    _icon = ResourceHelper.GetImageFromResources("Images/Guides/loading-new-thread.png");
                }
                return _icon;
            }
        }

        private List<GuideStep> _steps;
        public override List<GuideStep> Steps
        {
            get
            {
                if (_steps == null)
                {
                    _steps = GetStepsFromResource("LoadNewThread");
                }
                return _steps;
            }
        }
    }
}