aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/ViewModelLocator.cs
blob: a7d08eb45b0e57d157e787e0f6acf7d681dfabd0 (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
using Tango.Core.DI;
using Tango.MachineStudio.Technician.ViewModels;

namespace Tango.MachineStudio.Technician
{
    /// <summary>
    /// This class contains static references to all the view models in the
    /// application and provides an entry point for the bindings.
    /// </summary>
    public static class ViewModelLocator
    {
        /// <summary>
        /// Initializes a new instance of the ViewModelLocator class.
        /// </summary>
        static ViewModelLocator()
        {
            TangoIOC.Default.Register<MachineTechViewVM>();
        }

        public static MachineTechViewVM MachineTechViewVM
        {
            get
            {
                return TangoIOC.Default.GetInstance<MachineTechViewVM>();
            }
        }
    }
}
pan> } .header { /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#00ceff+0,00a9d8+100 */ background: #00ceff; /* Old browsers */ background: -moz-linear-gradient(top, #00ceff 0%, #00a9d8 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(top, #00ceff 0%,#00a9d8 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to bottom, #24C8EF 0%,#00a9d8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ceff', endColorstr='#00a9d8',GradientType=0 ); /* IE6-9 */ padding: 20px; box-shadow: White 0px 0px 10px; position: relative; height: 120px; } #imgLogo { height: 120px; } #txtLogo { font-family: 'Audiowide'; position: absolute; top: 45%; margin-left: 180px; font-size: 32pt; color: black; } a { color: white; text-decoration: none; /* no underline */ } #linkLogout { color: black; font-weight: bold; font-family: 'Audiowide'; }