Sergiu 3 лет назад
Родитель
Сommit
597e5e133f
100 измененных файлов с 13333 добавлено и 0 удалено
  1. 38 0
      .gitignore
  2. 6 0
      Assets/Localization/App.config
  3. 9 0
      Assets/Localization/App.xaml
  4. 11 0
      Assets/Localization/App.xaml.cs
  5. BIN
      Assets/Localization/FontopoNIHONGO.otf
  6. BIN
      Assets/Localization/HuaWenHeiTi.ttf
  7. 54 0
      Assets/Localization/Language-ch.xaml
  8. 55 0
      Assets/Localization/Language-en.xaml
  9. 31 0
      Assets/Localization/LevelToColorConverter.cs
  10. 228 0
      Assets/Localization/Localization-blend.csproj
  11. 4084 0
      Assets/Localization/MainWindow.xaml
  12. 55 0
      Assets/Localization/MainWindow.xaml.cs
  13. 4104 0
      Assets/Localization/MainWindow_Kalea.xaml
  14. 55 0
      Assets/Localization/MainWindow_Kalea.xaml.cs
  15. 22 0
      Assets/Localization/NotifyPropertyChangedBase.cs
  16. BIN
      Assets/Localization/Oxygen-Regular.ttf
  17. 55 0
      Assets/Localization/Properties/AssemblyInfo.cs
  18. 63 0
      Assets/Localization/Properties/Resources.Designer.cs
  19. 120 0
      Assets/Localization/Properties/Resources.resx
  20. 30 0
      Assets/Localization/Properties/Settings.Designer.cs
  21. 7 0
      Assets/Localization/Properties/Settings.settings
  22. 1674 0
      Assets/Localization/Resources.xaml
  23. 1786 0
      Assets/Localization/Resources_Kalea.xaml
  24. 736 0
      Assets/Localization/SwitchMaterials_v01.json
  25. 104 0
      Assets/Localization/ViewModel.cs
  26. BIN
      Assets/Localization/WeiRuanYaHei-1.ttf
  27. BIN
      Assets/Localization/bin/Debug/Localization.exe
  28. 6 0
      Assets/Localization/bin/Debug/Localization.exe.config
  29. BIN
      Assets/Localization/bin/Debug/Localization.pdb
  30. BIN
      Assets/Localization/bin/Debug/Microsoft.Expression.Interactions.dll
  31. BIN
      Assets/Localization/bin/Debug/Noesis.GUI.Extensions.dll
  32. BIN
      Assets/Localization/bin/Debug/System.Windows.Interactivity.dll
  33. BIN
      Assets/Localization/bin/Debug/en/Microsoft.Expression.Interactions.resources.dll
  34. BIN
      Assets/Localization/bin/Debug/en/System.Windows.Interactivity.resources.dll
  35. BIN
      Assets/Localization/bin/Debug/es/Microsoft.Expression.Interactions.resources.dll
  36. BIN
      Assets/Localization/bin/Debug/es/System.Windows.Interactivity.resources.dll
  37. BIN
      Assets/Localization/bin/Debug/fr/Microsoft.Expression.Interactions.resources.dll
  38. BIN
      Assets/Localization/bin/Debug/fr/System.Windows.Interactivity.resources.dll
  39. BIN
      Assets/Localization/bin/Debug/it/Microsoft.Expression.Interactions.resources.dll
  40. BIN
      Assets/Localization/bin/Debug/it/System.Windows.Interactivity.resources.dll
  41. BIN
      Assets/Localization/bin/Debug/ja/Microsoft.Expression.Interactions.resources.dll
  42. BIN
      Assets/Localization/bin/Debug/ja/System.Windows.Interactivity.resources.dll
  43. BIN
      Assets/Localization/bin/Debug/ko/Microsoft.Expression.Interactions.resources.dll
  44. BIN
      Assets/Localization/bin/Debug/ko/System.Windows.Interactivity.resources.dll
  45. BIN
      Assets/Localization/bin/Debug/ru/Microsoft.Expression.Interactions.resources.dll
  46. BIN
      Assets/Localization/bin/Debug/ru/System.Windows.Interactivity.resources.dll
  47. BIN
      Assets/Localization/bin/Debug/zh-Hans/Microsoft.Expression.Interactions.resources.dll
  48. BIN
      Assets/Localization/bin/Debug/zh-Hans/System.Windows.Interactivity.resources.dll
  49. BIN
      Assets/Localization/bin/Debug/zh-Hant/Microsoft.Expression.Interactions.resources.dll
  50. BIN
      Assets/Localization/bin/Debug/zh-Hant/System.Windows.Interactivity.resources.dll
  51. BIN
      Assets/Localization/font/HuaWenHeiTi-1.ttf
  52. BIN
      Assets/Localization/font/password.ttf
  53. BIN
      Assets/Localization/image/bg/Combined Shape.png
  54. BIN
      Assets/Localization/image/bg/Rectangle Copy 6.png
  55. BIN
      Assets/Localization/image/bg/Rectangle Copy 9.png
  56. BIN
      Assets/Localization/image/bg/build.png
  57. BIN
      Assets/Localization/image/bg/cabin_walls.png
  58. BIN
      Assets/Localization/image/bg/door_1F.png
  59. BIN
      Assets/Localization/image/bg/door_2F.png
  60. BIN
      Assets/Localization/image/bg/lift_build_icon.png
  61. BIN
      Assets/Localization/image/bg/login_bg.png
  62. BIN
      Assets/Localization/image/bg/login_bg2.png
  63. BIN
      Assets/Localization/image/bg/shaft_doors.png
  64. BIN
      Assets/Localization/image/bg/shaft_doors.psd
  65. BIN
      Assets/Localization/image/bg/shaft_doors_a_close.png
  66. BIN
      Assets/Localization/image/bg/shaft_doors_a_left.png
  67. BIN
      Assets/Localization/image/bg/shaft_doors_a_right.png
  68. BIN
      Assets/Localization/image/bg/shaft_doors_a_saloon.png
  69. BIN
      Assets/Localization/image/bg/shaft_doors_b_close.png
  70. BIN
      Assets/Localization/image/bg/shaft_doors_b_left.png
  71. BIN
      Assets/Localization/image/bg/shaft_doors_b_right.png
  72. BIN
      Assets/Localization/image/bg/shaft_doors_b_saloon.png
  73. BIN
      Assets/Localization/image/bg/shaft_doors_bg.png
  74. BIN
      Assets/Localization/image/bg/shaft_doors_c_close.png
  75. BIN
      Assets/Localization/image/bg/shaft_doors_c_left.png
  76. BIN
      Assets/Localization/image/bg/shaft_doors_c_right.png
  77. BIN
      Assets/Localization/image/bg/shaft_doors_c_saloon.png
  78. BIN
      Assets/Localization/image/btn/Black_Leather.png
  79. BIN
      Assets/Localization/image/btn/Brown_Leather.png
  80. BIN
      Assets/Localization/image/btn/acrylic_patterns_1.png
  81. BIN
      Assets/Localization/image/btn/acrylic_patterns_2.png
  82. BIN
      Assets/Localization/image/btn/acrylic_patterns_3.png
  83. BIN
      Assets/Localization/image/btn/build.png
  84. BIN
      Assets/Localization/image/btn/cabin_walls.png
  85. BIN
      Assets/Localization/image/btn/color.png
  86. BIN
      Assets/Localization/image/btn/enclosure_build.png
  87. BIN
      Assets/Localization/image/btn/full-screen.png
  88. BIN
      Assets/Localization/image/btn/mat_black_glass.png
  89. BIN
      Assets/Localization/image/btn/mat_clear_glass.png
  90. BIN
      Assets/Localization/image/btn/mat_grey_glass.png
  91. BIN
      Assets/Localization/image/btn/mat_placeholder.png
  92. BIN
      Assets/Localization/image/btn/mat_white_galss.png
  93. BIN
      Assets/Localization/image/btn/menu_build_off.png
  94. BIN
      Assets/Localization/image/btn/menu_build_on.png
  95. BIN
      Assets/Localization/image/btn/menu_color_off.png
  96. BIN
      Assets/Localization/image/btn/menu_color_on.png
  97. BIN
      Assets/Localization/image/btn/menu_door_off.png
  98. BIN
      Assets/Localization/image/btn/menu_door_on.png
  99. BIN
      Assets/Localization/image/btn/outline_format_paint_black_36dp.png
  100. BIN
      Assets/Localization/image/btn/outline_fullscreen_white_24dp.png

+ 38 - 0
.gitignore

@@ -0,0 +1,38 @@
+.DS_Store
+/.vs
+.vs/
+node_modules
+/dist
+/DerivedDataCache
+/Intermediate
+/Saved
+/Plugins
+/Binaries
+/Build
+/Script
+/DerivedDataCache
+/Releases
+
+# local env files
+.env.local
+.env.*.local
+
+# Log files
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+
+# Editor directories and files
+.idea
+.vscode
+*.db
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
+Config/DefaultEngine.ini
+*.db
+*.VC.db
+Config/DefaultEngine.ini

+ 6 - 0
Assets/Localization/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
+    </startup>
+</configuration>

+ 9 - 0
Assets/Localization/App.xaml

@@ -0,0 +1,9 @@
+<Application x:Class="Localization.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:Localization"
+             StartupUri="MainWindow.xaml">
+    <Application.Resources>
+        <ResourceDictionary Source="Resources.xaml"/>
+    </Application.Resources>
+</Application>

+ 11 - 0
Assets/Localization/App.xaml.cs

@@ -0,0 +1,11 @@
+using System.Windows;
+
+namespace Localization
+{
+    /// <summary>
+    /// Interaction logic for App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

BIN
Assets/Localization/FontopoNIHONGO.otf


BIN
Assets/Localization/HuaWenHeiTi.ttf


+ 54 - 0
Assets/Localization/Language-ch.xaml

@@ -0,0 +1,54 @@
+<ResourceDictionary
+  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
+  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+  xmlns:sys="clr-namespace:System;assembly=mscorlib">
+
+
+    <sys:String x:Key="SettingsLabel">设置</sys:String>
+    <sys:String x:Key="ShaftLabel">井道</sys:String>
+    <sys:String x:Key="EnclosureLabel">电梯内部</sys:String>
+    <sys:String x:Key="SerieLabel">系列</sys:String>
+    <sys:String x:Key="EleganceLabel">雅致</sys:String>
+    <sys:String x:Key="AuroraLabel">时尚</sys:String>
+    <sys:String x:Key="GalaxyLabel">星际</sys:String>
+    <sys:String x:Key="StandardLabel">风尚版</sys:String>
+    <sys:String x:Key="PremiumLabel">精致版</sys:String>
+    <sys:String x:Key="LimitedLabel">臻选版</sys:String>
+    <sys:String x:Key="StopCountLabel">层站</sys:String>
+    <sys:String x:Key="TravelHeightLabel">每层高度</sys:String>
+    <sys:String x:Key="LiftHeightLabel">电梯总高度</sys:String>
+    <sys:String x:Key="ShaftSizeLabel">完成尺寸</sys:String>
+    <sys:String x:Key="CutOutBDLabel">预留尺寸(B/D)</sys:String>
+    <sys:String x:Key="CutOutACLabel">预留尺寸(A/C)</sys:String>
+    <sys:String x:Key="CarSizeBDLabel">轿厢尺寸(B/D)</sys:String>
+    <sys:String x:Key="CarSizeACLabel">轿厢尺寸(A/C)</sys:String>
+    <sys:String x:Key="StaringFloorLabel">开始层站</sys:String>
+    <sys:String x:Key="FloorAnnotationLabel">FLOOR ANNOTATION</sys:String>
+    <sys:String x:Key="BasementLabel">-2地下室</sys:String>
+    <sys:String x:Key="CustomizeLabel">定制名称</sys:String>
+    <sys:String x:Key="ExportVideoLabel">视频导出</sys:String>
+    <sys:String x:Key="PreviewLabel">预览</sys:String>
+    <sys:String x:Key="BuildLabel">结构</sys:String>
+    <sys:String x:Key="DoorsLabel">梯门</sys:String>
+    <sys:String x:Key="DoorTypeLabel">门型</sys:String>
+    <sys:String x:Key="SwingLabel">平开门</sys:String>
+    <sys:String x:Key="SaloonLabel">双开门</sys:String>
+    <sys:String x:Key="HalfGateLabel">半高门</sys:String>
+    <sys:String x:Key="DoorHingeLabel">开门</sys:String>
+    <sys:String x:Key="LeftLabel">左开门</sys:String>
+    <sys:String x:Key="RightLabel">右开门</sys:String>
+    <sys:String x:Key="DoorHeightLabel">门高度</sys:String>
+    <sys:String x:Key="DoorWidthLabel">门宽度</sys:String>
+    <sys:String x:Key="ColorsLabel">颜色</sys:String>
+    <sys:String x:Key="StandardColorLabel">标配色</sys:String>
+    <sys:String x:Key="CustomRALLabel"> </sys:String>
+    <sys:String x:Key="CabinWallsLabel">轿厢壁</sys:String>
+    <sys:String x:Key="CabinDoorLabel">轿门</sys:String>
+    <sys:String x:Key="LightCurtainLabel">安全光幕</sys:String>
+    <sys:String x:Key="BiFoldingLabel">折叠门</sys:String>
+    <sys:String x:Key="SevicePannelLabel">服务面板</sys:String>
+    <sys:String x:Key="CarpetLabel">地板</sys:String>
+    <sys:String x:Key="AmbientLabel">环境灯</sys:String>
+    <sys:String x:Key="CustomAmbientLabel">自定义颜色</sys:String>
+    <sys:String x:Key="DoorHandleLabel">门把手</sys:String>
+</ResourceDictionary>

+ 55 - 0
Assets/Localization/Language-en.xaml

@@ -0,0 +1,55 @@
+<ResourceDictionary
+  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
+  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+  xmlns:sys="clr-namespace:System;assembly=mscorlib">
+
+
+    <sys:String x:Key="SettingsLabel">SETTINGS</sys:String>
+    <sys:String x:Key="ShaftLabel">SHAFT</sys:String>
+    <sys:String x:Key="EnclosureLabel">ENCLOSURE</sys:String>
+    <sys:String x:Key="SerieLabel">SERIES</sys:String>
+    <sys:String x:Key="EleganceLabel">Elegance</sys:String>
+    <sys:String x:Key="AuroraLabel">Aurora</sys:String>
+    <sys:String x:Key="GalaxyLabel">Galaxy</sys:String>
+    <sys:String x:Key="StandardLabel">Standard</sys:String>
+    <sys:String x:Key="PremiumLabel">Premium</sys:String>
+    <sys:String x:Key="LimitedLabel">Limited</sys:String>
+    <sys:String x:Key="StopCountLabel">STOP COUNT</sys:String>
+    <sys:String x:Key="TravelHeightLabel">FLOOR HEIGHT</sys:String>
+    <sys:String x:Key="LiftHeightLabel">LIFT HEIGHT</sys:String>
+    <sys:String x:Key="ShaftSizeLabel">FINAL SIZE</sys:String>
+    <sys:String x:Key="CutOutBDLabel">Cut Out Size B/D</sys:String>
+    <sys:String x:Key="CutOutACLabel">Cut Out Size A/C</sys:String>
+    <sys:String x:Key="CarSizeBDLabel">Car Size B/D</sys:String>
+    <sys:String x:Key="CarSizeACLabel">Car Size A/C</sys:String>
+    <sys:String x:Key="StaringFloorLabel">STARTING FLOOR</sys:String>
+    <sys:String x:Key="FloorAnnotationLabel">FLOOR ANNOTATION</sys:String>
+    <sys:String x:Key="BasementLabel">-2 (basement)</sys:String>
+    <sys:String x:Key="CustomizeLabel">Customize Name</sys:String>
+    <sys:String x:Key="ExportVideoLabel">Export Video</sys:String>
+    <sys:String x:Key="PreviewLabel">Preview</sys:String>
+    <sys:String x:Key="BuildLabel">BUILD</sys:String>
+    <sys:String x:Key="DoorsLabel">DOORS</sys:String>
+    <sys:String x:Key="DoorTypeLabel">DOOR TYPE</sys:String>
+    <sys:String x:Key="SwingLabel">Swing</sys:String>
+    <sys:String x:Key="SaloonLabel">Saloon</sys:String>
+    <sys:String x:Key="HalfGateLabel">Half gate</sys:String>
+    <sys:String x:Key="DoorHingeLabel">DOOR HINGE</sys:String>
+    <sys:String x:Key="LeftLabel">Left</sys:String>
+    <sys:String x:Key="RightLabel">Right</sys:String>
+    <sys:String x:Key="DoorHeightLabel">DOOR HEIGHT</sys:String>
+    <sys:String x:Key="DoorWidthLabel">DOOR WIDTH</sys:String>
+    <sys:String x:Key="ColorsLabel">COLORS</sys:String>
+    <sys:String x:Key="StandardColorLabel">STANDARD COLORS</sys:String>
+    <sys:String x:Key="CustomRALLabel"></sys:String>
+    <sys:String x:Key="CabinWallsLabel">CABIN WALLS</sys:String>
+    <sys:String x:Key="CabinDoorLabel">CABIN DOORS</sys:String>
+    <sys:String x:Key="LightCurtainLabel">Light Curtain</sys:String>
+    <sys:String x:Key="BiFoldingLabel">Bi-folding Door</sys:String>
+    <sys:String x:Key="SevicePannelLabel">SERVICE PANEL</sys:String>
+    <sys:String x:Key="CarpetLabel">CARPET PANEL</sys:String>
+    <sys:String x:Key="AmbientLabel">AMBIENT LIGHT</sys:String>
+    <sys:String x:Key="CustomAmbientLabel">Custom Color</sys:String>
+    <sys:String x:Key="DoorHandleLabel">Door Handle</sys:String>
+
+</ResourceDictionary>

+ 31 - 0
Assets/Localization/LevelToColorConverter.cs

@@ -0,0 +1,31 @@
+#if UNITY_5_3_OR_NEWER
+#define NOESIS
+using Noesis;
+using System;
+using System.Globalization;
+#else
+using System;
+using System.Globalization;
+using System.Windows.Data;
+using System.Windows.Media;
+#endif
+
+namespace Localization
+{
+    class LevelToColorConverter : IValueConverter
+    {
+        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
+        {
+            float level = (float)value;
+            float perc = level / 100.0f;
+            byte red = (byte)(255 * Math.Min(1.0f, 0.4f + 1.0f - perc));
+            byte green = (byte)(255 * Math.Min(1.0f, 0.4f + perc));
+            return Color.FromRgb(red, green, 0);
+        }
+
+        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
+        {
+            throw new NotImplementedException();
+        }
+    }
+}

+ 228 - 0
Assets/Localization/Localization-blend.csproj

@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{5E1D351F-0D23-4669-87F2-9D1A4A0F1A61}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>Localization</RootNamespace>
+    <AssemblyName>Localization</AssemblyName>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Microsoft.Expression.Interactions, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+      <HintPath>$(SolutionDir)packages\Expression.Blend.Sdk.WPF.1.0.1\lib\net45\Microsoft.Expression.Interactions.dll</HintPath>
+      <Private>True</Private>
+    </Reference>
+    <Reference Include="Noesis.GUI.Extensions, Version=3.0.6.10205, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>packages\Noesis.GUI.Extensions.3.0.6\lib\net45\Noesis.GUI.Extensions.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+      <HintPath>$(SolutionDir)packages\Expression.Blend.Sdk.WPF.1.0.1\lib\net45\System.Windows.Interactivity.dll</HintPath>
+      <Private>True</Private>
+    </Reference>
+    <Reference Include="System.Xml" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xaml">
+      <RequiredTargetFramework>4.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="WindowsBase" />
+    <Reference Include="PresentationCore" />
+    <Reference Include="PresentationFramework" />
+  </ItemGroup>
+  <ItemGroup>
+    <ApplicationDefinition Include="App.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </ApplicationDefinition>
+    <Page Include="Language-ch.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="Language-en.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="MainWindow.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Compile Include="App.xaml.cs">
+      <DependentUpon>App.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="MainWindow.xaml.cs">
+      <DependentUpon>MainWindow.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="LevelToColorConverter.cs" />
+    <Compile Include="MainWindow_Kalea.xaml.cs">
+      <DependentUpon>MainWindow_Kalea.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="NotifyPropertyChangedBase.cs" />
+    <Compile Include="ViewModel.cs" />
+    <Page Include="MainWindow_Kalea.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="Resources.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="Resources_Kalea.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
+    <Resource Include="WeiRuanYaHei-1.ttf" />
+    <Resource Include="FontopoNIHONGO.otf" />
+    <Resource Include="Oxygen-Regular.ttf" />
+    <Resource Include="HuaWenHeiTi.ttf" />
+    <None Include="packages.config" />
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+    <AppDesigner Include="Properties\" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\logo.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\btn\acrylic_patterns_1.png" />
+    <Resource Include="image\btn\acrylic_patterns_2.png" />
+    <Resource Include="image\btn\acrylic_patterns_3.png" />
+    <Resource Include="image\btn\Black_Leather.png" />
+    <Resource Include="image\btn\Brown_Leather.png" />
+    <Resource Include="image\btn\build.png" />
+    <Resource Include="image\btn\cabin_walls.png" />
+    <Resource Include="image\btn\color.png" />
+    <Resource Include="image\btn\enclosure_build.png" />
+    <Resource Include="image\btn\mat_black_glass.png" />
+    <Resource Include="image\btn\mat_clear_glass.png" />
+    <Resource Include="image\btn\mat_grey_glass.png" />
+    <Resource Include="image\btn\mat_placeholder.png" />
+    <Resource Include="image\btn\mat_white_galss.png" />
+    <Resource Include="image\btn\shape.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\bg\cabin_walls.png" />
+    <Resource Include="image\bg\door_1F.png" />
+    <Resource Include="image\bg\door_2F.png" />
+    <Resource Include="image\bg\lift_build_icon.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\bg\login_bg.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\bg\shaft_doors.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\bg\shaft_doors_bg.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\bg\shaft_doors_a_close.png" />
+    <Resource Include="image\bg\shaft_doors_a_left.png" />
+    <Resource Include="image\bg\shaft_doors_a_right.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\bg\shaft_doors_b_close.png" />
+    <Resource Include="image\bg\shaft_doors_b_left.png" />
+    <Resource Include="image\bg\shaft_doors_b_right.png" />
+    <Resource Include="image\bg\shaft_doors_c_close.png" />
+    <Resource Include="image\bg\shaft_doors_c_left.png" />
+    <Resource Include="image\bg\shaft_doors_c_right.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\bg\shaft_doors_a_saloon.png" />
+    <Resource Include="image\bg\shaft_doors_b_saloon.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\bg\shaft_doors_c_saloon.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\btn\menu_build_on.png" />
+    <Resource Include="image\btn\menu_color_on.png" />
+    <Resource Include="image\btn\menu_door_on.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\btn\menu_build_off.png" />
+    <Resource Include="image\btn\menu_color_off.png" />
+    <Resource Include="image\btn\menu_door_off.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\btn\outline_visibility_black_24dp.png" />
+    <Resource Include="image\btn\outline_visibility_off_black_24dp.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\bg\login_bg2.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\btn\full-screen.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\btn\outline_fullscreen_white_24dp.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="image\btn\outline_format_paint_black_36dp.png" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>

+ 4084 - 0
Assets/Localization/MainWindow.xaml

@@ -0,0 +1,4084 @@
+<UserControl
+    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
+    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
+    xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions"
+    xmlns:local="clr-namespace:Localization"
+    x:Class="Localization.MainWindow"
+    FontFamily="./#Microsoft YaHei,./#Oxygen, ./#FontopoNIHONGO"
+    Foreground="White"
+    d:DesignWidth="2049 " d:DesignHeight="1563"
+    d:DataContext="{d:DesignInstance {x:Type local:ViewModel}, IsDesignTimeCreatable=True}">
+
+    <UserControl.Resources>
+        <ResourceDictionary>
+            <ResourceDictionary.MergedDictionaries>
+                <ResourceDictionary Source="Resources.xaml"/>
+            </ResourceDictionary.MergedDictionaries>
+
+
+        </ResourceDictionary>
+        <!--<ControlTemplate x:Key="Template.TextBox" TargetType="TextBox">
+            <Grid Background="{TemplateBinding Background}">
+                <Border x:Name="Placeholder" Padding="{TemplateBinding Padding}" Margin="2,0" Visibility="Collapsed">
+                    <TextBlock Text="{Binding (noesis:Text.Placeholder), RelativeSource={RelativeSource TemplatedParent}}"/>
+                </Border>
+                <ScrollViewer x:Name="PART_ContentHost" Focusable="False" Padding="{TemplateBinding Padding}" Foreground="{TemplateBinding Foreground}"/>
+            </Grid>
+            <ControlTemplate.Triggers>
+                <Trigger Property="Text" Value="">
+                    <Setter Property="Visibility" Value="Visible" TargetName="Placeholder"/>
+                </Trigger>
+            </ControlTemplate.Triggers>
+        </ControlTemplate>-->
+        
+    </UserControl.Resources>
+    <UserControl.Triggers>
+        <EventTrigger RoutedEvent="FrameworkElement.Loaded">
+            <BeginStoryboard/>
+        </EventTrigger>
+    </UserControl.Triggers>
+
+    <Grid x:Name="LayoutRoot">
+        <Grid.RowDefinitions>
+            <RowDefinition Height="1*"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="119*"/>
+            <ColumnDefinition Width="400*"/>
+            <ColumnDefinition Width="455*"/>
+        </Grid.ColumnDefinitions>
+        <Image Grid.ColumnSpan="3" Source="image/bg/login_bg2.png" Visibility="{Binding Login_Vis}" Margin="-200,-500,-500,-500" />
+
+        <Viewbox Grid.Column="0" Grid.Row="0" >
+            <Grid Height="780" Width="128">
+                <Grid.RowDefinitions>
+                    <RowDefinition Height="1*"/>
+                    <RowDefinition Height="2*"/>
+                    <RowDefinition Height="1*"/>
+                    <RowDefinition Height="2*"/>
+                </Grid.RowDefinitions>
+                <Border Grid.Row="0" Background="Black" Height="32" Width="76" Margin="0,20,0,0" VerticalAlignment="Top" CornerRadius="6,6,6,6"  Visibility="{Binding Config_Vis}"/>
+
+
+
+                <ComboBox x:Name="LanguageSelector" Grid.Row="0"
+                  SelectedValuePath="Content" Foreground="White" Background="Black" BorderBrush="{x:Null}" SelectedValue="EN" Height="32" Width="76" FontSize="16" HorizontalAlignment="Center" Margin="0,20,0,0" VerticalAlignment="Top" Visibility="{Binding Config_Vis}">
+                    <ComboBoxItem Content="EN" Background="Black" FontSize="16"/>
+                    <ComboBoxItem Content="CH" Background="Black" FontSize="16"/>
+                    <i:Interaction.Triggers>
+                        <i:EventTrigger EventName="SelectionChanged">
+                            <i:InvokeCommandAction Command="{Binding change_selected_language }" CommandParameter="{Binding SelectedValue, ElementName=LanguageSelector}"/>
+                        </i:EventTrigger>
+                    </i:Interaction.Triggers>
+                </ComboBox>
+                <Grid  Grid.Row="3" Margin="32,0,0,20">
+                    <Grid.RowDefinitions>
+                        <RowDefinition/>
+                        <RowDefinition/>
+                        <RowDefinition/>
+                    </Grid.RowDefinitions>
+                    <Button Grid.Row="0" x:Name="full_screen" HorizontalAlignment="Left" Width="32" Height="32" VerticalAlignment="Bottom" Background="Black" BorderBrush="{x:Null}" Command="{Binding full_screen}"  Visibility="{Binding Full_Screen_Vis}">
+                        <Image  Margin="0" Source="image/btn/outline_fullscreen_white_24dp.png" Width="24" Height="24" HorizontalAlignment="Center" VerticalAlignment="Center" />
+                    </Button>
+                    <Button Grid.Row="1" x:Name="zoom_in" Content="+" HorizontalAlignment="Left" Width="32" Height="32" VerticalAlignment="Bottom" Background="Black" BorderBrush="{x:Null}" Command="{Binding zoom_in}"  Visibility="{Binding Config_Vis}"/>
+                    <Button Grid.Row="2" x:Name="zoom_out" Content="-" HorizontalAlignment="Left" Width="32" Height="32" VerticalAlignment="Bottom" Background="Black" BorderBrush="{x:Null}" Command="{Binding zoom_out}"  Visibility="{Binding Config_Vis}"/>
+                </Grid>
+
+            </Grid>
+        </Viewbox>
+        <Viewbox Grid.Column="2" Grid.Row="0" HorizontalAlignment="Right">
+            <Grid x:Name="Login" VerticalAlignment="Top" Background="Black" Panel.ZIndex="99" Visibility="{Binding Login_Vis}" Height="845" Width="455" RenderTransformOrigin="0.5,0.25" Margin="0" >
+                <Grid.RowDefinitions>
+                    <RowDefinition Height="256"/>
+                    <RowDefinition Height="40"/>
+                    <RowDefinition Height="56"/>
+                    <RowDefinition Height="56"/>
+                    <RowDefinition Height="56"/>
+                    <RowDefinition Height="56"/>
+                    <RowDefinition/>
+                </Grid.RowDefinitions>
+                <Grid Grid.Row="0" VerticalAlignment="Top">
+                    <Image x:Name="image" Margin="0" Source="image/logo.png" Height="256" Width="256"/>
+                </Grid>
+                <Grid Grid.Row="1" VerticalAlignment="Center">
+                    <Label Content="The username or password is incorrect." HorizontalAlignment="Center" Foreground="#FFFF5C5C" FontSize="10" Visibility="{Binding CanNotLogInMsg}"/>
+                </Grid>
+                <Grid Grid.Row="2"  Width="300">
+                    <ComboBox x:Name="login_server" SelectedValuePath="Content" Background="Red" BorderBrush="{x:Null}" SelectedValue="{Binding Login_Server}" FontSize="18" >
+                        <ComboBoxItem Content="Cibes China" Background="Red"/>
+                        <ComboBoxItem Content="Cibes Asia" Background="Red"/>
+                    </ComboBox>
+                </Grid>
+                <Grid Grid.Row="3" VerticalAlignment="Top" Width="300">
+                    <TextBox  x:Name="Username" Text="{Binding Username}" VerticalAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" FontSize="16" >
+                        <i:Interaction.Triggers>
+                            <i:EventTrigger EventName="GotKeyboardFocus">
+                                <noesis:SelectAllAction/>
+                            </i:EventTrigger>
+                        </i:Interaction.Triggers>
+                    </TextBox>
+                    <TextBlock x:Name="Placeholder" IsHitTestVisible="False" TextWrapping="Wrap" Text="Username" VerticalAlignment="Center" Foreground="DarkGray" FontSize="16" Margin="4,0,0,0" >
+                        <TextBlock.Style>
+                            <Style TargetType="{x:Type TextBlock}">
+                                <Setter Property="Visibility" Value="Collapsed"/>
+                                <Style.Triggers>
+                                    <DataTrigger Binding="{Binding Text, ElementName=Username}" Value="">
+                                        <Setter Property="Visibility" Value="Visible"/>
+                                    </DataTrigger>
+                                </Style.Triggers>
+                            </Style>
+                        </TextBlock.Style>
+                    </TextBlock>
+                    <Rectangle Fill="#FF363636" Margin="0,38,0,0" Height="1"/>
+                </Grid>
+                <Grid Grid.Row="4">
+                    <Grid.ColumnDefinitions>
+                        <ColumnDefinition/>
+                        <ColumnDefinition Width="260"/>
+                        <ColumnDefinition Width="40"/>
+                        <ColumnDefinition/>
+                    </Grid.ColumnDefinitions>
+                    <Grid Grid.Column="1" Height="40" VerticalAlignment="Top">
+                        <TextBox x:Name="PassBox" Background="{x:Null}" VerticalAlignment="Center" FontFamily="./font/#Password" Text="{Binding PassWord}" Visibility="{Binding PasswordVis}">
+                            <i:Interaction.Triggers>
+                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                    <noesis:SelectAllAction/>
+                                </i:EventTrigger>
+                            </i:Interaction.Triggers>
+                        </TextBox>
+                        <TextBlock x:Name="PassWoedPlaceHolder" IsHitTestVisible="False" TextWrapping="Wrap" Text="Password" VerticalAlignment="Center" Foreground="DarkGray" FontSize="16" Margin="4,0,0,0" >
+                            <TextBlock.Style>
+                                <Style TargetType="{x:Type TextBlock}">
+                                    <Setter Property="Visibility" Value="Collapsed"/>
+                                    <Style.Triggers>
+                                        <DataTrigger Binding="{Binding Text, ElementName=PassBox}" Value="">
+                                            <Setter Property="Visibility" Value="Visible"/>
+                                        </DataTrigger>
+                                    </Style.Triggers>
+                                </Style>
+                            </TextBlock.Style>
+                        </TextBlock>
+                        <TextBox x:Name="PassBox_Vis" Background="{x:Null}" VerticalAlignment="Center" Text="{Binding PassWord}" Visibility="{Binding PasswordVis_Off}" >
+                            <i:Interaction.Triggers>
+                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                    <noesis:SelectAllAction/>
+                                </i:EventTrigger>
+                            </i:Interaction.Triggers>
+                        </TextBox>
+                        <!--<PasswordBox noesis:Text.Placeholder="Password" Background="{x:Null}" VerticalAlignment="Center"/>-->
+                    </Grid>
+                    <Grid Grid.Column="2" Height="40" Width="40" VerticalAlignment="Top" Visibility="{Binding PasswordVis}">
+                        <Button Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding show_password}">
+                            <Image Source="image/btn/outline_visibility_black_24dp.png"/>
+                        </Button>
+                    </Grid>
+                    <Grid Grid.Column="2" Height="40" Width="40" VerticalAlignment="Top" Visibility="{Binding PasswordVis_Off}" >
+                        <Button Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding show_password}" >
+                            <Image Source="image/btn/outline_visibility_off_black_24dp.png"/>
+                        </Button>
+                    </Grid>
+                    <Rectangle Grid.Column="1" Grid.ColumnSpan="2" Fill="#FF363636" Width="360" Height="1" Margin="0,38,0,0"/>
+                </Grid>
+                <Grid Grid.Row="5">
+                    <Grid.ColumnDefinitions>
+                        <ColumnDefinition/>
+                        <ColumnDefinition Width="260"/>
+                        <ColumnDefinition Width="40"/>
+                        <ColumnDefinition/>
+                    </Grid.ColumnDefinitions>
+                    <Grid Grid.Column="1">
+                        <Grid.ColumnDefinitions>
+                            <ColumnDefinition Width="28"/>
+                            <ColumnDefinition/>
+                        </Grid.ColumnDefinitions>
+                        <CheckBox x:Name="SaveLogin" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding Save_Login}" >
+                            <CheckBox.LayoutTransform>
+                                <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
+                            </CheckBox.LayoutTransform>
+                        </CheckBox>
+                        <TextBlock Grid.Column="1" Text="Remember me" FontSize="16" VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
+                    </Grid>
+                </Grid>
+
+
+
+                <Grid Grid.Row="6" Height="42" VerticalAlignment="Top" Margin="56,100" >
+                    <Button x:Name="btn_login" Content="LOGIN" Margin="0" FontSize="16" Background="#FFF49811" BorderBrush="{x:Null}" Foreground="White" Command="{Binding click_login}"/>
+                </Grid>
+            </Grid>
+
+
+        </Viewbox>
+        <Viewbox Grid.Column="2" Grid.Row="0" HorizontalAlignment="Right" >
+            <Grid Height="945" Width="455" RenderTransformOrigin="0.5,0.25" Margin="0" Background="Black" Visibility="{Binding Config_Vis}" >
+                <Grid.RowDefinitions>
+                    <RowDefinition/>
+                    <RowDefinition Height="62"/>
+                </Grid.RowDefinitions>
+                <Rectangle Grid.Row="0" Height="1" VerticalAlignment="Top" Margin="0,42,0,0" Fill="#FF707070" Panel.ZIndex="1"/>
+                <TabControl x:Name="main_tab" SelectedValuePath="Name" Grid.Row="0" Background="Black" BorderBrush="{x:Null}">
+                    <TabControl.Resources>
+                        <Style TargetType="{x:Type TabPanel}">
+                            <Setter Property="HorizontalAlignment" Value="Center"/>
+                        </Style>
+
+                    </TabControl.Resources>
+                    <TabItem x:Name="settings_tab" Header="{Binding SelectedLanguage.Resources[SettingsLabel]}" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" >
+                        <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
+                            <Grid Margin="12,0,12,20">
+                                <Grid.RowDefinitions>
+                                    <RowDefinition Height="220"/>
+                                    <RowDefinition Height="125"/>
+                                    <RowDefinition/>
+                                    <RowDefinition Height="56"/>
+                                    <RowDefinition Height="300*"/>
+                                    <RowDefinition Height="200*"/>
+                                    <RowDefinition Height="200*"/>
+
+                                </Grid.RowDefinitions>
+
+                                <Grid x:Name="serie" Grid.Column="0" Grid.Row="0">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="4*"/>
+                                        <RowDefinition Height="16*"/>
+                                        <RowDefinition Height="1*"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[SerieLabel]}" FontSize="18" Margin="0,5"/>
+                                    <Grid Grid.Row="1">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="28*"/>
+                                            <ColumnDefinition Width="393*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition/>
+                                            <RowDefinition/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0" Margin="0,5" Grid.ColumnSpan="2">
+                                            <Grid.ColumnDefinitions>
+                                                <ColumnDefinition Width="1*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                            </Grid.ColumnDefinitions>
+                                            <Label Grid.Column="0" Content="V70" VerticalAlignment="Center" FontSize="24"/>
+                                            <Button Grid.Column="1" Content="{Binding SelectedLanguage.Resources[EleganceLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[0]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="V70_Elegance" Foreground="White"/>
+                                            <Button Grid.Column="2" Content="{Binding SelectedLanguage.Resources[AuroraLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[1]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="V70_Aurora"/>
+                                            <Button Grid.Column="3" Content="{Binding SelectedLanguage.Resources[GalaxyLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[2]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="V70_Galaxy"/>
+
+                                        </Grid>
+                                        <Grid Grid.Row="1" Margin="0,5" Grid.ColumnSpan="2">
+                                            <Grid.ColumnDefinitions>
+                                                <ColumnDefinition Width="1*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                            </Grid.ColumnDefinitions>
+
+                                            <!--Disable the V80, client will release it in Nov.-->
+
+                                            <Label Grid.Column="0" Content="V80" VerticalAlignment="Center" FontSize="24"/>
+                                            <Button Grid.Column="1" Content="{Binding SelectedLanguage.Resources[EleganceLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[3]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="V80_Elegance" IsEnabled="True"/>
+                                            <Button Grid.Column="2" Content="{Binding SelectedLanguage.Resources[AuroraLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[4]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="V80_Aurora" IsEnabled="True"/>
+                                            <Button Grid.Column="3" Content="{Binding SelectedLanguage.Resources[GalaxyLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[5]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="V80_Galaxy" IsEnabled="True"/>
+
+                                        </Grid>
+                                        <Grid Grid.Row="2" Margin="0,5" Grid.ColumnSpan="2">
+                                            <Grid.ColumnDefinitions>
+                                                <ColumnDefinition Width="1*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                            </Grid.ColumnDefinitions>
+                                            <Label Grid.Column="0" Content="V90" VerticalAlignment="Center" FontSize="24"/>
+                                            <Button Grid.Column="1" Content="{Binding SelectedLanguage.Resources[EleganceLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[6]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="V90_Elegance"/>
+                                            <Button Grid.Column="2" Content="{Binding SelectedLanguage.Resources[AuroraLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[7]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="V90_Aurora"/>
+                                            <Button Grid.Column="3" Content="{Binding SelectedLanguage.Resources[GalaxyLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[8]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="V90_Galaxy"/>
+
+                                        </Grid>
+
+
+
+                                    </Grid>
+                                    <Rectangle Grid.Row="2" Height="1" Fill="#FF272727"/>
+                                </Grid>
+                                <Grid x:Name="stop_count" Grid.Row="1" Margin="0,10">
+                                    <Grid Grid.Row="1" >
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition Height="1*"/>
+                                            <RowDefinition Height="2*"/>
+                                            <RowDefinition Height="3"/>
+                                        </Grid.RowDefinitions>
+                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StopCountLabel]}" Margin="0,5" Height="32"/>
+                                        <Grid Grid.Row="1" >
+                                            <Grid.ColumnDefinitions>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                            </Grid.ColumnDefinitions>
+                                            <Button Grid.Column="0" Height="46" Width="46" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[0]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="2" >
+                                                <Label Content="2" FontSize="20" Foreground="White"/>
+                                            </Button>
+                                            <Button Grid.Column="1" Height="46" Width="46" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[1]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="3">
+                                                <Label Content="3" FontSize="20" Foreground="White"/>
+                                            </Button>
+                                            <Button Grid.Column="2" Height="46" Width="46" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[2]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="4">
+                                                <Label Content="4" FontSize="20" Foreground="White"/>
+                                            </Button>
+                                            <Button Grid.Column="3" Height="46" Width="46" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[3]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="5">
+                                                <Label Content="5" FontSize="20" Foreground="White"/>
+                                            </Button>
+                                            <Button Grid.Column="4" Height="46" Width="46" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[4]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="6">
+                                                <Label Content="6" FontSize="20" Foreground="White"/>
+                                            </Button>
+
+
+                                        </Grid>
+                                        <Rectangle Grid.Row="2" Height="1" Fill="#FF272727"/>
+                                    </Grid>
+
+                                </Grid>
+                                <Grid x:Name="travel_height" Grid.Row="2" Height="{Binding StateModel.Travel_Height_H}" >
+                                <!--<Grid x:Name="travel_height" Grid.Row="2" Height="1" >-->
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition Height="42"/>
+                                        <RowDefinition Height="42"/>
+                                        <RowDefinition Height="42"/>
+                                        <RowDefinition Height="42"/>
+                                        <RowDefinition Height="42"/>
+                                        <RowDefinition Height="42"/>
+
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[TravelHeightLabel]}" Margin="0,5" Height="32"/>
+                                    <Grid Grid.Row="1" >
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider Height="28" Grid.Column="1" x:Name="slider1" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[0]}" Maximum="5000" Value="{Binding TravelHeight_0 ,Mode=TwoWay}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_1}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox InputScope="TelephoneLocalNumber" Grid.Column="2" Width="46"  FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center" Text="{Binding TravelHeight_0,Mode=TwoWay, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                                <i:EventTrigger EventName="LostFocus">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_1}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+                                    </Grid>
+                                    <Grid Grid.Row="2">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider  Height="28" Grid.Column="1" x:Name="slider2" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[1]}" Maximum="5000" Value="{Binding TravelHeight_1}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_2}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox InputScope="TelephoneLocalNumber" Grid.Column="2" Width="46"  FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_1, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                                <i:EventTrigger EventName="LostFocus">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_2}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+
+                                    </Grid>
+                                    <Grid Grid.Row="3" Height="{Binding Travel_Height_Vis_H[2]}" Visibility="{Binding StateModel.Travel_Height_Vis[2]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="3" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider  Height="28" Grid.Column="1" x:Name="slider3" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[2]}" Maximum="5000" Value="{Binding TravelHeight_2}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_3}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox InputScope="TelephoneLocalNumber" Grid.Column="2" Width="46"  FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_2, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                                <i:EventTrigger EventName="LostFocus">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_3}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+                                    </Grid>
+                                    <Grid Grid.Row="4" Height="{Binding Travel_Height_Vis_H[3]}" Visibility="{Binding StateModel.Travel_Height_Vis[3]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="4" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider  Height="28" Grid.Column="1" x:Name="slider4" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[3]}" Maximum="5000" Value="{Binding TravelHeight_3}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_4}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox InputScope="TelephoneLocalNumber" Grid.Column="2" Width="46"  FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_3, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                                <i:EventTrigger EventName="LostFocus">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_4}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+                                    </Grid>
+                                    <Grid Grid.Row="5" Height="{Binding Travel_Height_Vis_H[4]}" Visibility="{Binding StateModel.Travel_Height_Vis[4]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="5" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider  Height="28" Grid.Column="1" x:Name="slider5" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[4]}" Maximum="5000" Value="{Binding TravelHeight_4,Mode=TwoWay}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_5}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox InputScope="TelephoneLocalNumber" Grid.Column="2" Width="46" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_4,StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+                                    </Grid>
+                                    <Grid Grid.Row="6" Height="{Binding Travel_Height_Vis_H[5]}" Visibility="{Binding StateModel.Travel_Height_Vis[5]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="6" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider  Height="28" Grid.Column="1" x:Name="slider6" VerticalAlignment="Center" Minimum="2500" Maximum="5000" Value="{Binding TravelHeight_5}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_6}"/>
+                                                </i:EventTrigger>
+                                                <i:EventTrigger EventName="LostFocus">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_6}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox InputScope="TelephoneLocalNumber" Grid.Column="2" Width="46" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_5, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+                                    </Grid>
+
+
+                                </Grid>
+                                <Grid x:Name="lift_height" Grid.Row="3">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="3"/>
+                                        <RowDefinition/>
+                                        <RowDefinition Height="3"/>
+                                    </Grid.RowDefinitions>
+                                    <Grid.ColumnDefinitions>
+                                        <ColumnDefinition Width="4*"/>
+                                        <ColumnDefinition Width="1*"/>
+                                    </Grid.ColumnDefinitions>
+                                    <Rectangle Grid.Row="0" Height="1" Fill="#FF272727" Grid.ColumnSpan="2"/>
+                                    <Label Grid.Column="0" Grid.Row="1" Height="32" FontSize="18" Content="{Binding SelectedLanguage.Resources[LiftHeightLabel]}" VerticalAlignment="Center" Margin="0,8,0,0"/>
+                                    <Label Grid.Column="1" Grid.Row="1" Content="{Binding Lift_Height}" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#FF7A7A7A"/>
+                                    <Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727"/>
+                                </Grid>
+                                <Grid x:Name="platform_size" Grid.Row="4" >
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition  Height="42"/>
+                                        <RowDefinition Height="8*"/>
+                                        <RowDefinition Height="2"/>
+
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[ShaftSizeLabel]}" Margin="0,5" VerticalAlignment="Center"/>
+                                    <Grid Grid.Row="1">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0" >
+                                            <Grid>
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="68"/>
+                                                    <RowDefinition Height="52"/>
+                                                    <RowDefinition Height="52"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid Grid.Row="0">
+                                                    <Grid>
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="16"/>
+                                                            <RowDefinition Height="32"/>
+                                                            <RowDefinition Height="2"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="B/D" FontSize="12" Foreground="#7A7A7A"/>
+                                                        <ComboBox Grid.Row="1" x:Name="platform_bd_1500" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeBD}" FontSize="18" Visibility="{Binding shaft_bd_1500_vis}">
+                                                            <ComboBoxItem Content="900mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1000mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1100mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1200mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1300mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1400mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1500mm" Background="Black"/>
+                                                            <i:Interaction.Triggers>
+                                                                <i:EventTrigger EventName="SelectionChanged">
+                                                                    <i:InvokeCommandAction Command="{Binding set_platformSizeBD }"/>
+                                                                </i:EventTrigger>
+                                                            </i:Interaction.Triggers>
+                                                        </ComboBox>
+                                                        <ComboBox Grid.Row="1" x:Name="platform_bd_1400" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeBD}" FontSize="18" Visibility="{Binding shaft_bd_1400_vis}">
+                                                            <ComboBoxItem Content="900mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1000mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1100mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1200mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1300mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1400mm" Background="Black"/>
+                                                            <i:Interaction.Triggers>
+                                                                <i:EventTrigger EventName="SelectionChanged">
+                                                                    <i:InvokeCommandAction Command="{Binding set_platformSizeBD }"/>
+                                                                </i:EventTrigger>
+                                                            </i:Interaction.Triggers>
+                                                        </ComboBox>
+                                                        <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                                    </Grid>
+                                                </Grid>
+                                                <Grid Grid.Row="1">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="16"/>
+                                                        <RowDefinition/>
+                                                    </Grid.RowDefinitions>
+                                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CutOutBDLabel]}" FontSize="12" Foreground="#7A7A7A"/>
+                                                    <Label Grid.Row="1" Content="{Binding Cut_Out_Size_BD}"/>
+                                                </Grid>
+                                                <Grid Grid.Row="2">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="16"/>
+                                                        <RowDefinition/>
+                                                    </Grid.RowDefinitions>
+                                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarSizeBDLabel]}" FontSize="12" Foreground="#7A7A7A"/>
+                                                    <Label Grid.Row="1" Content="{Binding Car_Size_BD}"/>
+                                                </Grid>
+                                            </Grid>
+                                        </Grid>
+                                        <Grid Grid.Column="0">
+                                            <Grid>
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="68"/>
+                                                    <RowDefinition Height="52"/>
+                                                    <RowDefinition Height="52"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid Grid.Row="0">
+                                                    <Grid>
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="16"/>
+                                                            <RowDefinition Height="32"/>
+                                                            <RowDefinition Height="2"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="A/C" FontSize="12" Foreground="#7A7A7A"/>
+                                                        <ComboBox Grid.Row="1" x:Name="platform_ac_1500" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeAC}" FontSize="18" Visibility="{Binding shaft__ac_1500_vis}">
+                                                            <ComboBoxItem Content="1000mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1100mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1200mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1300mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1400mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1500mm" Background="Black"/>
+                                                            <i:Interaction.Triggers>
+                                                                <i:EventTrigger EventName="SelectionChanged">
+                                                                    <i:InvokeCommandAction Command="{Binding set_platformSizeAC }"/>
+                                                                </i:EventTrigger>
+                                                            </i:Interaction.Triggers>
+                                                        </ComboBox>
+                                                        <ComboBox Grid.Row="1" x:Name="platform_ac_1400" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeAC}" FontSize="18" Visibility="{Binding shaft_ac_1400_vis}">
+                                                            <ComboBoxItem Content="1000mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1100mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1200mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1300mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1400mm" Background="Black"/>
+                                                            <i:Interaction.Triggers>
+                                                                <i:EventTrigger EventName="SelectionChanged">
+                                                                    <i:InvokeCommandAction Command="{Binding set_platformSizeAC }"/>
+                                                                </i:EventTrigger>
+                                                            </i:Interaction.Triggers>
+                                                        </ComboBox>
+                                                        <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+
+                                                    </Grid>
+                                                </Grid>
+                                                <Grid Grid.Row="1">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="16"/>
+                                                        <RowDefinition/>
+                                                    </Grid.RowDefinitions>
+                                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CutOutACLabel]}" FontSize="12" Foreground="#7A7A7A"/>
+                                                    <Label Grid.Row="1" Content="{Binding Cut_Out_Size_AC}"/>
+                                                </Grid>
+                                                <Grid Grid.Row="2">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="16"/>
+                                                        <RowDefinition/>
+                                                    </Grid.RowDefinitions>
+                                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarSizeACLabel]}" FontSize="12" Foreground="#7A7A7A"/>
+                                                    <Label Grid.Row="1" Content="{Binding Car_Size_AC}"/>
+                                                </Grid>
+                                            </Grid>
+                                        </Grid>
+                                    </Grid>
+                                    <Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727"/>
+                                </Grid>
+                                <Grid x:Name="starting_floor" Grid.Row="5" Margin="0,5" Height="0">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="2*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="4"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StaringFloorLabel]}" VerticalAlignment="Bottom"/>
+                                    <Grid Grid.Row="1">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <ComboBox Grid.Row="1" x:Name="start_floor" SelectedValuePath="Content" Background="Black" SelectedValue="{Binding StartingDoor}" FontSize="18">
+                                                <ComboBoxItem Content="6" Background="Black"/>
+                                                <ComboBoxItem Content="5" Background="Black"/>
+                                                <ComboBoxItem Content="4" Background="Black"/>
+                                                <ComboBoxItem Content="3" Background="Black"/>
+                                                <ComboBoxItem Content="2" Background="Black"/>
+                                                <ComboBoxItem Content="1" Background="Black"/>
+                                                <ComboBoxItem Content="0" Background="Black"/>
+                                                <ComboBoxItem Content="-1" Background="Black"/>
+                                                <ComboBoxItem Content="{Binding SelectedLanguage.Resources[BasementLabel]}" Background="Black"/>
+                                            </ComboBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    
+                                        <!--<Grid Grid.Column="1">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CustomizeLabel]}" FontSize="12" Foreground="#7A7A7A"/>
+                                            <ComboBox Grid.Row="1" x:Name="start_floor_name" SelectedValuePath="Content" Background="Black" SelectedValue="{Binding StartingDoorName}" FontSize="18">
+                                                <ComboBoxItem Content="6" Background="Black"/>
+                                                <ComboBoxItem Content="5" Background="Black"/>
+                                                <ComboBoxItem Content="4" Background="Black"/>
+                                                <ComboBoxItem Content="3" Background="Black"/>
+                                                <ComboBoxItem Content="2" Background="Black"/>
+                                                <ComboBoxItem Content="1" Background="Black"/>
+                                                <ComboBoxItem Content="0" Background="Black"/>
+                                                <ComboBoxItem Content="-1" Background="Black"/>
+                                                <ComboBoxItem Content="-2" Background="Black"/>
+                                            </ComboBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>-->
+                                    </Grid>
+                                    <!--<Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727" Margin="0,2,0,0" />-->
+                                </Grid>
+                                <Grid x:Name="floor_annotation" Grid.Row="6" Margin="0,5" >
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="2*"/>
+                                        <RowDefinition Height="3*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="5*"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[FloorAnnotationLabel]}" VerticalAlignment="Bottom" />
+                                    <Grid Grid.Row="1" Margin="0,5">
+                                        <Grid Grid.Column="1">
+                                            <Grid.ColumnDefinitions>
+                                                <ColumnDefinition Width="28"/>
+                                                <ColumnDefinition/>
+                                            </Grid.ColumnDefinitions>
+                                            <CheckBox x:Name="CustomizeFloorName" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding IsCustomizeFloorName}" Command="{Binding trigger_custmozie_floor_name}" >
+                                                <CheckBox.LayoutTransform>
+                                                    <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
+                                                </CheckBox.LayoutTransform>
+                                            </CheckBox>
+                                            <TextBlock Grid.Column="1" Text="Custom Name" FontSize="16" VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="2"  Visibility="{Binding CustomizFloorVis[0]}" Height="{Binding floor_annotation_height[0]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[0]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="3"  Visibility="{Binding CustomizFloorVis[1]}" Height="{Binding floor_annotation_height[1]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="2" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[1]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="4"  Visibility="{Binding CustomizFloorVis[2]}" Height="{Binding floor_annotation_height[2]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[2]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="5"  Visibility="{Binding CustomizFloorVis[3]}" Height="{Binding floor_annotation_height[3]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="4" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[3]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="6"  Visibility="{Binding CustomizFloorVis[4]}" Height="{Binding floor_annotation_height[4]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="5" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[4]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="7"  Visibility="{Binding CustomizFloorVis[5]}" Height="{Binding floor_annotation_height[5]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="6" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[5]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                </Grid>
+                            </Grid>
+                        </ScrollViewer>
+
+                    </TabItem>
+                    <TabItem x:Name="shaft_tab" Header="{Binding SelectedLanguage.Resources[ShaftLabel]}" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" Padding="64,0">
+                        <Grid Margin="-50,0,0,0">
+                            <Grid.ColumnDefinitions>
+                                <ColumnDefinition Width="42"/>
+                                <ColumnDefinition/>
+                            </Grid.ColumnDefinitions>
+                            <Grid Grid.Column="0" x:Name="shaft_menu" Width="62" Margin="-16,0,0,0">
+                                <Grid  Background="Black" VerticalAlignment="Top">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition/>
+                                        <RowDefinition/>
+                                        <RowDefinition/>
+                                    </Grid.RowDefinitions>
+                                    <Button Grid.Row="0" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_build}" IsEnabled="{Binding Build_Enable }">
+                                        <Grid>
+                                            <Image Source="image/btn/menu_build_on.png" Visibility="{Binding StateModel.Menu_On[0]}"/>
+                                            <Image Source="image/btn/menu_build_off.png" Visibility="{Binding StateModel.Menu_Off[0]}"/>
+                                        </Grid>
+
+                                    </Button>
+                                    <Button Grid.Row="1" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_shape}">
+                                        <Grid>
+                                            <Image Source="image/btn/menu_door_on.png" Visibility="{Binding StateModel.Menu_On[1]}"/>
+                                            <Image Source="image/btn/menu_door_off.png" Visibility="{Binding StateModel.Menu_Off[1]}"/>
+                                        </Grid>
+
+                                    </Button>
+                                    <Button Grid.Row="2" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_color}" >
+                                        <Grid>
+                                            <Image Source="image/btn/menu_color_on.png" Visibility="{Binding StateModel.Menu_On[2]}"/>
+                                            <Image Source="image/btn/menu_color_off.png" Visibility="{Binding StateModel.Menu_Off[2]}"/>
+                                        </Grid>
+                                    </Button>
+                                </Grid>
+                            </Grid>
+                            <Grid x:Name="shaft_tab_content" Grid.Column="1" Margin="4,0,0,0">
+                                <Grid x:Name="build_page" Grid.Column="1" Visibility="{Binding Build_Vis}" Margin="16,0" d:IsHidden="True">
+
+
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="64"/>
+                                        <RowDefinition Height="400*"/>
+                                        <RowDefinition Height="32*"/>
+                                    </Grid.RowDefinitions>
+                                    <Grid Grid.Row="0" Grid.Column="0">
+                                        <Label Content="{Binding SelectedLanguage.Resources[BuildLabel]}" FontSize="22" VerticalAlignment="Center"/>
+                                    </Grid>
+                                    <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="0,6"/>
+                                    <Grid Grid.Row="1">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition/>
+                                            <RowDefinition/>
+                                        </Grid.RowDefinitions>
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Border Grid.Row="0" Grid.Column="1" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" >
+                                            <Grid   >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="D" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_shaft_mat_d" ItemsSource="{Binding Shaft_Mat_List_D}" SelectedItem="{Binding Selected_Shaft_Mat_D}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0" Height="38">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2"  TextWrapping="Wrap" FontSize="12" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_d, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2"  TextWrapping="Wrap" FontSize="12" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_d, Path=DataContext.isCH}"/>
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_d, Path=DataContext.set_shaft_mat_d  }"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+                                        <Border Grid.Row="1" Grid.Column="0" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" Margin="0,0,12,0" >
+                                            <Grid   >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="C" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_shaft_mat_c" ItemsSource="{Binding Shaft_Mat_List_C}" SelectedItem="{Binding Selected_Shaft_Mat_C}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0" Height="38">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12"  TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_c, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12"  TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_c, Path=DataContext.isCH}"/>
+
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_c, Path=DataContext.set_shaft_mat_c  }"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+
+                                            </Grid>
+                                        </Border>
+                                        <Grid Grid.Column="1" Grid.Row="1" Margin="-10">
+                                            <Image Source="image/bg/lift_build_icon.png"/>
+                                        </Grid>
+                                        <Border Grid.Row="1" Grid.Column="2" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" Margin="12,0,0,0" >
+                                            <Grid   >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="A" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_shaft_mat_a" ItemsSource="{Binding Shaft_Mat_List_A}" SelectedItem="{Binding Selected_Shaft_Mat_A}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0" Height="38">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center"  Visibility="{Binding ElementName=set_shaft_mat_a, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_a, Path=DataContext.isCH}"/>
+
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_a, Path=DataContext.set_shaft_mat_a  }"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+                                        <Border Grid.Row="2" Grid.Column="1" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" >
+                                            <Grid   >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="B" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_shaft_mat_b" ItemsSource="{Binding Shaft_Mat_List_B}" SelectedItem="{Binding Selected_Shaft_Mat_B}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0" Height="38">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center"  Visibility="{Binding ElementName=set_shaft_mat_b, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_b, Path=DataContext.isCH}"/>
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_b, Path=DataContext.set_shaft_mat_b  }"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+                                        <Border Grid.Row="1" Grid.Column="1" Background="#1B1B1B" Height="66" Width="128" CornerRadius="6,6,6,6" Visibility="Hidden" >
+                                            <Grid   >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="E" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Height="36" Width="122" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_shaft_mat_e" ItemsSource="{Binding Shaft_Mat_List_E}" SelectedItem="{Binding Selected_Shaft_Mat_E}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0" Height="38">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center"  Visibility="{Binding ElementName=set_shaft_mat_e, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_e, Path=DataContext.isCH}"/>
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_e, Path=DataContext.set_shaft_mat_e  }"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+
+                                    </Grid>
+
+                                </Grid>
+                                <Grid x:Name="shape_page" Grid.Column="1" Visibility="{Binding Shape_Vis}" Margin="3,0" >
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="64"/>
+                                        <RowDefinition Height="2*"/>
+                                        <RowDefinition Height="28*"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorsLabel]}" FontSize="22" VerticalAlignment="Center" Margin="13,0"/>
+                                    <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="13,6"/>
+                                    <Grid Grid.Row="1" Height="36" Background="#1B1B1B">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Border  Grid.Column="1" BorderThickness="1" >
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_1F}" >
+                                                <TextBlock Text="1F" FontSize="18" Foreground="{Binding floor_btn_bg_color[0]}"/>
+                                            </Button>
+                                        </Border>
+                                        <Border  Grid.Column="2" BorderThickness="1" >
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_2F}" >
+                                                <TextBlock Text="2F" FontSize="18" Foreground="{Binding floor_btn_bg_color[1]}"/>
+                                            </Button>
+                                        </Border>
+                                        <Border  Grid.Column="3" BorderThickness="1" >
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_3F}" Visibility="{Binding Door_3F_Btn_Vis}">
+                                                <TextBlock Text="3F" FontSize="18" Foreground="{Binding floor_btn_bg_color[2]}"/>
+                                            </Button>
+                                        </Border>
+                                        <Border  Grid.Column="4" BorderThickness="1" >
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_4F}" Visibility="{Binding Door_4F_Btn_Vis}">
+                                                <TextBlock Text="4F" FontSize="18" Foreground="{Binding floor_btn_bg_color[3]}"/>
+                                            </Button>
+                                        </Border>
+                                        <Border Grid.Column="5" BorderThickness="1">
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_5F}" Visibility="{Binding Door_5F_Btn_Vis}">
+                                                <TextBlock Text="5F" FontSize="18" Foreground="{Binding floor_btn_bg_color[4]}"/>
+                                            </Button>
+                                        </Border>
+                                        <Border  Grid.Column="6" BorderThickness="1">
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_6F}" Visibility="{Binding Door_6F_Btn_Vis}" >
+                                                <TextBlock Text="6F" FontSize="18" Foreground="{Binding floor_btn_bg_color[5]}"/>
+                                            </Button>
+                                        </Border>
+                                    </Grid>
+                                    <Grid x:Name="door_1F" Grid.Row="2" Visibility="{Binding Door_1F_Vis}" Margin="0,48,0,0" Background="Black" d:IsHidden="True">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="0" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="0" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="0" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[0]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[0]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[0]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+
+                                            <!--<Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[0]}">
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition Width="7*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding set_door_page}" CommandParameter="1_A" Visibility="{Binding StateModel.Door_A_Btn_Vis[0]}">
+                                                    <Label Content="A" Foreground="{Binding StateModel.Door_A_Btn_Color[0]}"/>
+                                                </Button>
+                                                <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding set_door_page}" CommandParameter="1_B" Visibility="{Binding StateModel.Door_B_Btn_Vis[0]}">
+                                                    <Label Content="B" Foreground="{Binding StateModel.Door_B_Btn_Color[0]}"/>
+                                                </Button>
+                                                <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding set_door_page}" CommandParameter="1_C" Visibility="{Binding StateModel.Door_C_Btn_Vis[0]}">
+                                                    <Label Content="C" Foreground="{Binding StateModel.Door_C_Btn_Color[0]}"/>
+                                                </Button>
+                                            </Grid>-->
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[0]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[0]}" Panel.ZIndex="1"/>-->
+                                        <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[0]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+
+                                                </Style>
+
+
+                                            </TabControl.Resources>
+
+                                            <TabItem Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_a_btn_selected}" x:Name="door_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[0]}">
+                                                <Grid x:Name="Door_1F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[0]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[1]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[2]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[3]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[4]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[5]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[6]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[7]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[0]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[0]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[0]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_0A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_b_btn" Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_b_btn_selected}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[0]}">
+                                                <Grid x:Name="Door_1F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[8]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[9]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[10]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[11]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[12]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[13]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[14]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[15]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[0]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[0]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[0]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_0B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_c_btn" Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_c_btn_selected}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[0]}">
+                                                <Grid x:Name="Door_1F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[16]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[17]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[18]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[19]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[20]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[21]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[22]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[23]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[0]}" />
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[0]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[0]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_0C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+
+                                                </Grid>
+
+                                            </TabItem>
+                                        </TabControl>
+
+                                    </Grid>
+                                    <Grid x:Name="door_2F" Grid.Row="2" Visibility="{Binding Door_2F_Vis}" Margin="0,48,0,0" Background="Black">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="1" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="1" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="1" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[1]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[1]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[1]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+                                            <!--<Rectangle Grid.Row="1" Height="2" Fill="#272727" Margin="32,0"/>
+                                            <Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[1]}" >
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition Width="7*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Content="A" Command="{Binding set_door_page}" CommandParameter="A"/>
+                                                <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Content="B" Command="{Binding set_door_page}" CommandParameter="B"/>
+                                                <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Content="C" Command="{Binding set_door_page}" CommandParameter="C"/>
+                                            </Grid>-->
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[1]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[1]}" Panel.ZIndex="1"/>-->
+                                        <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[1]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+                                                </Style>
+                                            </TabControl.Resources>
+
+                                            <TabItem Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_a_btn_selected}" x:Name="door_2f_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[1]}" >
+                                                <Grid x:Name="Door_2F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[24]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[25]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[26]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[27]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[28]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[29]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[30]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[31]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[1]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[1]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[1]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_1A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_2f_b_btn" IsSelected="{Binding StateModel.door_b_btn_selected}" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[1]}">
+                                                <Grid x:Name="Door_2F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[32]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[33]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[34]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[35]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[36]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[37]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[38]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[39]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[1]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[1]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[1]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_1B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_2f_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[1]}">
+                                                <Grid x:Name="Door_2F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[40]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[41]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[42]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[43]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[44]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[45]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[46]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[47]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[1]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[1]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[1]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_1C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                        </TabControl>
+                                    </Grid>
+                                    <Grid x:Name="door_3F" Grid.Row="2" Visibility="{Binding Door_3F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="2" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}"  CommandParameter="2" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="2" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[2]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[2]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[2]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+                                            <!--<Rectangle Grid.Row="1" Height="2" Fill="#272727" Margin="32,0"/>
+                                            <Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[2]}">
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition Width="7*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Content="A" Command="{Binding set_door_page}" CommandParameter="A"/>
+                                                <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Content="B" Command="{Binding set_door_page}" CommandParameter="B"/>
+                                                <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Content="C" Command="{Binding set_door_page}" CommandParameter="C"/>
+                                            </Grid>-->
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[2]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[2]}" Panel.ZIndex="1"/>-->
+                                        <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[2]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+                                                </Style>
+                                            </TabControl.Resources>
+
+                                            <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_3F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[2]}">
+                                                <Grid x:Name="Door_3F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[48]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[49]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[50]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[51]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[52]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[53]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[54]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[55]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[2]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[2]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[2]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_2A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_3F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[2]}">
+                                                <Grid x:Name="Door_3F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[56]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[57]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[58]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[59]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[60]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[61]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[62]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[63]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[2]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[2]}"/>
+                                                            <ComboBox x:Name="door2bWidth" Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[2]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_2B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_3F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[2]}">
+                                                <Grid x:Name="Door_3F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[64]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[65]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[66]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[67]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[68]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[69]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[70]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[71]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[2]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[2]}" />
+                                                            <ComboBox  Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[2]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_2C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                        </TabControl>
+                                    </Grid>
+                                    <Grid x:Name="door_4F" Grid.Row="2" Visibility="{Binding Door_4F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="3" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="3" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="3" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[3]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[3]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[3]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[3]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[3]}" Panel.ZIndex="1"/>-->
+                                        <TabControl  Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[3]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+                                                </Style>
+                                            </TabControl.Resources>
+
+                                            <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_4F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[3]}">
+                                                <Grid x:Name="Door_4F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[72]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[73]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[74]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[75]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[76]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[77]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[78]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[79]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[3]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[3]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[3]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_3A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_4F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[3]}">
+                                                <Grid x:Name="Door_4F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[80]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[81]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[82]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[83]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[84]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[85]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[86]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[87]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[3]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[3]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[3]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_3B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_4F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[3]}">
+                                                <Grid x:Name="Door_4F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[88]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[89]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[90]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[91]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[92]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[93]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[94]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[95]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[3]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[3]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[3]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_3C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                        </TabControl>
+                                    </Grid>
+                                    <Grid x:Name="door_5F" Grid.Row="2" Visibility="{Binding Door_5F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="4" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="4" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="4" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[4]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[4]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[4]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[4]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[4]}" Panel.ZIndex="1"/>-->
+                                        <TabControl  Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[4]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+                                                </Style>
+                                            </TabControl.Resources>
+
+                                            <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_5F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[4]}">
+                                                <Grid x:Name="Door_5F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[96]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[97]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[98]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[99]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[100]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[101]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[102]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[103]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[4]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[4]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[4]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_4A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_5F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[4]}">
+                                                <Grid x:Name="Door_5F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[104]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[105]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[106]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[107]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[108]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[109]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[110]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[111]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[4]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[4]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[4]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_4B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_5F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[4]}">
+                                                <Grid x:Name="Door_5F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[112]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[113]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[114]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[115]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[116]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[117]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[118]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[119]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[4]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[4]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[4]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_4C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                        </TabControl>
+                                    </Grid>
+                                    <Grid x:Name="door_6F" Grid.Row="2" Visibility="{Binding Door_6F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="5" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="5" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="5" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[5]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[5]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[5]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[5]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[5]}" Panel.ZIndex="1"/>-->
+                                        <TabControl  Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[5]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+                                                </Style>
+                                            </TabControl.Resources>
+
+                                            <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_6F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[5]}">
+                                                <Grid x:Name="Door_6F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[120]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[121]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[122]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[123]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[124]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[125]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[126]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[127]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[5]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[5]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[5]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[5]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_5A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_6F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[5]}">
+                                                <Grid x:Name="Door_6F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[128]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[129]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[130]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[131]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[132]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[133]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[134]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[135]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[5]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[5]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[5]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[5]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_5B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_6F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[5]}">
+                                                <Grid x:Name="Door_6F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[136]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[137]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[138]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[139]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[140]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0" Background="{Binding Door_Btn_BG[141]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1" Background="{Binding Door_Btn_BG[142]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2" Background="{Binding Door_Btn_BG[143]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[5]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[5]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[5]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_5C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                        </TabControl>
+                                    </Grid>
+                                </Grid>
+                                <Grid x:Name="color_page" Grid.Column="1" Visibility="{Binding Color_Vis}" Margin="12,0" d:IsHidden="True">
+                                    <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
+                                        <Grid>
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="64"/>
+                                                <RowDefinition Height="5*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="4*"/>
+                                                <RowDefinition Height="10*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0">
+                                                <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[ColorsLabel]}" FontSize="22" VerticalAlignment="Center"/>
+                                                <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="92" HorizontalAlignment="Left" Margin="0,6"/>
+                                            </Grid>
+
+                                            <Grid x:Name="Standard_Color" Grid.Row="1" Margin="0,12,0,0" >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="8*"/>
+                                                    <RowDefinition Height="1*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StandardColorLabel]}" FontSize="18"/>
+
+                                                <ItemsControl x:Name="standard_colors" Grid.Row="1" Width="422" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Standard_Color_List}" HorizontalAlignment="Left" Margin="-6,0,0,0">
+                                                    <ItemsControl.ItemsPanel>
+                                                        <ItemsPanelTemplate>
+                                                            <WrapPanel/>
+                                                        </ItemsPanelTemplate>
+                                                    </ItemsControl.ItemsPanel>
+                                                    <ItemsControl.ItemTemplate>
+                                                        <DataTemplate>
+                                                            <Grid  Height="112" Width="80" HorizontalAlignment="Left">
+                                                                <Grid.RowDefinitions>
+                                                                    <RowDefinition Height="72"/>
+                                                                    <RowDefinition Height="1*"/>
+                                                                </Grid.RowDefinitions>
+                                                                <Button Grid.Row="0" Height="80" Command="{Binding ElementName=standard_colors, Path=DataContext.set_shaft_standard_color}" CommandParameter="{Binding Code}">
+                                                                    <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
+                                                                        <Image Source="{Binding icon_texture}"/>
+                                                                    </Border>
+
+                                                                </Button>
+                                                                <Label Grid.Row="1" Content="{Binding name}" Margin="0,4" FontSize="12" HorizontalAlignment="Center" VerticalAlignment="Top"/>
+                                                            </Grid>
+
+
+                                                        </DataTemplate>
+                                                    </ItemsControl.ItemTemplate>
+                                                </ItemsControl>
+                                            </Grid>
+                                            <Grid Grid.Row="3" Margin="6,0,0,0"  Height="128">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="3*"/>
+                                                    <RowDefinition Height="6*"/>
+                                                    <RowDefinition Height="1*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Grid.Row="0" Content="CUSTOMIZED RAL COLORS" FontSize="18" VerticalAlignment="Center"/>
+                                                <Grid Grid.Row="1"  Height="54"  VerticalAlignment="Bottom" Margin="0,0,0,12">
+                                                    <Grid.ColumnDefinitions>
+                                                        <ColumnDefinition Width="2*"/>
+                                                        <ColumnDefinition Width="4*"/>
+                                                        <ColumnDefinition Width="4*"/>
+                                                    </Grid.ColumnDefinitions>
+                                                    <Border BorderThickness="1" Height="54" Width="54"  CornerRadius="0"  HorizontalAlignment="Left" Margin="2,-2,0,0">
+                                                        <Button HorizontalAlignment="Center" VerticalAlignment="Center" Height="57" Width="57" Background="{Binding customize_hex}"  Command="{Binding set_shaft_ral_color}" CommandParameter="{Binding ElementName=customize_color,Path=Text}"  />
+                                                    </Border>
+
+                                                    <TextBox x:Name="customize_color" Grid.Column="1" Foreground="#FF6A6A6A" FontSize="16" Height="32" Width="200" Text="{Binding Shaft_Ral_Color}" VerticalAlignment="Bottom"  HorizontalAlignment="Left"  Background="Black" BorderBrush="{x:Null}" Margin="0,6" />
+                                                    <Rectangle  Grid.Column="1"  Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="200" HorizontalAlignment="Left" />
+                                                    <Button  Grid.Column="2" VerticalAlignment="Center"  Height="70" Background="{x:Null}" BorderBrush="{x:Null}"  Command="{Binding set_shaft_ral_color}" CommandParameter="{Binding ElementName=customize_color,Path=Text}" Foreground="{x:Null}" Margin="44,-11,37,-5" >
+                                                        <Image Source="image/btn/outline_format_paint_black_36dp.png"  Height="57" Width="57" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                    </Button>
+                                                </Grid>
+                                            </Grid>
+                                            <Grid x:Name="RAL_Color" Grid.Row="4" Margin="6,0,0,0" >
+                                                <ItemsControl x:Name="RAL_colors" Background="{x:Null}" ItemsSource="{Binding RAL_Color_List}" Width="425">
+                                                    <ItemsControl.ItemsPanel>
+                                                        <ItemsPanelTemplate>
+                                                            <WrapPanel/>
+                                                        </ItemsPanelTemplate>
+                                                    </ItemsControl.ItemsPanel>
+                                                    <ItemsControl.ItemTemplate>
+                                                        <DataTemplate>
+                                                            <Grid  Height="54" Width="54" >
+                                                                <Border BorderThickness="1" BorderBrush="{Binding btn_bg_color}" CornerRadius="0">
+                                                                    <Grid>
+                                                                        <Button HorizontalAlignment="Center" VerticalAlignment="Center" Height="56" Width="56" Background="{Binding hex}" Command="{Binding ElementName=RAL_colors, Path=DataContext.set_shaft_ral_color}" CommandParameter="{Binding Color}" />
+                                                                        <Label Content="{Binding color}" FontSize="10" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
+                                                                    </Grid>
+
+                                                                </Border>
+                                                            </Grid>
+
+
+                                                        </DataTemplate>
+                                                    </ItemsControl.ItemTemplate>
+                                                </ItemsControl>
+                                            </Grid>
+                                        </Grid>
+                                    </ScrollViewer>
+                                </Grid>
+                            </Grid>
+                        </Grid>
+                    </TabItem>
+                    <TabItem x:Name="enclosure_tab" Header="{Binding SelectedLanguage.Resources[EnclosureLabel]}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" Background="{x:Null}">
+                        <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
+                            <Grid x:Name="enclosure_mat" Margin="12,0">
+                                <Grid.RowDefinitions>
+                                    <RowDefinition Height="64"/>
+                                    <RowDefinition Height="{Binding StateModel.Cabin_Walls_Height}"/>
+                                    <RowDefinition Height="116"/>
+                                    <RowDefinition Height="286"/>
+                                    <RowDefinition Height="188"/>
+                                    <RowDefinition Height="168"/>
+                                </Grid.RowDefinitions>
+                                <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[BuildLabel]}" FontSize="22" VerticalAlignment="Center"/>
+                                <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="0,6"/>
+                                <Grid Grid.Row="1" Margin="0,12">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition Height="12"/>
+                                        <RowDefinition Height="246"/>
+                                        <RowDefinition Height="0"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CabinWallsLabel]}"/>
+                                    <Grid Grid.Row="2" >
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition/>
+                                        </Grid.RowDefinitions>
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Border Grid.Row="0" Grid.Column="0" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
+                                            <Grid>
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="C" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="128" Height="48" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_enclosure_mat_c" ItemsSource="{Binding Enclosure_Mat_C}" SelectedItem="{Binding Selected_Enclosure_Mat_C}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_c, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_c, Path=DataContext.isCH}"/>
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_c, ElementName=set_enclosure_mat_c}"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+                                        <Grid Grid.Column="1" Grid.Row="0" Margin="-10">
+                                            <Image Source="image/bg/lift_build_icon.png"/>
+                                        </Grid>
+                                        <Border Grid.Row="0" Grid.Column="2" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
+                                            <Grid>
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="A" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="48" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_enclosure_mat_a" ItemsSource="{Binding Enclosure_Mat_A}" SelectedItem="{Binding Selected_Enclosure_Mat_A}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center"  Visibility="{Binding ElementName=set_enclosure_mat_a, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_a, Path=DataContext.isCH}"/>
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_a, ElementName=set_enclosure_mat_a}"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+                                        <Border Grid.Row="1" Grid.Column="1" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
+                                            <Grid>
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="B" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="48" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_enclosure_mat_b" ItemsSource="{Binding Enclosure_Mat_B}" SelectedItem="{Binding Selected_Enclosure_Mat_B}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_b, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_b, Path=DataContext.isCH}"/>
+
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_b, ElementName=set_enclosure_mat_b}"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+
+                                    </Grid>
+                                    <Grid Grid.Row="3">
+                                        <ItemsControl x:Name="cabin_walls_mat" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Cabin_Walls_Mat_List}">
+                                            <ItemsControl.ItemsPanel>
+                                                <ItemsPanelTemplate>
+                                                    <WrapPanel/>
+                                                </ItemsPanelTemplate>
+                                            </ItemsControl.ItemsPanel>
+                                            <ItemsControl.ItemTemplate>
+                                                <DataTemplate>
+                                                    <Grid  Height="38" Width="168" Margin="10" Background="#1B1B1B">
+                                                        <Grid.ColumnDefinitions>
+                                                            <ColumnDefinition Width="8*"/>
+                                                            <ColumnDefinition Width="2*"/>
+                                                        </Grid.ColumnDefinitions>
+                                                        <Button Grid.Column="0" Content="{Binding name}" Height="60" Command="{Binding DataContext.set_shaft_standard_color, ElementName=standard_colors}" CommandParameter="{Binding name}" VerticalAlignment="Center"/>
+                                                        <Image  Grid.Column="1" Source="{Binding icon_texture}"/>
+                                                    </Grid>
+
+
+                                                </DataTemplate>
+                                            </ItemsControl.ItemTemplate>
+                                        </ItemsControl>
+                                    </Grid>
+
+                                </Grid>
+                                <Grid Grid.Row="2">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CabinDoorLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                    <Grid Grid.Row="1">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Button Height="46" Width="128" FontSize="14" Grid.Column="0" Content="{Binding SelectedLanguage.Resources[LightCurtainLabel]}" Margin="4,0" Background="#1B1B1B"/>
+                                        <Button Height="46" Width="128" FontSize="14" Grid.Column="1" Content="{Binding SelectedLanguage.Resources[BiFoldingLabel]}" Margin="4,0" Background="#1B1B1B" IsEnabled="False"/>
+                                    </Grid>
+                                    <Rectangle Height="1" Fill="#272727" Grid.Row="1" VerticalAlignment="Bottom"/>
+                                </Grid>
+                                <Grid Grid.Row="3" Margin="0,12" >
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[SevicePannelLabel]}" Margin="0,6" />
+                                    <ItemsControl x:Name="service_panel_mat" Grid.Row="1" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Service_Panel_Mat_List}">
+                                        <ItemsControl.ItemsPanel>
+                                            <ItemsPanelTemplate>
+                                                <WrapPanel/>
+                                            </ItemsPanelTemplate>
+                                        </ItemsControl.ItemsPanel>
+                                        <ItemsControl.ItemTemplate>
+                                            <DataTemplate>
+                                                <Grid Margin="4,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition/>
+                                                        <RowDefinition Height="4"/>
+                                                        <RowDefinition Height="32"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Button Grid.Row="0" Command="{Binding DataContext.set_service_panel_mat, ElementName=service_panel_mat}" CommandParameter="{Binding code}" VerticalAlignment="Center" >
+                                                        <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
+                                                            <Image Width="60" Height="60" Source="{Binding icon_texture}"/>
+                                                        </Border>
+                                                    </Button>
+                                                    <TextBlock  TextWrapping="WrapWithOverflow" Text="{Binding name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="60" Visibility="{Binding ElementName=service_panel_mat, Path=DataContext.isEN}"/>
+                                                    <TextBlock  TextWrapping="WrapWithOverflow" Text="{Binding ch_name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86"  Visibility="{Binding ElementName=service_panel_mat, Path=DataContext.isCH}"/>
+
+
+                                                </Grid>
+
+
+                                            </DataTemplate>
+                                        </ItemsControl.ItemTemplate>
+                                    </ItemsControl>
+                                    <Rectangle Height="1" Fill="#272727" Grid.Row="1" VerticalAlignment="Bottom"/>
+                                </Grid>
+                                <Grid Grid.Row="4">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarpetLabel]}"/>
+                                    <ItemsControl x:Name="carpet_panel_mat" Grid.Row="1" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Carpet_Mat_List}">
+                                        <ItemsControl.ItemsPanel>
+                                            <ItemsPanelTemplate>
+                                                <WrapPanel/>
+                                            </ItemsPanelTemplate>
+                                        </ItemsControl.ItemsPanel>
+                                        <ItemsControl.ItemTemplate>
+                                            <DataTemplate>
+                                                <Grid Margin="4,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition/>
+                                                        <RowDefinition Height="4"/>
+                                                        <RowDefinition Height="32"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Button Grid.Row="0" Command="{Binding DataContext.set_carpet_panel_mat, ElementName=carpet_panel_mat}" CommandParameter="{Binding code}" VerticalAlignment="Center" >
+                                                        <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
+                                                            <Image Width="60" Height="60" Source="{Binding icon_texture}"/>
+                                                        </Border>
+                                                    </Button>
+
+                                                    <TextBlock  TextWrapping="Wrap" Text="{Binding name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="60"  Visibility="{Binding ElementName=carpet_panel_mat, Path=DataContext.isEN}"/>
+                                                    <TextBlock  TextWrapping="Wrap" Text="{Binding ch_name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86"  Visibility="{Binding ElementName=carpet_panel_mat, Path=DataContext.isCH}"/>
+
+                                                </Grid>
+
+
+                                            </DataTemplate>
+                                        </ItemsControl.ItemTemplate>
+                                    </ItemsControl>
+                                </Grid>
+                                <Grid Grid.Row="5" Visibility="{Binding show_ambient_light}">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="24"/>
+                                        <RowDefinition Height="48"/>
+                                        <RowDefinition Height="48"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[AmbientLabel]}"/>
+                                    <Grid Grid.Row="1" Margin="24,0">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="28"/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <CheckBox x:Name="ambient_color" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding ambient_color_ischecked}" Command="{Binding trigger_ambient_light}">
+                                            <CheckBox.LayoutTransform>
+                                                <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
+                                            </CheckBox.LayoutTransform>
+
+                                        </CheckBox>
+                                        <TextBlock Grid.Column="1" Text="{Binding SelectedLanguage.Resources[CustomAmbientLabel]}" FontSize="16"  VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
+
+                                    </Grid>
+                                    <!--{Binding ambient_custom_color ,Mode=TwoWay}-->
+                                    <Grid Grid.Row="2" Margin="32,0" x:Name="custom_ambient_light" Visibility="{Binding ambient_slider_vis}">
+                                        <Slider Height="28"  x:Name="custom_color" VerticalAlignment="Center" Minimum="0" Maximum="100" Value="{Binding ambient_custom_color ,Mode=TwoWay}" Style="{StaticResource AmbientSliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding set_ambient_color}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+
+                                        <Border BorderThickness="2" CornerRadius="2" BorderBrush="Black" Background="Transparent" Height="10" Panel.ZIndex="-1">
+                                            <Rectangle Height="8"  >
+                                                <Rectangle.Fill>
+                                                    <LinearGradientBrush EndPoint="0,0" StartPoint="1,0">
+                                                        <GradientStop Color="White" Offset="0" />
+                                                        <GradientStop Color="Red" Offset="0.2" />
+                                                        <GradientStop Color="Yellow" Offset="0.4" />
+                                                        <GradientStop Color="Green" Offset="0.6" />
+                                                        <GradientStop Color="Blue" Offset="0.8" />
+                                                        <GradientStop Color="White" Offset="1" />
+                                                    </LinearGradientBrush>
+                                                </Rectangle.Fill>
+                                            </Rectangle>
+                                        </Border>
+                                    </Grid>
+
+                                </Grid>
+                            </Grid>
+                        </ScrollViewer>
+
+                    </TabItem>
+                    <i:Interaction.Triggers>
+                        <i:EventTrigger EventName="SelectionChanged">
+                            <i:InvokeCommandAction Command="{Binding SetCurrentTab}" CommandParameter="{Binding ElementName=main_tab, Path=SelectedValue}"/>
+                        </i:EventTrigger>
+                    </i:Interaction.Triggers>
+                </TabControl>
+                <Grid Grid.Row="1" Background="Black">
+                    <Grid.ColumnDefinitions>
+                        <ColumnDefinition Width="1*"/>
+                        <ColumnDefinition Width="1*"/>
+                        <ColumnDefinition Width="2*"/>
+                        <ColumnDefinition Width="1*"/>
+                        <ColumnDefinition Width="1*"/>
+                    </Grid.ColumnDefinitions>
+
+                    <!--<Button Grid.Column="1" x:Name="btn_export_video" Content="{Binding SelectedLanguage.Resources[ExportVideoLabel]}" Background="#FF1B1B1B" Height="44" Command="{Binding close_all_doors}" Margin="0"/>-->
+                    <Button Grid.Column="2" x:Name="btn_preview" Content="{Binding SelectedLanguage.Resources[PreviewLabel]}" Background="#F49811" Height="44" Command="{Binding make_preview}" Margin="0"/>
+
+                </Grid>
+            </Grid>
+        </Viewbox>
+    </Grid>
+</UserControl>

+ 55 - 0
Assets/Localization/MainWindow.xaml.cs

@@ -0,0 +1,55 @@
+#if UNITY_5_3_OR_NEWER
+#define NOESIS
+using Noesis;
+#else
+using System;
+using System.Windows;
+using System.Windows.Controls;
+#endif
+
+namespace Localization
+{
+    /// <summary>
+    /// Interaction logic for MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : UserControl
+    {
+        public MainWindow()
+        {
+            this.Initialized += OnInitialized;
+            this.InitializeComponent();
+        }
+
+#if NOESIS
+        void InitializeComponent()
+        {
+            Noesis.GUI.LoadComponent(this, "Assets/NoesisGUI/Samples/Localization/MainWindow.xaml");
+        }
+#endif
+
+        private void OnInitialized(object sender, EventArgs args)
+        {
+            this.DataContext = new ViewModel();
+        }
+
+        private void platform_bd_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+
+        }
+
+        private void set_enclosure_mat_a_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+
+        }
+
+        private void TabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+
+        }
+
+        private void main_tab_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+
+        }
+    }
+}

+ 4104 - 0
Assets/Localization/MainWindow_Kalea.xaml

@@ -0,0 +1,4104 @@
+<UserControl
+    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
+    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
+    xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions"
+    xmlns:local="clr-namespace:Localization"
+    x:Class="Localization.MainWindow"
+    FontFamily="./#Microsoft YaHei,./#Oxygen, ./#FontopoNIHONGO"
+    Foreground="White"
+    d:DesignWidth="2049 " d:DesignHeight="1563"
+    d:DataContext="{d:DesignInstance {x:Type local:ViewModel}, IsDesignTimeCreatable=True}">
+
+    <UserControl.Resources>
+        <ResourceDictionary>
+            <ResourceDictionary.MergedDictionaries>
+                <ResourceDictionary Source="Resources_Kalea.xaml"/>
+            </ResourceDictionary.MergedDictionaries>
+
+
+        </ResourceDictionary>
+        <!--<ControlTemplate x:Key="Template.TextBox" TargetType="TextBox">
+            <Grid Background="{TemplateBinding Background}">
+                <Border x:Name="Placeholder" Padding="{TemplateBinding Padding}" Margin="2,0" Visibility="Collapsed">
+                    <TextBlock Text="{Binding (noesis:Text.Placeholder), RelativeSource={RelativeSource TemplatedParent}}"/>
+                </Border>
+                <ScrollViewer x:Name="PART_ContentHost" Focusable="False" Padding="{TemplateBinding Padding}" Foreground="{TemplateBinding Foreground}"/>
+            </Grid>
+            <ControlTemplate.Triggers>
+                <Trigger Property="Text" Value="">
+                    <Setter Property="Visibility" Value="Visible" TargetName="Placeholder"/>
+                </Trigger>
+            </ControlTemplate.Triggers>
+        </ControlTemplate>-->
+        
+    </UserControl.Resources>
+    <UserControl.Triggers>
+        <EventTrigger RoutedEvent="FrameworkElement.Loaded">
+            <BeginStoryboard/>
+        </EventTrigger>
+    </UserControl.Triggers>
+
+    <Grid x:Name="LayoutRoot">
+        <Grid.RowDefinitions>
+            <RowDefinition Height="1*"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="119*"/>
+            <ColumnDefinition Width="400*"/>
+            <ColumnDefinition Width="455*"/>
+        </Grid.ColumnDefinitions>
+        <Image Grid.ColumnSpan="3" Source="image/bg/login_bg2.png" Visibility="{Binding Login_Vis}" Margin="-200,-500,-500,-500" />
+
+        <Viewbox Grid.Column="0" Grid.Row="0" >
+            <Grid Height="780" Width="128">
+                <Grid.RowDefinitions>
+                    <RowDefinition Height="1*"/>
+                    <RowDefinition Height="2*"/>
+                    <RowDefinition Height="1*"/>
+                    <RowDefinition Height="2*"/>
+                </Grid.RowDefinitions>
+                <Border Grid.Row="0" Background="Black" Height="32" Width="76" Margin="0,20,0,0" VerticalAlignment="Top" CornerRadius="6,6,6,6"  Visibility="{Binding Config_Vis}"/>
+
+
+
+                <ComboBox x:Name="LanguageSelector" Grid.Row="0"
+                  SelectedValuePath="Content" Foreground="White" Background="Black" BorderBrush="{x:Null}" SelectedValue="EN" Height="32" Width="76" FontSize="16" HorizontalAlignment="Center" Margin="0,20,0,0" VerticalAlignment="Top" Visibility="{Binding Config_Vis}">
+                    <ComboBoxItem Content="EN" Background="Black" FontSize="16"/>
+                    <ComboBoxItem Content="CH" Background="Black" FontSize="16"/>
+                    <i:Interaction.Triggers>
+                        <i:EventTrigger EventName="SelectionChanged">
+                            <i:InvokeCommandAction Command="{Binding change_selected_language }" CommandParameter="{Binding SelectedValue, ElementName=LanguageSelector}"/>
+                        </i:EventTrigger>
+                    </i:Interaction.Triggers>
+                </ComboBox>
+                <Grid  Grid.Row="3" Margin="32,0,0,20">
+                    <Grid.RowDefinitions>
+                        <RowDefinition/>
+                        <RowDefinition/>
+                        <RowDefinition/>
+                    </Grid.RowDefinitions>
+                    <Button Grid.Row="0" x:Name="full_screen" HorizontalAlignment="Left" Width="32" Height="32" VerticalAlignment="Bottom" Background="Black" BorderBrush="{x:Null}" Command="{Binding full_screen}"  Visibility="{Binding Full_Screen_Vis}">
+                        <Image  Margin="0" Source="image/btn/outline_fullscreen_white_24dp.png" Width="24" Height="24" HorizontalAlignment="Center" VerticalAlignment="Center" />
+                    </Button>
+                    <Button Grid.Row="1" x:Name="zoom_in" Content="+" HorizontalAlignment="Left" Width="32" Height="32" VerticalAlignment="Bottom" Background="Black" BorderBrush="{x:Null}" Command="{Binding zoom_in}"  Visibility="{Binding Config_Vis}"/>
+                    <Button Grid.Row="2" x:Name="zoom_out" Content="-" HorizontalAlignment="Left" Width="32" Height="32" VerticalAlignment="Bottom" Background="Black" BorderBrush="{x:Null}" Command="{Binding zoom_out}"  Visibility="{Binding Config_Vis}"/>
+                </Grid>
+
+            </Grid>
+        </Viewbox>
+        <Viewbox Grid.Column="2" Grid.Row="0" HorizontalAlignment="Right">
+            <Grid x:Name="Login" VerticalAlignment="Top" Background="Black" Panel.ZIndex="99" Visibility="{Binding Login_Vis}" Height="845" Width="455" RenderTransformOrigin="0.5,0.25" Margin="0" >
+                <Grid.RowDefinitions>
+                    <RowDefinition Height="256"/>
+                    <RowDefinition Height="40"/>
+                    <RowDefinition Height="56"/>
+                    <RowDefinition Height="56"/>
+                    <RowDefinition Height="56"/>
+                    <RowDefinition Height="56"/>
+                    <RowDefinition/>
+                </Grid.RowDefinitions>
+                <Grid Grid.Row="0" VerticalAlignment="Top">
+                    <Image x:Name="image" Margin="0" Source="image/logo.png" Height="256" Width="256"/>
+                </Grid>
+                <Grid Grid.Row="1" VerticalAlignment="Center">
+                    <Label Content="The username or password is incorrect." HorizontalAlignment="Center" Foreground="#FFFF5C5C" FontSize="10" Visibility="{Binding CanNotLogInMsg}"/>
+                </Grid>
+                <Grid Grid.Row="2"  Width="300">
+                    <ComboBox x:Name="login_server" SelectedValuePath="Content" Background="Red" BorderBrush="{x:Null}" SelectedValue="{Binding Login_Server}" FontSize="18" >
+                        <ComboBoxItem Content="Cibes China" Background="Red"/>
+                        <ComboBoxItem Content="Cibes Asia" Background="Red"/>
+                    </ComboBox>
+                </Grid>
+                <Grid Grid.Row="3" VerticalAlignment="Top" Width="300">
+                    <TextBox  x:Name="Username" Text="{Binding Username}" VerticalAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" FontSize="16" >
+                        <i:Interaction.Triggers>
+                            <i:EventTrigger EventName="GotKeyboardFocus">
+                                <noesis:SelectAllAction/>
+                            </i:EventTrigger>
+                        </i:Interaction.Triggers>
+                    </TextBox>
+                    <TextBlock x:Name="Placeholder" IsHitTestVisible="False" TextWrapping="Wrap" Text="Username" VerticalAlignment="Center" Foreground="DarkGray" FontSize="16" Margin="4,0,0,0" >
+                        <TextBlock.Style>
+                            <Style TargetType="{x:Type TextBlock}">
+                                <Setter Property="Visibility" Value="Collapsed"/>
+                                <Style.Triggers>
+                                    <DataTrigger Binding="{Binding Text, ElementName=Username}" Value="">
+                                        <Setter Property="Visibility" Value="Visible"/>
+                                    </DataTrigger>
+                                </Style.Triggers>
+                            </Style>
+                        </TextBlock.Style>
+                    </TextBlock>
+                    <Rectangle Fill="#FF363636" Margin="0,38,0,0" Height="1"/>
+                </Grid>
+                <Grid Grid.Row="4">
+                    <Grid.ColumnDefinitions>
+                        <ColumnDefinition/>
+                        <ColumnDefinition Width="260"/>
+                        <ColumnDefinition Width="40"/>
+                        <ColumnDefinition/>
+                    </Grid.ColumnDefinitions>
+                    <Grid Grid.Column="1" Height="40" VerticalAlignment="Top">
+                        <TextBox x:Name="PassBox" Background="{x:Null}" VerticalAlignment="Center" FontFamily="./font/#Password" Text="{Binding PassWord}" Visibility="{Binding PasswordVis}">
+                            <i:Interaction.Triggers>
+                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                    <noesis:SelectAllAction/>
+                                </i:EventTrigger>
+                            </i:Interaction.Triggers>
+                        </TextBox>
+                        <TextBlock x:Name="PassWoedPlaceHolder" IsHitTestVisible="False" TextWrapping="Wrap" Text="Password" VerticalAlignment="Center" Foreground="DarkGray" FontSize="16" Margin="4,0,0,0" >
+                            <TextBlock.Style>
+                                <Style TargetType="{x:Type TextBlock}">
+                                    <Setter Property="Visibility" Value="Collapsed"/>
+                                    <Style.Triggers>
+                                        <DataTrigger Binding="{Binding Text, ElementName=PassBox}" Value="">
+                                            <Setter Property="Visibility" Value="Visible"/>
+                                        </DataTrigger>
+                                    </Style.Triggers>
+                                </Style>
+                            </TextBlock.Style>
+                        </TextBlock>
+                        <TextBox x:Name="PassBox_Vis" Background="{x:Null}" VerticalAlignment="Center" Text="{Binding PassWord}" Visibility="{Binding PasswordVis_Off}" >
+                            <i:Interaction.Triggers>
+                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                    <noesis:SelectAllAction/>
+                                </i:EventTrigger>
+                            </i:Interaction.Triggers>
+                        </TextBox>
+                        <!--<PasswordBox noesis:Text.Placeholder="Password" Background="{x:Null}" VerticalAlignment="Center"/>-->
+                    </Grid>
+                    <Grid Grid.Column="2" Height="40" Width="40" VerticalAlignment="Top" Visibility="{Binding PasswordVis}">
+                        <Button Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding show_password}">
+                            <Image Source="image/btn/outline_visibility_black_24dp.png"/>
+                        </Button>
+                    </Grid>
+                    <Grid Grid.Column="2" Height="40" Width="40" VerticalAlignment="Top" Visibility="{Binding PasswordVis_Off}" >
+                        <Button Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding show_password}" >
+                            <Image Source="image/btn/outline_visibility_off_black_24dp.png"/>
+                        </Button>
+                    </Grid>
+                    <Rectangle Grid.Column="1" Grid.ColumnSpan="2" Fill="#FF363636" Width="360" Height="1" Margin="0,38,0,0"/>
+                </Grid>
+                <Grid Grid.Row="5">
+                    <Grid.ColumnDefinitions>
+                        <ColumnDefinition/>
+                        <ColumnDefinition Width="260"/>
+                        <ColumnDefinition Width="40"/>
+                        <ColumnDefinition/>
+                    </Grid.ColumnDefinitions>
+                    <Grid Grid.Column="1">
+                        <Grid.ColumnDefinitions>
+                            <ColumnDefinition Width="28"/>
+                            <ColumnDefinition/>
+                        </Grid.ColumnDefinitions>
+                        <CheckBox x:Name="SaveLogin" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding Save_Login}" >
+                            <CheckBox.LayoutTransform>
+                                <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
+                            </CheckBox.LayoutTransform>
+                        </CheckBox>
+                        <TextBlock Grid.Column="1" Text="Remember me" FontSize="16" VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
+                    </Grid>
+                </Grid>
+
+
+
+                <Grid Grid.Row="6" Height="42" VerticalAlignment="Top" Margin="56,100" >
+                    <Button x:Name="btn_login" Content="LOGIN" Margin="0" FontSize="16" Background="#5B85BB" BorderBrush="{x:Null}" Foreground="White" Command="{Binding click_login}"/>
+                </Grid>
+            </Grid>
+
+
+        </Viewbox>
+        <Viewbox Grid.Column="2" Grid.Row="0" HorizontalAlignment="Right" >
+            <Grid Height="945" Width="455" RenderTransformOrigin="0.5,0.25" Margin="0" Background="Black" Visibility="{Binding Config_Vis}" >
+                <Grid.RowDefinitions>
+                    <RowDefinition/>
+                    <RowDefinition Height="62"/>
+                </Grid.RowDefinitions>
+                <Rectangle Grid.Row="0" Height="1" VerticalAlignment="Top" Margin="0,42,0,0" Fill="#FF707070" Panel.ZIndex="1"/>
+                <TabControl x:Name="main_tab" SelectedValuePath="Name" Grid.Row="0" Background="Black" BorderBrush="{x:Null}">
+                    <TabControl.Resources>
+                        <Style TargetType="{x:Type TabPanel}">
+                            <Setter Property="HorizontalAlignment" Value="Center"/>
+                        </Style>
+
+                    </TabControl.Resources>
+                    <TabItem x:Name="settings_tab" Header="{Binding SelectedLanguage.Resources[SettingsLabel]}" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" >
+                        <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
+                            <Grid Margin="12,0,12,20">
+                                <Grid.RowDefinitions>
+                                    <RowDefinition Height="220"/>
+                                    <RowDefinition Height="125"/>
+                                    <RowDefinition/>
+                                    <RowDefinition Height="56"/>
+                                    <RowDefinition Height="300*"/>
+                                    <RowDefinition Height="200*"/>
+                                    <RowDefinition Height="200*"/>
+
+                                </Grid.RowDefinitions>
+
+                                <Grid x:Name="serie" Grid.Column="0" Grid.Row="0">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="4*"/>
+                                        <RowDefinition Height="16*"/>
+                                        <RowDefinition Height="1*"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[SerieLabel]}" FontSize="18" Margin="0,5"/>
+                                    <Grid Grid.Row="1">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="28*"/>
+                                            <ColumnDefinition Width="393*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition/>
+                                            <RowDefinition/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0" Margin="0,5" Grid.ColumnSpan="2">
+                                            <Grid.ColumnDefinitions>
+                                                <ColumnDefinition Width="1*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                            </Grid.ColumnDefinitions>
+                                            <Label Grid.Column="0" Content="X30" VerticalAlignment="Center" FontSize="24"/>
+                                            <Button Grid.Column="1" Content="{Binding SelectedLanguage.Resources[StandardLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[9]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X30_Standard" Foreground="White"/>
+                                            <Button Grid.Column="2" Content="{Binding SelectedLanguage.Resources[PremiumLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[10]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X30_Premium"/>
+                                            <Button Grid.Column="3" Content="{Binding SelectedLanguage.Resources[LimitedLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[11]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X30_Limited"/>
+
+                                        </Grid>
+                                        <Grid Grid.Row="1" Margin="0,5" Grid.ColumnSpan="2">
+                                            <Grid.ColumnDefinitions>
+                                                <ColumnDefinition Width="1*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                            </Grid.ColumnDefinitions>
+
+                                            <!--Disable the V80, client will release it in Nov.-->
+
+                                            <Label Grid.Column="0" Content="X50" VerticalAlignment="Center" FontSize="24"/>
+                                            <Button Grid.Column="1" Content="{Binding SelectedLanguage.Resources[StandardLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[12]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X50_Standard" IsEnabled="True"/>
+                                            <Button Grid.Column="2" Content="{Binding SelectedLanguage.Resources[PremiumLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[13]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X50_Premium" IsEnabled="True"/>
+                                            <Button Grid.Column="3" Content="{Binding SelectedLanguage.Resources[LimitedLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[14]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X50_Limited" IsEnabled="True"/>
+
+                                        </Grid>
+                                        <Grid Grid.Row="2" Margin="0,5" Grid.ColumnSpan="2">
+                                            <Grid.ColumnDefinitions>
+                                                <ColumnDefinition Width="1*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                                <ColumnDefinition Width="2*"/>
+                                            </Grid.ColumnDefinitions>
+                                            <Label Grid.Column="0" Content="X80" VerticalAlignment="Center" FontSize="24"/>
+                                            <Button Grid.Column="1" Content="{Binding SelectedLanguage.Resources[StandardLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[15]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X80_Standard"/>
+                                            <Button Grid.Column="2" Content="{Binding SelectedLanguage.Resources[PremiumLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[16]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X80_Premium"/>
+                                            <Button Grid.Column="3" Content="{Binding SelectedLanguage.Resources[LimitedLabel]}" FontSize="14" Height="46" Background="{Binding StateModel.Model_Btn_BG[17]}" Margin="10,0" Command="{Binding change_model}" CommandParameter="X80_Limited"/>
+
+                                        </Grid>
+
+
+
+                                    </Grid>
+                                    <Rectangle Grid.Row="2" Height="1" Fill="#FF272727"/>
+                                </Grid>
+                                <Grid x:Name="stop_count" Grid.Row="1" Margin="0,10">
+                                    <Grid Grid.Row="1" >
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition Height="1*"/>
+                                            <RowDefinition Height="2*"/>
+                                            <RowDefinition Height="3"/>
+                                        </Grid.RowDefinitions>
+                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StopCountLabel]}" Margin="0,5" Height="32"/>
+                                        <Grid Grid.Row="1" >
+                                            <Grid.ColumnDefinitions>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                                <ColumnDefinition/>
+                                            </Grid.ColumnDefinitions>
+                                            <Button Style="{StaticResource lift_stop_btn}" Grid.Column="0" Height="46" Width="32" VerticalAlignment="Center" Margin="10,0"  Background="{Binding StateModel.Stop_Count_Btn_BG[0]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="2"  >
+                                                <Label Content="2" FontSize="20" Foreground="White"/>
+                                            </Button>
+                                            <Button Style="{StaticResource lift_stop_btn}" Grid.Column="1" Height="46" Width="32" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[1]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="3">
+                                                <Label Content="3" FontSize="20" Foreground="White"/>
+                                            </Button>
+                                            <Button Style="{StaticResource lift_stop_btn}" Grid.Column="2" Height="46" Width="32" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[2]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="4">
+                                                <Label Content="4" FontSize="20" Foreground="White"/>
+                                            </Button>
+                                            <Button Style="{StaticResource lift_stop_btn}" Grid.Column="3" Height="46" Width="32" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[3]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="5">
+                                                <Label Content="5" FontSize="20" Foreground="White"/>
+                                            </Button>
+                                            <Button Style="{StaticResource lift_stop_btn}" Grid.Column="4" Height="46" Width="32" VerticalAlignment="Center" Margin="10,0" Background="{Binding StateModel.Stop_Count_Btn_BG[4]}" BorderBrush="{x:Null}" Command="{Binding change_stop_count}" CommandParameter="6">
+                                                <Label Content="6" FontSize="20" Foreground="White"/>
+                                            </Button>
+
+
+                                        </Grid>
+                                        <Rectangle Grid.Row="2" Height="1" Fill="#FF272727"/>
+                                    </Grid>
+
+                                </Grid>
+                                <Grid x:Name="travel_height" Grid.Row="2" Height="{Binding StateModel.Travel_Height_H}" >
+                                <!--<Grid x:Name="travel_height" Grid.Row="2" Height="1" >-->
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition Height="42"/>
+                                        <RowDefinition Height="42"/>
+                                        <RowDefinition Height="42"/>
+                                        <RowDefinition Height="42"/>
+                                        <RowDefinition Height="42"/>
+                                        <RowDefinition Height="42"/>
+
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[TravelHeightLabel]}" Margin="0,5" Height="32"/>
+                                    <Grid Grid.Row="1" >
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider Height="28" Grid.Column="1" x:Name="slider1" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[0]}" Maximum="5000" Value="{Binding TravelHeight_0 ,Mode=TwoWay}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_1}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox  Grid.Column="2" Width="46" InputScope="TelephoneLocalNumber" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center" Text="{Binding TravelHeight_0, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+                                    </Grid>
+                                    <Grid Grid.Row="2">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider  Height="28" Grid.Column="1" x:Name="slider2" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[1]}" Maximum="5000" Value="{Binding TravelHeight_1}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_2}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox Grid.Column="2" Width="46" InputScope="TelephoneLocalNumber" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_1, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+
+                                    </Grid>
+                                    <Grid Grid.Row="3" Height="{Binding Travel_Height_Vis_H[2]}" Visibility="{Binding StateModel.Travel_Height_Vis[2]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="3" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider  Height="28" Grid.Column="1" x:Name="slider3" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[2]}" Maximum="5000" Value="{Binding TravelHeight_2}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_3}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox Grid.Column="2" Width="46" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_2, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+                                    </Grid>
+                                    <Grid Grid.Row="4" Height="{Binding Travel_Height_Vis_H[3]}" Visibility="{Binding StateModel.Travel_Height_Vis[3]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="4" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider  Height="28" Grid.Column="1" x:Name="slider4" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[3]}" Maximum="5000" Value="{Binding TravelHeight_3}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_4}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox Grid.Column="2" Width="46" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_3, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+                                    </Grid>
+                                    <Grid Grid.Row="5" Height="{Binding Travel_Height_Vis_H[4]}" Visibility="{Binding StateModel.Travel_Height_Vis[4]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="5" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider  Height="28" Grid.Column="1" x:Name="slider5" VerticalAlignment="Center" Minimum="{Binding Travel_Height_Min[4]}" Maximum="5000" Value="{Binding TravelHeight_4,Mode=TwoWay}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_5}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox Grid.Column="2" Width="46" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_4,StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+                                    </Grid>
+                                    <Grid Grid.Row="6" Height="{Binding Travel_Height_Vis_H[5]}" Visibility="{Binding StateModel.Travel_Height_Vis[5]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="25*"/>
+                                            <ColumnDefinition Width="5*"/>
+                                            <ColumnDefinition Width="3*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Label Content="6" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                                        <Slider  Height="28" Grid.Column="1" x:Name="slider6" VerticalAlignment="Center" Minimum="2500" Maximum="5000" Value="{Binding TravelHeight_5}" Style="{StaticResource SliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1">
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding travel_height_slider_6}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+                                        <TextBox Grid.Column="2" Width="46" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{Binding TravelHeight_5, StringFormat={}{0:#}}" Background="#FF1B1B1B" BorderBrush="#FF363636" Margin="0,2" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="GotKeyboardFocus">
+                                                    <noesis:SelectAllAction/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </TextBox>
+                                        <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
+                                    </Grid>
+
+
+                                </Grid>
+                                <Grid x:Name="lift_height" Grid.Row="3">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="3"/>
+                                        <RowDefinition/>
+                                        <RowDefinition Height="3"/>
+                                    </Grid.RowDefinitions>
+                                    <Grid.ColumnDefinitions>
+                                        <ColumnDefinition Width="4*"/>
+                                        <ColumnDefinition Width="1*"/>
+                                    </Grid.ColumnDefinitions>
+                                    <Rectangle Grid.Row="0" Height="1" Fill="#FF272727" Grid.ColumnSpan="2"/>
+                                    <Label Grid.Column="0" Grid.Row="1" Height="32" FontSize="18" Content="{Binding SelectedLanguage.Resources[LiftHeightLabel]}" VerticalAlignment="Center" Margin="0,8,0,0"/>
+                                    <Label Grid.Column="1" Grid.Row="1" Content="{Binding Lift_Height}" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#FF7A7A7A"/>
+                                    <Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727"/>
+                                </Grid>
+                                <Grid x:Name="platform_size" Grid.Row="4" >
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition  Height="42"/>
+                                        <RowDefinition Height="8*"/>
+                                        <RowDefinition Height="2"/>
+
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[ShaftSizeLabel]}" Margin="0,5" VerticalAlignment="Center"/>
+                                    <Grid Grid.Row="1">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0" >
+                                            <Grid>
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="68"/>
+                                                    <RowDefinition Height="52"/>
+                                                    <RowDefinition Height="52"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid Grid.Row="0">
+                                                    <Grid>
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="16"/>
+                                                            <RowDefinition Height="32"/>
+                                                            <RowDefinition Height="2"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="B/D" FontSize="12" Foreground="#7A7A7A"/>
+                                                        <ComboBox Grid.Row="1" x:Name="platform_bd_1500" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeBD}" FontSize="18" Visibility="{Binding shaft_bd_1500_vis}">
+                                                            <ComboBoxItem Content="900mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1000mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1100mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1200mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1300mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1400mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1500mm" Background="Black"/>
+                                                            <i:Interaction.Triggers>
+                                                                <i:EventTrigger EventName="SelectionChanged">
+                                                                    <i:InvokeCommandAction Command="{Binding set_platformSizeBD }"/>
+                                                                </i:EventTrigger>
+                                                            </i:Interaction.Triggers>
+                                                        </ComboBox>
+                                                        <ComboBox Grid.Row="1" x:Name="platform_bd_1400" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeBD}" FontSize="18" Visibility="{Binding shaft_bd_1400_vis}">
+                                                            <ComboBoxItem Content="900mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1000mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1100mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1200mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1300mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1400mm" Background="Black"/>
+                                                            <i:Interaction.Triggers>
+                                                                <i:EventTrigger EventName="SelectionChanged">
+                                                                    <i:InvokeCommandAction Command="{Binding set_platformSizeBD }"/>
+                                                                </i:EventTrigger>
+                                                            </i:Interaction.Triggers>
+                                                        </ComboBox>
+                                                        <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                                    </Grid>
+                                                </Grid>
+                                                <Grid Grid.Row="1">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="16"/>
+                                                        <RowDefinition/>
+                                                    </Grid.RowDefinitions>
+                                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CutOutBDLabel]}" FontSize="12" Foreground="#7A7A7A"/>
+                                                    <Label Grid.Row="1" Content="{Binding Cut_Out_Size_BD}"/>
+                                                </Grid>
+                                                <Grid Grid.Row="2">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="16"/>
+                                                        <RowDefinition/>
+                                                    </Grid.RowDefinitions>
+                                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarSizeBDLabel]}" FontSize="12" Foreground="#7A7A7A"/>
+                                                    <Label Grid.Row="1" Content="{Binding Car_Size_BD}"/>
+                                                </Grid>
+                                            </Grid>
+                                        </Grid>
+                                        <Grid Grid.Column="0">
+                                            <Grid>
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="68"/>
+                                                    <RowDefinition Height="52"/>
+                                                    <RowDefinition Height="52"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid Grid.Row="0">
+                                                    <Grid>
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="16"/>
+                                                            <RowDefinition Height="32"/>
+                                                            <RowDefinition Height="2"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="A/C" FontSize="12" Foreground="#7A7A7A"/>
+                                                        <ComboBox Grid.Row="1" x:Name="platform_ac_1500" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeAC}" FontSize="18" Visibility="{Binding shaft__ac_1500_vis}">
+                                                            <ComboBoxItem Content="1000mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1100mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1200mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1300mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1400mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1500mm" Background="Black"/>
+                                                            <i:Interaction.Triggers>
+                                                                <i:EventTrigger EventName="SelectionChanged">
+                                                                    <i:InvokeCommandAction Command="{Binding set_platformSizeAC }"/>
+                                                                </i:EventTrigger>
+                                                            </i:Interaction.Triggers>
+                                                        </ComboBox>
+                                                        <ComboBox Grid.Row="1" x:Name="platform_ac_1400" SelectedValuePath="Content" Background="Black" BorderBrush="{x:Null}" SelectedValue="{Binding PlatformSizeAC}" FontSize="18" Visibility="{Binding shaft_ac_1400_vis}">
+                                                            <ComboBoxItem Content="1000mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1100mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1200mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1300mm" Background="Black"/>
+                                                            <ComboBoxItem Content="1400mm" Background="Black"/>
+                                                            <i:Interaction.Triggers>
+                                                                <i:EventTrigger EventName="SelectionChanged">
+                                                                    <i:InvokeCommandAction Command="{Binding set_platformSizeAC }"/>
+                                                                </i:EventTrigger>
+                                                            </i:Interaction.Triggers>
+                                                        </ComboBox>
+                                                        <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+
+                                                    </Grid>
+                                                </Grid>
+                                                <Grid Grid.Row="1">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="16"/>
+                                                        <RowDefinition/>
+                                                    </Grid.RowDefinitions>
+                                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CutOutACLabel]}" FontSize="12" Foreground="#7A7A7A"/>
+                                                    <Label Grid.Row="1" Content="{Binding Cut_Out_Size_AC}"/>
+                                                </Grid>
+                                                <Grid Grid.Row="2">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="16"/>
+                                                        <RowDefinition/>
+                                                    </Grid.RowDefinitions>
+                                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarSizeACLabel]}" FontSize="12" Foreground="#7A7A7A"/>
+                                                    <Label Grid.Row="1" Content="{Binding Car_Size_AC}"/>
+                                                </Grid>
+                                            </Grid>
+                                        </Grid>
+                                    </Grid>
+                                    <Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727"/>
+                                </Grid>
+                                <Grid x:Name="starting_floor" Grid.Row="5" Margin="0,5" Height="0">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="2*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="4"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StaringFloorLabel]}" VerticalAlignment="Bottom"/>
+                                    <Grid Grid.Row="1">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <ComboBox Grid.Row="1" x:Name="start_floor" SelectedValuePath="Content" Background="Black" SelectedValue="{Binding StartingDoor}" FontSize="18">
+                                                <ComboBoxItem Content="6" Background="Black"/>
+                                                <ComboBoxItem Content="5" Background="Black"/>
+                                                <ComboBoxItem Content="4" Background="Black"/>
+                                                <ComboBoxItem Content="3" Background="Black"/>
+                                                <ComboBoxItem Content="2" Background="Black"/>
+                                                <ComboBoxItem Content="1" Background="Black"/>
+                                                <ComboBoxItem Content="0" Background="Black"/>
+                                                <ComboBoxItem Content="-1" Background="Black"/>
+                                                <ComboBoxItem Content="{Binding SelectedLanguage.Resources[BasementLabel]}" Background="Black"/>
+                                            </ComboBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    
+                                        <!--<Grid Grid.Column="1">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CustomizeLabel]}" FontSize="12" Foreground="#7A7A7A"/>
+                                            <ComboBox Grid.Row="1" x:Name="start_floor_name" SelectedValuePath="Content" Background="Black" SelectedValue="{Binding StartingDoorName}" FontSize="18">
+                                                <ComboBoxItem Content="6" Background="Black"/>
+                                                <ComboBoxItem Content="5" Background="Black"/>
+                                                <ComboBoxItem Content="4" Background="Black"/>
+                                                <ComboBoxItem Content="3" Background="Black"/>
+                                                <ComboBoxItem Content="2" Background="Black"/>
+                                                <ComboBoxItem Content="1" Background="Black"/>
+                                                <ComboBoxItem Content="0" Background="Black"/>
+                                                <ComboBoxItem Content="-1" Background="Black"/>
+                                                <ComboBoxItem Content="-2" Background="Black"/>
+                                            </ComboBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>-->
+                                    </Grid>
+                                    <!--<Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727" Margin="0,2,0,0" />-->
+                                </Grid>
+                                <Grid x:Name="floor_annotation" Grid.Row="6" Margin="0,5" >
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="2*"/>
+                                        <RowDefinition Height="3*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="5*"/>
+                                        <RowDefinition Height="5*"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[FloorAnnotationLabel]}" VerticalAlignment="Bottom" />
+                                    <Grid Grid.Row="1" Margin="0,5">
+                                        <Grid Grid.Column="1">
+                                            <Grid.ColumnDefinitions>
+                                                <ColumnDefinition Width="28"/>
+                                                <ColumnDefinition/>
+                                            </Grid.ColumnDefinitions>
+                                            <CheckBox x:Name="CustomizeFloorName" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding IsCustomizeFloorName}" Command="{Binding trigger_custmozie_floor_name}" >
+                                                <CheckBox.LayoutTransform>
+                                                    <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
+                                                </CheckBox.LayoutTransform>
+                                            </CheckBox>
+                                            <TextBlock Grid.Column="1" Text="Custom Name" FontSize="16" VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="2"  Visibility="{Binding CustomizFloorVis[0]}" Height="{Binding floor_annotation_height[0]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[0]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="3"  Visibility="{Binding CustomizFloorVis[1]}" Height="{Binding floor_annotation_height[1]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="2" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[1]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="4"  Visibility="{Binding CustomizFloorVis[2]}" Height="{Binding floor_annotation_height[2]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[2]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="5"  Visibility="{Binding CustomizFloorVis[3]}" Height="{Binding floor_annotation_height[3]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="4" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[3]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="6"  Visibility="{Binding CustomizFloorVis[4]}" Height="{Binding floor_annotation_height[4]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="5" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[4]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                    <Grid Grid.Row="7"  Visibility="{Binding CustomizFloorVis[5]}" Height="{Binding floor_annotation_height[5]}">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Grid Grid.Column="0" Margin="0,0,5,0" >
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBlock  Grid.Row="1" Text="6" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                        </Grid>
+                                        <Grid Grid.Column="1" Margin="0,0,5,0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="16"/>
+                                                <RowDefinition Height="32"/>
+                                                <RowDefinition Height="2"/>
+                                            </Grid.RowDefinitions>
+                                            <TextBox  Grid.Row="1" Text="{Binding CustomizFloorName[5]}" VerticalAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" Margin="0,0,0,0" Width="198">
+                                                <i:Interaction.Triggers>
+                                                    <i:EventTrigger EventName="LostKeyboardFocus">
+                                                        <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
+                                                    </i:EventTrigger>
+                                                </i:Interaction.Triggers>
+                                            </TextBox>
+                                            <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
+                                        </Grid>
+                                    </Grid>
+                                </Grid>
+                            </Grid>
+                        </ScrollViewer>
+
+                    </TabItem>
+                    <TabItem x:Name="shaft_tab" Header="{Binding SelectedLanguage.Resources[ShaftLabel]}" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" Padding="64,0">
+                        <Grid Margin="-50,0,0,0">
+                            <Grid.ColumnDefinitions>
+                                <ColumnDefinition Width="42"/>
+                                <ColumnDefinition/>
+                            </Grid.ColumnDefinitions>
+                            <Grid Grid.Column="0" x:Name="shaft_menu" Width="62" Margin="-16,0,0,0">
+                                <Grid  Background="Black" VerticalAlignment="Top">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition/>
+                                        <RowDefinition/>
+                                        <RowDefinition/>
+                                    </Grid.RowDefinitions>
+                                    <Button Grid.Row="0" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_build}" IsEnabled="{Binding Build_Enable }">
+                                        <Grid>
+                                            <Image Source="image/btn/menu_build_on.png" Visibility="{Binding StateModel.Menu_On[0]}"/>
+                                            <Image Source="image/btn/menu_build_off.png" Visibility="{Binding StateModel.Menu_Off[0]}"/>
+                                        </Grid>
+
+                                    </Button>
+                                    <Button Grid.Row="1" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_shape}">
+                                        <Grid>
+                                            <Image Source="image/btn/menu_door_on.png" Visibility="{Binding StateModel.Menu_On[1]}"/>
+                                            <Image Source="image/btn/menu_door_off.png" Visibility="{Binding StateModel.Menu_Off[1]}"/>
+                                        </Grid>
+
+                                    </Button>
+                                    <Button Grid.Row="2" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_color}" >
+                                        <Grid>
+                                            <Image Source="image/btn/menu_color_on.png" Visibility="{Binding StateModel.Menu_On[2]}"/>
+                                            <Image Source="image/btn/menu_color_off.png" Visibility="{Binding StateModel.Menu_Off[2]}"/>
+                                        </Grid>
+                                    </Button>
+                                </Grid>
+                            </Grid>
+                            <Grid x:Name="shaft_tab_content" Grid.Column="1" Margin="4,0,0,0">
+                                <Grid x:Name="build_page" Grid.Column="1" Visibility="{Binding Build_Vis}" Margin="16,0" d:IsHidden="True">
+
+
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="64"/>
+                                        <RowDefinition Height="400*"/>
+                                        <RowDefinition Height="32*"/>
+                                    </Grid.RowDefinitions>
+                                    <Grid Grid.Row="0" Grid.Column="0">
+                                        <Label Content="{Binding SelectedLanguage.Resources[BuildLabel]}" FontSize="22" VerticalAlignment="Center"/>
+                                    </Grid>
+                                    <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="0,6"/>
+                                    <Grid Grid.Row="1">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition/>
+                                            <RowDefinition/>
+                                        </Grid.RowDefinitions>
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Border Grid.Row="0" Grid.Column="1" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" >
+                                            <Grid   >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="D" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_shaft_mat_d" ItemsSource="{Binding Shaft_Mat_List_D}" SelectedItem="{Binding Selected_Shaft_Mat_D}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0" Height="38">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2"  TextWrapping="Wrap" FontSize="12" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_d, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2"  TextWrapping="Wrap" FontSize="12" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_d, Path=DataContext.isCH}"/>
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_d, Path=DataContext.set_shaft_mat_d  }"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+                                        <Border Grid.Row="1" Grid.Column="0" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" Margin="0,0,12,0" >
+                                            <Grid   >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="C" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_shaft_mat_c" ItemsSource="{Binding Shaft_Mat_List_C}" SelectedItem="{Binding Selected_Shaft_Mat_C}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0" Height="38">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12"  TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_c, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12"  TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_c, Path=DataContext.isCH}"/>
+
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_c, Path=DataContext.set_shaft_mat_c  }"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+
+                                            </Grid>
+                                        </Border>
+                                        <Grid Grid.Column="1" Grid.Row="1" Margin="-10">
+                                            <Image Source="image/bg/lift_build_icon.png"/>
+                                        </Grid>
+                                        <Border Grid.Row="1" Grid.Column="2" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" Margin="12,0,0,0" >
+                                            <Grid   >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="A" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_shaft_mat_a" ItemsSource="{Binding Shaft_Mat_List_A}" SelectedItem="{Binding Selected_Shaft_Mat_A}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0" Height="38">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center"  Visibility="{Binding ElementName=set_shaft_mat_a, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_a, Path=DataContext.isCH}"/>
+
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_a, Path=DataContext.set_shaft_mat_a  }"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+                                        <Border Grid.Row="2" Grid.Column="1" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" >
+                                            <Grid   >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="B" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_shaft_mat_b" ItemsSource="{Binding Shaft_Mat_List_B}" SelectedItem="{Binding Selected_Shaft_Mat_B}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0" Height="38">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center"  Visibility="{Binding ElementName=set_shaft_mat_b, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_b, Path=DataContext.isCH}"/>
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_b, Path=DataContext.set_shaft_mat_b  }"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+                                        <Border Grid.Row="1" Grid.Column="1" Background="#1B1B1B" Height="66" Width="128" CornerRadius="6,6,6,6" Visibility="Hidden" >
+                                            <Grid   >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="E" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Height="36" Width="122" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_shaft_mat_e" ItemsSource="{Binding Shaft_Mat_List_E}" SelectedItem="{Binding Selected_Shaft_Mat_E}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0" Height="38">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center"  Visibility="{Binding ElementName=set_shaft_mat_e, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_shaft_mat_e, Path=DataContext.isCH}"/>
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_e, Path=DataContext.set_shaft_mat_e  }"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+
+                                    </Grid>
+
+                                </Grid>
+                                <Grid x:Name="shape_page" Grid.Column="1" Visibility="{Binding Shape_Vis}" Margin="3,0" d:IsHidden="True" >
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="64"/>
+                                        <RowDefinition Height="2*"/>
+                                        <RowDefinition Height="28*"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorsLabel]}" FontSize="22" VerticalAlignment="Center" Margin="13,0"/>
+                                    <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="13,6"/>
+                                    <Grid Grid.Row="1" Height="36" Background="#1B1B1B">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                            <ColumnDefinition Width="1*"/>
+                                        </Grid.ColumnDefinitions>
+                                        <Border  Grid.Column="1" BorderThickness="1" >
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_1F}" >
+                                                <TextBlock Text="1F" FontSize="18" Foreground="{Binding floor_btn_bg_color[0]}"/>
+                                            </Button>
+                                        </Border>
+                                        <Border  Grid.Column="2" BorderThickness="1" >
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_2F}" >
+                                                <TextBlock Text="2F" FontSize="18" Foreground="{Binding floor_btn_bg_color[1]}"/>
+                                            </Button>
+                                        </Border>
+                                        <Border  Grid.Column="3" BorderThickness="1" >
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_3F}" Visibility="{Binding Door_3F_Btn_Vis}">
+                                                <TextBlock Text="3F" FontSize="18" Foreground="{Binding floor_btn_bg_color[2]}"/>
+                                            </Button>
+                                        </Border>
+                                        <Border  Grid.Column="4" BorderThickness="1" >
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_4F}" Visibility="{Binding Door_4F_Btn_Vis}">
+                                                <TextBlock Text="4F" FontSize="18" Foreground="{Binding floor_btn_bg_color[3]}"/>
+                                            </Button>
+                                        </Border>
+                                        <Border Grid.Column="5" BorderThickness="1">
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_5F}" Visibility="{Binding Door_5F_Btn_Vis}">
+                                                <TextBlock Text="5F" FontSize="18" Foreground="{Binding floor_btn_bg_color[4]}"/>
+                                            </Button>
+                                        </Border>
+                                        <Border  Grid.Column="6" BorderThickness="1">
+                                            <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_6F}" Visibility="{Binding Door_6F_Btn_Vis}" >
+                                                <TextBlock Text="6F" FontSize="18" Foreground="{Binding floor_btn_bg_color[5]}"/>
+                                            </Button>
+                                        </Border>
+                                    </Grid>
+                                    <Grid x:Name="door_1F" Grid.Row="2" Visibility="{Binding Door_1F_Vis}" Margin="0,48,0,0" Background="Black" d:IsHidden="True">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="0" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="0" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="0" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[0]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[0]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[0]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[0]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+
+                                            <!--<Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[0]}">
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition Width="7*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding set_door_page}" CommandParameter="1_A" Visibility="{Binding StateModel.Door_A_Btn_Vis[0]}">
+                                                    <Label Content="A" Foreground="{Binding StateModel.Door_A_Btn_Color[0]}"/>
+                                                </Button>
+                                                <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding set_door_page}" CommandParameter="1_B" Visibility="{Binding StateModel.Door_B_Btn_Vis[0]}">
+                                                    <Label Content="B" Foreground="{Binding StateModel.Door_B_Btn_Color[0]}"/>
+                                                </Button>
+                                                <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding set_door_page}" CommandParameter="1_C" Visibility="{Binding StateModel.Door_C_Btn_Vis[0]}">
+                                                    <Label Content="C" Foreground="{Binding StateModel.Door_C_Btn_Color[0]}"/>
+                                                </Button>
+                                            </Grid>-->
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[0]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[0]}" Panel.ZIndex="1"/>-->
+                                        <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[0]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+
+                                                </Style>
+
+
+                                            </TabControl.Resources>
+
+                                            <TabItem Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_a_btn_selected}" x:Name="door_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[0]}">
+                                                <Grid x:Name="Door_1F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[0]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[1]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[2]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[3]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[4]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[5]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[6]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[7]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[0]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[0]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[0]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_0A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_b_btn" Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_b_btn_selected}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[0]}">
+                                                <Grid x:Name="Door_1F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[8]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[9]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[10]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[11]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[12]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[13]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[14]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[15]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[0]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[0]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[0]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_0B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_c_btn" Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_c_btn_selected}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[0]}">
+                                                <Grid x:Name="Door_1F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[16]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[17]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[18]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door1C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[19]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[20]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door1C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[0]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[21]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[22]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[23]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door1C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[0]}" />
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[0]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[0]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_0C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+
+                                                </Grid>
+
+                                            </TabItem>
+                                        </TabControl>
+
+                                    </Grid>
+                                    <Grid x:Name="door_2F" Grid.Row="2" Visibility="{Binding Door_2F_Vis}" Margin="0,48,0,0" Background="Black">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="1" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="1" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="1" >
+                                                    <Grid>
+                                                        <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                        <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                    </Grid>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[1]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[1]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[1]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[1]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+                                            <!--<Rectangle Grid.Row="1" Height="2" Fill="#272727" Margin="32,0"/>
+                                            <Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[1]}" >
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition Width="7*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Content="A" Command="{Binding set_door_page}" CommandParameter="A"/>
+                                                <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Content="B" Command="{Binding set_door_page}" CommandParameter="B"/>
+                                                <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Content="C" Command="{Binding set_door_page}" CommandParameter="C"/>
+                                            </Grid>-->
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[1]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[1]}" Panel.ZIndex="1"/>-->
+                                        <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[1]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+                                                </Style>
+                                            </TabControl.Resources>
+
+                                            <TabItem Style="{StaticResource door_select_btn}" IsSelected="{Binding StateModel.door_a_btn_selected}" x:Name="door_2f_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[1]}" >
+                                                <Grid x:Name="Door_2F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[24]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[25]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[26]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[27]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[28]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[29]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[30]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[31]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[1]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[1]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[1]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_1A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_2f_b_btn" IsSelected="{Binding StateModel.door_b_btn_selected}" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[1]}">
+                                                <Grid x:Name="Door_2F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[32]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[33]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[34]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[35]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[36]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[37]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[38]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[39]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[1]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[1]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[1]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_1B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_2f_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[1]}">
+                                                <Grid x:Name="Door_2F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[40]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[41]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[42]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door2C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[43]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[44]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door2C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[1]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[45]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[46]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[47]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door2C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[1]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[1]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[1]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_1C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                        </TabControl>
+                                    </Grid>
+                                    <Grid x:Name="door_3F" Grid.Row="2" Visibility="{Binding Door_3F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="2" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}"  CommandParameter="2" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="2" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[2]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[2]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[2]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[2]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+                                            <!--<Rectangle Grid.Row="1" Height="2" Fill="#272727" Margin="32,0"/>
+                                            <Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[2]}">
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition/>
+                                                    <ColumnDefinition Width="7*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Content="A" Command="{Binding set_door_page}" CommandParameter="A"/>
+                                                <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Content="B" Command="{Binding set_door_page}" CommandParameter="B"/>
+                                                <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Content="C" Command="{Binding set_door_page}" CommandParameter="C"/>
+                                            </Grid>-->
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[2]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[2]}" Panel.ZIndex="1"/>-->
+                                        <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[2]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+                                                </Style>
+                                            </TabControl.Resources>
+
+                                            <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_3F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[2]}">
+                                                <Grid x:Name="Door_3F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[48]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[49]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[50]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[51]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[52]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[53]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[54]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[55]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[2]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[2]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[2]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_2A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_3F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[2]}">
+                                                <Grid x:Name="Door_3F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[56]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[57]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[58]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[59]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[60]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[61]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[62]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[63]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[2]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[2]}"/>
+                                                            <ComboBox x:Name="door2bWidth" Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[2]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_2B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_3F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[2]}">
+                                                <Grid x:Name="Door_3F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[64]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[65]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[66]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door3C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[67]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[68]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door3C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[2]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[69]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[70]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[71]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door3C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[2]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[2]}" />
+                                                            <ComboBox  Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[2]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_2C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                        </TabControl>
+                                    </Grid>
+                                    <Grid x:Name="door_4F" Grid.Row="2" Visibility="{Binding Door_4F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="3" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="3" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="3" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[3]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[3]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[3]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[3]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[3]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[3]}" Panel.ZIndex="1"/>-->
+                                        <TabControl  Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[3]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+                                                </Style>
+                                            </TabControl.Resources>
+
+                                            <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_4F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[3]}">
+                                                <Grid x:Name="Door_4F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[72]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[73]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[74]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[75]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[76]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[77]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[78]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[79]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[3]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[3]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[3]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_3A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_4F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[3]}">
+                                                <Grid x:Name="Door_4F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[80]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[81]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[82]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[83]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[84]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[85]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[86]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[87]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[3]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[3]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[3]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_3B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_4F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[3]}">
+                                                <Grid x:Name="Door_4F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[88]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[89]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[90]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door4C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[91]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[92]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door4C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[3]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[93]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[94]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[95]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door4C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[3]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[3]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[3]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_3C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                        </TabControl>
+                                    </Grid>
+                                    <Grid x:Name="door_5F" Grid.Row="2" Visibility="{Binding Door_5F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="4" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="4" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="4" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[4]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[4]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[4]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[4]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[4]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[4]}" Panel.ZIndex="1"/>-->
+                                        <TabControl  Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[4]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+                                                </Style>
+                                            </TabControl.Resources>
+
+                                            <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_5F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[4]}">
+                                                <Grid x:Name="Door_5F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[96]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[97]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[98]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[99]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[100]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[101]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[102]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[103]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[4]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[4]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[4]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_4A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_5F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[4]}">
+                                                <Grid x:Name="Door_5F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[104]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[105]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[106]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[107]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[108]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[109]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[110]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[111]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[4]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[4]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[4]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_4B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_5F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[4]}">
+                                                <Grid x:Name="Door_5F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[112]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[113]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[114]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door5C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[115]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[116]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door5C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[4]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[117]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[118]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[119]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door5C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[4]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[4]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[4]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_4C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                        </TabControl>
+                                    </Grid>
+                                    <Grid x:Name="door_6F" Grid.Row="2" Visibility="{Binding Door_6F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition Height="302"/>
+                                            <RowDefinition Height="0"/>
+                                        </Grid.RowDefinitions>
+                                        <Grid Grid.Row="0">
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="9*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="2*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="34*"/>
+                                                    <RowDefinition Height="69*"/>
+                                                    <RowDefinition Height="80*"/>
+                                                    <RowDefinition Height="74*"/>
+                                                </Grid.RowDefinitions>
+                                                <Grid.ColumnDefinitions>
+                                                    <ColumnDefinition Width="94*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="92*"/>
+                                                    <ColumnDefinition Width="72*"/>
+                                                    <ColumnDefinition Width="94*"/>
+                                                </Grid.ColumnDefinitions>
+                                                <Button Grid.Column="1" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_c_switch_wrap}" Visibility="{Binding StateModel.Door_C_Switch_Vis}" CommandParameter="5" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+
+
+                                                <Button Grid.Column="3" Grid.Row="1" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"  Command="{Binding door_a_switch_wrap}" Visibility="{Binding StateModel.Door_A_Switch_Vis}" CommandParameter="5" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                                <Button Grid.Column="2" Grid.Row="2" Height="38" Width="38" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding door_b_switch_wrap}" CommandParameter="5" >
+                                                    <Button.Content>
+                                                        <Grid>
+                                                            <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                            <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
+                                                        </Grid>
+                                                    </Button.Content>
+                                                </Button>
+                                            </Grid>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Close_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Left_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Right_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_a_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_A_Saloon_Vis[5]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Close_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Left_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Right_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_b_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_B_Saloon_Vis[5]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_close.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Close_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_left.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Left_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_right.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Right_Vis[5]}" Panel.ZIndex="-1"/>
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_c_saloon.png" Margin="0,0,0,5" Grid.RowSpan="3" Visibility="{Binding StateModel.Door_C_Saloon_Vis[5]}" Panel.ZIndex="-1"/>
+
+                                            <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
+
+                                        </Grid>
+                                        <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[5]}"/>
+                                        <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[5]}" Panel.ZIndex="1"/>-->
+                                        <TabControl  Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[5]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
+                                            <TabControl.Resources>
+                                                <Style TargetType="{x:Type TabPanel}">
+                                                    <Setter Property="HorizontalAlignment" Value="Left"/>
+                                                </Style>
+                                            </TabControl.Resources>
+
+                                            <TabItem IsSelected="{Binding StateModel.door_a_btn_selected}" Style="{StaticResource door_select_btn}" x:Name="door_6F_a_btn" Header="A" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_A_Btn_Vis[5]}">
+                                                <Grid x:Name="Door_6F_A" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[120]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6A_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[121]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6A_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[122]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6A_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[123]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6A_L" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[124]}" FontSize="14" Width="58" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6A_R" IsEnabled="{Binding StateModel.Door_A_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[125]}" FontSize="14" Width="68" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6A_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[126]}" FontSize="14" Width="72" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6A_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[127]}" FontSize="14" Width="68" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6A_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[5]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[5]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[5]}" />
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_a_saloon_selected[5]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_5A_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem IsSelected="{Binding StateModel.door_b_btn_selected}" x:Name="door_6F_b_btn" Style="{StaticResource door_select_btn}" Header="B" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_B_Btn_Vis[5]}">
+                                                <Grid x:Name="Door_6F_B" Grid.Row="1" Margin="0,6,0,0">
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[128]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6B_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[129]}" FontSize="14" Width="68" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6B_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[130]}" FontSize="14" Width="82" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6B_HalfGate" HorizontalContentAlignment="Center" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[131]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6B_L" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[132]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6B_R" IsEnabled="{Binding StateModel.Door_B_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[133]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6B_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[134]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6B_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[135]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6B_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[5]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[5]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[5]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_b_saloon_selected[5]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_BD_Width}" SelectedItem="{Binding Door_5B_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                            <TabItem x:Name="door_6F_c_btn" IsSelected="{Binding StateModel.door_c_btn_selected}" Style="{StaticResource door_select_btn}" Header="C" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="32" Width="32" FontSize="16" Visibility="{Binding StateModel.Door_C_Btn_Vis[5]}">
+                                                <Grid x:Name="Door_6F_C" Grid.Row="1" Margin="0,6,0,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="72"/>
+                                                        <RowDefinition Height="82"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Grid Grid.Row="0" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Margin="0" Height="28" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="92"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[136]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SwingLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6C_GE1" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[137]}" Width="68" FontSize="14" Content="{Binding SelectedLanguage.Resources[SaloonLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6C_GE2" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[138]}" Width="82" FontSize="14" Content="{Binding SelectedLanguage.Resources[HalfGateLabel]}" IsEnabled="False"  BorderBrush="{x:Null}" Command="{Binding set_door_type}" CommandParameter="Door6C_HalfGate" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="1" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="70"/>
+                                                                <ColumnDefinition Width="4*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[139]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[LeftLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6C_L" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[140]}" Width="58" FontSize="14" Content="{Binding SelectedLanguage.Resources[RightLabel]}" BorderBrush="{x:Null}" Command="{Binding set_door_hinge}" CommandParameter="Door6C_R" IsEnabled="{Binding StateModel.Door_C_Hinge_Enable[5]}" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="2" >
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" Height="28">
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="80"/>
+                                                                <ColumnDefinition Width="1*"/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Button Grid.Column="0"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[141]}" Width="68" FontSize="14" Content="2100mm" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6C_2100" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="1"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[142]}" Width="72" FontSize="14" Content="2000mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6C_2000" HorizontalAlignment="Left"/>
+                                                            <Button Grid.Column="2"  Style="{StaticResource color_btn}" Background="{Binding Door_Btn_BG[143]}" Width="68" FontSize="14" Content="1900mm" IsEnabled="{Binding Door_Height_Enable}" BorderBrush="{x:Null}" Command="{Binding set_door_height}" CommandParameter="Door6C_1900" HorizontalAlignment="Left"/>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                    <Grid Grid.Row="3">
+                                                        <Grid.RowDefinitions>
+                                                            <RowDefinition Height="1*"/>
+                                                            <RowDefinition Height="1.5*"/>
+                                                            <RowDefinition Height="4"/>
+                                                        </Grid.RowDefinitions>
+                                                        <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                                        <Grid Grid.Row="1" >
+                                                            <Grid.ColumnDefinitions>
+                                                                <ColumnDefinition/>
+                                                                <ColumnDefinition/>
+                                                            </Grid.ColumnDefinitions>
+                                                            <Grid.RowDefinitions>
+                                                                <RowDefinition Height="4*"/>
+                                                                <RowDefinition Height="6*"/>
+                                                            </Grid.RowDefinitions>
+                                                            <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[5]}"/>
+                                                            <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[5]}"/>
+                                                            <ComboBox Grid.Row="1" Grid.Column="1" SelectedValuePath="Content" Visibility="{Binding door_c_saloon_selected[5]}" Background="Black" BorderBrush="{x:Null}" ItemsSource="{Binding Door_AC_Width}" SelectedItem="{Binding Door_5C_Width}" HorizontalAlignment="Left" Width="128">
+                                                                <ComboBox.ItemTemplate>
+                                                                    <DataTemplate>
+                                                                        <Grid Margin="2,0">
+                                                                            <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
+                                                                        </Grid>
+                                                                    </DataTemplate>
+                                                                </ComboBox.ItemTemplate>
+
+                                                                <i:Interaction.Triggers>
+                                                                    <i:EventTrigger EventName="SelectionChanged">
+                                                                        <i:InvokeCommandAction Command="{Binding set_door_width}"/>
+                                                                    </i:EventTrigger>
+                                                                </i:Interaction.Triggers>
+                                                            </ComboBox>
+                                                        </Grid>
+                                                        <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
+                                                    </Grid>
+                                                </Grid>
+                                            </TabItem>
+                                        </TabControl>
+                                    </Grid>
+                                </Grid>
+                                <Grid x:Name="color_page" Grid.Column="1" Visibility="{Binding Color_Vis}" Margin="12,0" d:IsHidden="True">
+                                    <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
+                                        <Grid>
+                                            <Grid.RowDefinitions>
+                                                <RowDefinition Height="64"/>
+                                                <RowDefinition Height="5*"/>
+                                                <RowDefinition Height="1*"/>
+                                                <RowDefinition Height="4*"/>
+                                                <RowDefinition Height="10*"/>
+                                            </Grid.RowDefinitions>
+                                            <Grid Grid.Row="0">
+                                                <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[ColorsLabel]}" FontSize="22" VerticalAlignment="Center"/>
+                                                <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="92" HorizontalAlignment="Left" Margin="0,6"/>
+                                            </Grid>
+
+                                            <Grid x:Name="Standard_Color" Grid.Row="1" Margin="0,12,0,0" >
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="8*"/>
+                                                    <RowDefinition Height="1*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StandardColorLabel]}" FontSize="18"/>
+
+                                                <ItemsControl x:Name="standard_colors" Grid.Row="1" Width="422" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Standard_Color_List}" HorizontalAlignment="Left" Margin="-6,0,0,0">
+                                                    <ItemsControl.ItemsPanel>
+                                                        <ItemsPanelTemplate>
+                                                            <WrapPanel/>
+                                                        </ItemsPanelTemplate>
+                                                    </ItemsControl.ItemsPanel>
+                                                    <ItemsControl.ItemTemplate>
+                                                        <DataTemplate>
+                                                            <Grid  Height="112" Width="80" HorizontalAlignment="Left">
+                                                                <Grid.RowDefinitions>
+                                                                    <RowDefinition Height="72"/>
+                                                                    <RowDefinition Height="1*"/>
+                                                                </Grid.RowDefinitions>
+                                                                <Button Grid.Row="0" Height="80" Command="{Binding ElementName=standard_colors, Path=DataContext.set_shaft_standard_color}" CommandParameter="{Binding Code}">
+                                                                    <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
+                                                                        <Image Source="{Binding icon_texture}"/>
+                                                                    </Border>
+
+                                                                </Button>
+                                                                <Label Grid.Row="1" Content="{Binding name}" Margin="0,4" FontSize="12" HorizontalAlignment="Center" VerticalAlignment="Top"/>
+                                                            </Grid>
+
+
+                                                        </DataTemplate>
+                                                    </ItemsControl.ItemTemplate>
+                                                </ItemsControl>
+                                            </Grid>
+                                            <Grid Grid.Row="3" Margin="6,0,0,0"  Height="128">
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="3*"/>
+                                                    <RowDefinition Height="6*"/>
+                                                    <RowDefinition Height="1*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Grid.Row="0" Content="CUSTOMIZED RAL COLORS" FontSize="18" VerticalAlignment="Center"/>
+                                                <Grid Grid.Row="1"  Height="54"  VerticalAlignment="Bottom" Margin="0,0,0,12">
+                                                    <Grid.ColumnDefinitions>
+                                                        <ColumnDefinition Width="2*"/>
+                                                        <ColumnDefinition Width="4*"/>
+                                                        <ColumnDefinition Width="4*"/>
+                                                    </Grid.ColumnDefinitions>
+                                                    <Border BorderThickness="1" Height="54" Width="54"   HorizontalAlignment="Left" Margin="2,-2,0,0">
+                                                        <Button  Style="{StaticResource color_btn}" HorizontalAlignment="Center"  VerticalAlignment="Center" Height="57" Width="57" Background="{Binding customize_hex}"  Command="{Binding set_shaft_ral_color}" CommandParameter="{Binding ElementName=customize_color,Path=Text}"  />
+                                                    </Border>
+
+                                                    <TextBox x:Name="customize_color" Grid.Column="1" Foreground="#FF6A6A6A" FontSize="16" Height="32" Width="200" Text="{Binding Shaft_Ral_Color}" VerticalAlignment="Bottom"  HorizontalAlignment="Left"  Background="Black" BorderBrush="{x:Null}" Margin="0,6" />
+                                                    <Rectangle  Grid.Column="1"  Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="200" HorizontalAlignment="Left" />
+                                                    <Button  Grid.Column="2" VerticalAlignment="Center"  Height="70" Background="{x:Null}" BorderBrush="{x:Null}"  Command="{Binding set_shaft_ral_color}" CommandParameter="{Binding ElementName=customize_color,Path=Text}" Foreground="{x:Null}" Margin="44,-11,37,-5" >
+                                                        <Image Source="image/btn/outline_format_paint_black_36dp.png"  Height="57" Width="57" VerticalAlignment="Center" HorizontalAlignment="Center"/>
+                                                    </Button>
+                                                </Grid>
+                                            </Grid>
+                                            <Grid x:Name="RAL_Color" Grid.Row="4" Margin="6,0,0,0" >
+                                                <ItemsControl x:Name="RAL_colors" Background="{x:Null}" ItemsSource="{Binding RAL_Color_List}" Width="425">
+                                                    <ItemsControl.ItemsPanel>
+                                                        <ItemsPanelTemplate>
+                                                            <WrapPanel/>
+                                                        </ItemsPanelTemplate>
+                                                    </ItemsControl.ItemsPanel>
+                                                    <ItemsControl.ItemTemplate>
+                                                        <DataTemplate>
+                                                            <Grid  Height="54" Width="54" >
+                                                                <Border BorderThickness="1" BorderBrush="{Binding btn_bg_color}" CornerRadius="0">
+                                                                    <Grid>
+                                                                        <Button Style="{StaticResource color_btn}" HorizontalAlignment="Center" VerticalAlignment="Center" Height="56" Width="56" Background="{Binding hex}" Command="{Binding ElementName=RAL_colors, Path=DataContext.set_shaft_ral_color}" CommandParameter="{Binding Color}" />
+                                                                        <Label Content="{Binding color}" FontSize="10" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
+                                                                    </Grid>
+
+                                                                </Border>
+                                                            </Grid>
+
+
+                                                        </DataTemplate>
+                                                    </ItemsControl.ItemTemplate>
+                                                </ItemsControl>
+                                            </Grid>
+                                        </Grid>
+                                    </ScrollViewer>
+                                </Grid>
+                            </Grid>
+                        </Grid>
+                    </TabItem>
+                    <TabItem x:Name="enclosure_tab" Header="{Binding SelectedLanguage.Resources[EnclosureLabel]}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" Background="{x:Null}">
+                        <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
+                            <Grid x:Name="enclosure_mat" Margin="12,0">
+                                <Grid.RowDefinitions>
+                                    <RowDefinition Height="64"/>
+                                    <RowDefinition Height="{Binding StateModel.Cabin_Walls_Height}"/>
+                                    <RowDefinition Height="116"/>
+                                    <RowDefinition Height="{Binding service_panel_height}"/>
+                                    <RowDefinition Height="188"/>
+                                    <RowDefinition Height="458"/>
+                                </Grid.RowDefinitions>
+                                <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[BuildLabel]}" FontSize="22" VerticalAlignment="Center"/>
+                                <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="0,6"/>
+                                <Grid Grid.Row="1" Margin="0,12">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition Height="12"/>
+                                        <RowDefinition Height="246"/>
+                                        <RowDefinition Height="0"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CabinWallsLabel]}"/>
+                                    <Grid Grid.Row="2" >
+                                        <Grid.RowDefinitions>
+                                            <RowDefinition/>
+                                            <RowDefinition/>
+                                        </Grid.RowDefinitions>
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Border Grid.Row="0" Grid.Column="0" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
+                                            <Grid>
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="C" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="128" Height="48" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_enclosure_mat_c" ItemsSource="{Binding Enclosure_Mat_C}" SelectedItem="{Binding Selected_Enclosure_Mat_C}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_c, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_c, Path=DataContext.isCH}"/>
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_c, ElementName=set_enclosure_mat_c}"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+                                        <Grid Grid.Column="1" Grid.Row="0" Margin="-10">
+                                            <Image Source="image/bg/lift_build_icon.png"/>
+                                        </Grid>
+                                        <Border Grid.Row="0" Grid.Column="2" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
+                                            <Grid>
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="A" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="48" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_enclosure_mat_a" ItemsSource="{Binding Enclosure_Mat_A}" SelectedItem="{Binding Selected_Enclosure_Mat_A}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center"  Visibility="{Binding ElementName=set_enclosure_mat_a, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_a, Path=DataContext.isCH}"/>
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_a, ElementName=set_enclosure_mat_a}"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+                                        <Border Grid.Row="1" Grid.Column="1" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
+                                            <Grid>
+                                                <Grid.RowDefinitions>
+                                                    <RowDefinition Height="1*"/>
+                                                    <RowDefinition Height="2*"/>
+                                                </Grid.RowDefinitions>
+                                                <Label Content="B" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
+                                                <Border Grid.Row="1" Background="#363636" Width="122" Height="48" CornerRadius="6,6,6,6" >
+                                                    <ComboBox x:Name="set_enclosure_mat_b" ItemsSource="{Binding Enclosure_Mat_B}" SelectedItem="{Binding Selected_Enclosure_Mat_B}" Width="122" >
+                                                        <ComboBox.ItemTemplate>
+                                                            <DataTemplate>
+                                                                <Grid Margin="2,0">
+                                                                    <Grid.ColumnDefinitions>
+                                                                        <ColumnDefinition Width="24"/>
+                                                                        <ColumnDefinition Width="70"/>
+                                                                    </Grid.ColumnDefinitions>
+                                                                    <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_b, Path=DataContext.isEN}"/>
+                                                                    <TextBlock Grid.ColumnSpan="2" FontSize="12" TextWrapping="Wrap" Text="{Binding Path=CH_DisplayFullName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Visibility="{Binding ElementName=set_enclosure_mat_b, Path=DataContext.isCH}"/>
+
+                                                                </Grid>
+                                                            </DataTemplate>
+                                                        </ComboBox.ItemTemplate>
+                                                        <i:Interaction.Triggers>
+                                                            <i:EventTrigger EventName="SelectionChanged">
+                                                                <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_b, ElementName=set_enclosure_mat_b}"/>
+                                                            </i:EventTrigger>
+                                                        </i:Interaction.Triggers>
+                                                    </ComboBox>
+                                                </Border>
+                                            </Grid>
+                                        </Border>
+
+                                    </Grid>
+                                    <Grid Grid.Row="3">
+                                        <ItemsControl x:Name="cabin_walls_mat" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Cabin_Walls_Mat_List}">
+                                            <ItemsControl.ItemsPanel>
+                                                <ItemsPanelTemplate>
+                                                    <WrapPanel/>
+                                                </ItemsPanelTemplate>
+                                            </ItemsControl.ItemsPanel>
+                                            <ItemsControl.ItemTemplate>
+                                                <DataTemplate>
+                                                    <Grid  Height="38" Width="168" Margin="10" Background="#1B1B1B">
+                                                        <Grid.ColumnDefinitions>
+                                                            <ColumnDefinition Width="8*"/>
+                                                            <ColumnDefinition Width="2*"/>
+                                                        </Grid.ColumnDefinitions>
+                                                        <Button Grid.Column="0" Content="{Binding name}" Height="60" Command="{Binding DataContext.set_shaft_standard_color, ElementName=standard_colors}" CommandParameter="{Binding name}" VerticalAlignment="Center"/>
+                                                        <Image  Grid.Column="1" Source="{Binding icon_texture}"/>
+                                                    </Grid>
+
+
+                                                </DataTemplate>
+                                            </ItemsControl.ItemTemplate>
+                                        </ItemsControl>
+                                    </Grid>
+
+                                </Grid>
+                                <Grid Grid.Row="2">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CabinDoorLabel]}" FontSize="18" VerticalAlignment="Center"/>
+                                    <Grid Grid.Row="1">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <Button Height="46" Width="128" FontSize="14" Grid.Column="0" Content="{Binding SelectedLanguage.Resources[LightCurtainLabel]}" Margin="4,0" Background="#1B1B1B"/>
+                                        <Button Height="46" Width="128" FontSize="14" Grid.Column="1" Content="{Binding SelectedLanguage.Resources[BiFoldingLabel]}" Margin="4,0" Background="#1B1B1B" IsEnabled="False"/>
+                                    </Grid>
+                                    <Rectangle Height="1" Fill="#272727" Grid.Row="1" VerticalAlignment="Bottom"/>
+                                </Grid>
+                                <Grid Grid.Row="3" Margin="0,12" >
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition />
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[SevicePannelLabel]}" Margin="0,6" />
+                                    <ItemsControl x:Name="service_panel_mat" Grid.Row="1" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Service_Panel_Mat_List}">
+                                        <ItemsControl.ItemsPanel>
+                                            <ItemsPanelTemplate>
+                                                <WrapPanel/>
+                                            </ItemsPanelTemplate>
+                                        </ItemsControl.ItemsPanel>
+                                        <ItemsControl.ItemTemplate>
+                                            <DataTemplate>
+                                                <Grid Margin="4,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition/>
+                                                        <RowDefinition Height="4"/>
+                                                        <RowDefinition Height="32"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Button Grid.Row="0" Command="{Binding DataContext.set_service_panel_mat, ElementName=service_panel_mat}" CommandParameter="{Binding code}" VerticalAlignment="Center" >
+                                                        <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
+                                                            <Image Width="60" Height="60" Source="{Binding icon_texture}"/>
+                                                        </Border>
+                                                    </Button>
+                                                    <TextBlock  TextWrapping="WrapWithOverflow" Text="{Binding name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86" Visibility="{Binding ElementName=service_panel_mat, Path=DataContext.isEN}"/>
+                                                    <TextBlock  TextWrapping="WrapWithOverflow" Text="{Binding ch_name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86"  Visibility="{Binding ElementName=service_panel_mat, Path=DataContext.isCH}"/>
+
+
+                                                </Grid>
+
+
+                                            </DataTemplate>
+                                        </ItemsControl.ItemTemplate>
+                                    </ItemsControl>
+                                    <Rectangle Height="1" Fill="#272727" Grid.Row="1" VerticalAlignment="Bottom"/>
+                                </Grid>
+                                <Grid Grid.Row="4">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarpetLabel]}"/>
+                                    <ItemsControl x:Name="carpet_panel_mat" Grid.Row="1" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Carpet_Mat_List}">
+                                        <ItemsControl.ItemsPanel>
+                                            <ItemsPanelTemplate>
+                                                <WrapPanel/>
+                                            </ItemsPanelTemplate>
+                                        </ItemsControl.ItemsPanel>
+                                        <ItemsControl.ItemTemplate>
+                                            <DataTemplate>
+                                                <Grid  Margin="4,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition/>
+                                                        <RowDefinition Height="4"/>
+                                                        <RowDefinition Height="32"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Button Grid.Row="0" Command="{Binding DataContext.set_carpet_panel_mat, ElementName=carpet_panel_mat}" CommandParameter="{Binding code}" VerticalAlignment="Center" >
+                                                        <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
+                                                            <Image Width="60" Height="60" Source="{Binding icon_texture}"/>
+                                                        </Border>
+                                                    </Button>
+
+                                                    <TextBlock  TextWrapping="Wrap" Text="{Binding name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86"  Visibility="{Binding ElementName=carpet_panel_mat, Path=DataContext.isEN}"/>
+                                                    <TextBlock  TextWrapping="Wrap" Text="{Binding ch_name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86"  Visibility="{Binding ElementName=carpet_panel_mat, Path=DataContext.isCH}"/>
+                                                
+                                                </Grid>
+
+
+                                            </DataTemplate>
+                                        </ItemsControl.ItemTemplate>
+                                    </ItemsControl>
+                                </Grid>
+                                <Grid Grid.Row="5" Visibility="{Binding show_door_handle}">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="32"/>
+                                        <RowDefinition/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHandleLabel]}"/>
+                                    <ItemsControl x:Name="door_handle_mat" Grid.Row="1" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding DoorHandle_Mat_List}">
+                                        <ItemsControl.ItemsPanel>
+                                            <ItemsPanelTemplate>
+                                                <WrapPanel/>
+                                            </ItemsPanelTemplate>
+                                        </ItemsControl.ItemsPanel>
+                                        <ItemsControl.ItemTemplate>
+                                            <DataTemplate>
+                                                <Grid  Margin="4,0" >
+                                                    <Grid.RowDefinitions>
+                                                        <RowDefinition/>
+                                                        <RowDefinition Height="4"/>
+                                                        <RowDefinition Height="32"/>
+                                                    </Grid.RowDefinitions>
+                                                    <Button Grid.Row="0" Command="{Binding DataContext.set_door_handle_mat, ElementName=door_handle_mat}" CommandParameter="{Binding code}" VerticalAlignment="Center" >
+                                                        <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
+                                                            <Image Width="60" Height="60" Source="{Binding icon_texture}"/>
+                                                        </Border>
+                                                    </Button>
+
+                                                    <TextBlock  TextWrapping="Wrap" Text="{Binding name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86"  Visibility="{Binding ElementName=door_handle_mat, Path=DataContext.isEN}"/>
+                                                    <TextBlock  TextWrapping="Wrap" Text="{Binding ch_name}" Grid.Row="2" FontSize="12" TextAlignment="Center" VerticalAlignment="Top" Width="86"  Visibility="{Binding ElementName=door_handle_mat, Path=DataContext.isCH}"/>
+                                                
+                                                </Grid>
+
+
+                                            </DataTemplate>
+                                        </ItemsControl.ItemTemplate>
+                                    </ItemsControl>
+                                </Grid>
+                                <Grid Grid.Row="5" Visibility="{Binding show_ambient_light}">
+                                    <Grid.RowDefinitions>
+                                        <RowDefinition Height="24"/>
+                                        <RowDefinition Height="48"/>
+                                        <RowDefinition Height="48"/>
+                                    </Grid.RowDefinitions>
+                                    <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[AmbientLabel]}"/>
+                                    <Grid Grid.Row="1" Margin="24,0">
+                                        <Grid.ColumnDefinitions>
+                                            <ColumnDefinition Width="28"/>
+                                            <ColumnDefinition/>
+                                        </Grid.ColumnDefinitions>
+                                        <CheckBox x:Name="ambient_color" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding ambient_color_ischecked}" Command="{Binding trigger_ambient_light}">
+                                            <CheckBox.LayoutTransform>
+                                                <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
+                                            </CheckBox.LayoutTransform>
+
+                                        </CheckBox>
+                                        <TextBlock Grid.Column="1" Text="{Binding SelectedLanguage.Resources[CustomAmbientLabel]}" FontSize="16"  VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
+
+                                    </Grid>
+                                    <!--{Binding ambient_custom_color ,Mode=TwoWay}-->
+                                    <Grid Grid.Row="2" Margin="32,0" x:Name="custom_ambient_light" Visibility="{Binding ambient_slider_vis}">
+                                        <Slider Height="28"  x:Name="custom_color" VerticalAlignment="Center" Minimum="0" Maximum="100" Value="{Binding ambient_custom_color ,Mode=TwoWay}" Style="{StaticResource AmbientSliderStyle}" IsSnapToTickEnabled="True" TickFrequency="1" >
+                                            <i:Interaction.Triggers>
+                                                <i:EventTrigger EventName="ValueChanged">
+                                                    <i:InvokeCommandAction Command="{Binding set_ambient_color}"/>
+                                                </i:EventTrigger>
+                                            </i:Interaction.Triggers>
+                                        </Slider>
+
+                                        <Border BorderThickness="2" CornerRadius="2" BorderBrush="Black" Background="Transparent" Height="10" Panel.ZIndex="-1">
+                                            <Rectangle Height="8"  >
+                                                <Rectangle.Fill>
+                                                    <LinearGradientBrush EndPoint="0,0" StartPoint="1,0">
+                                                        <GradientStop Color="White" Offset="0" />
+                                                        <GradientStop Color="Red" Offset="0.25" />
+                                                        <GradientStop Color="Yellow" Offset="0.5" />                                                        
+                                                        <GradientStop Color="Blue" Offset="0.75" />
+                                                        <GradientStop Color="White" Offset="1" />
+                                                    </LinearGradientBrush>
+                                                </Rectangle.Fill>
+                                            </Rectangle>
+                                        </Border>
+                                    </Grid>
+
+                                </Grid>
+                            </Grid>
+                        </ScrollViewer>
+
+                    </TabItem>
+                    <i:Interaction.Triggers>
+                        <i:EventTrigger EventName="SelectionChanged">
+                            <i:InvokeCommandAction Command="{Binding SetCurrentTab}" CommandParameter="{Binding ElementName=main_tab, Path=SelectedValue}"/>
+                        </i:EventTrigger>
+                    </i:Interaction.Triggers>
+                </TabControl>
+                <Grid Grid.Row="1" Background="Black">
+                    <Grid.ColumnDefinitions>
+                        <ColumnDefinition Width="1*"/>
+                        <ColumnDefinition Width="1*"/>
+                        <ColumnDefinition Width="2*"/>
+                        <ColumnDefinition Width="1*"/>
+                        <ColumnDefinition Width="1*"/>
+                    </Grid.ColumnDefinitions>
+
+                    <!--<Button Grid.Column="1" x:Name="btn_export_video" Content="{Binding SelectedLanguage.Resources[ExportVideoLabel]}" Background="#FF1B1B1B" Height="44" Command="{Binding btn_test_2}" Margin="0"/>-->
+                    <Button Grid.Column="2" x:Name="btn_preview" Content="{Binding SelectedLanguage.Resources[PreviewLabel]}" Background="#5B85BB" Height="44" Command="{Binding make_preview}" Margin="0"/>
+
+                </Grid>
+            </Grid>
+        </Viewbox>
+    </Grid>
+</UserControl>

+ 55 - 0
Assets/Localization/MainWindow_Kalea.xaml.cs

@@ -0,0 +1,55 @@
+#if UNITY_5_3_OR_NEWER
+#define NOESIS
+using Noesis;
+#else
+using System;
+using System.Windows;
+using System.Windows.Controls;
+#endif
+
+namespace Localization
+{
+    /// <summary>
+    /// Interaction logic for MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : UserControl
+    {
+        public MainWindow()
+        {
+            this.Initialized += OnInitialized;
+            this.InitializeComponent();
+        }
+
+#if NOESIS
+        void InitializeComponent()
+        {
+            Noesis.GUI.LoadComponent(this, "Assets/NoesisGUI/Samples/Localization/MainWindow.xaml");
+        }
+#endif
+
+        private void OnInitialized(object sender, EventArgs args)
+        {
+            this.DataContext = new ViewModel();
+        }
+
+        private void platform_bd_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+
+        }
+
+        private void set_enclosure_mat_a_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+
+        }
+
+        private void TabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+
+        }
+
+        private void main_tab_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+
+        }
+    }
+}

+ 22 - 0
Assets/Localization/NotifyPropertyChangedBase.cs

@@ -0,0 +1,22 @@
+using System;
+using System.ComponentModel;
+
+namespace Localization
+{
+    /// <summary>
+    /// Base class implementing INotifyPropertyChanged
+    /// </summary>
+    public class NotifyPropertyChangedBase: INotifyPropertyChanged
+    {
+        public event PropertyChangedEventHandler PropertyChanged;
+
+        protected void OnPropertyChanged(string name)
+        {
+            var handler = PropertyChanged;
+            if (handler != null)
+            {
+                handler(this, new PropertyChangedEventArgs(name));
+            }
+        }
+    }
+}

BIN
Assets/Localization/Oxygen-Regular.ttf


+ 55 - 0
Assets/Localization/Properties/AssemblyInfo.cs

@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Localization")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Samples.Localization")]
+[assembly: AssemblyCopyright("Copyright ©  2018")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set 
+//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
+//inside a <PropertyGroup>.  For example, if you are using US english
+//in your source files, set the <UICulture> to en-US.  Then uncomment
+//the NeutralResourceLanguage attribute below.  Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+    ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+                                     //(used if a resource is not found in the page, 
+                                     // or application resource dictionaries)
+    ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+                                              //(used if a resource is not found in the page, 
+                                              // app, or any theme specific resource dictionaries)
+)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 63 - 0
Assets/Localization/Properties/Resources.Designer.cs

@@ -0,0 +1,63 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace Localization.Properties {
+    using System;
+    
+    
+    /// <summary>
+    ///   A strongly-typed resource class, for looking up localized strings, etc.
+    /// </summary>
+    // This class was auto-generated by the StronglyTypedResourceBuilder
+    // class via a tool like ResGen or Visual Studio.
+    // To add or remove a member, edit your .ResX file then rerun ResGen
+    // with the /str option, or rebuild your VS project.
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources {
+        
+        private static global::System.Resources.ResourceManager resourceMan;
+        
+        private static global::System.Globalization.CultureInfo resourceCulture;
+        
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources() {
+        }
+        
+        /// <summary>
+        ///   Returns the cached ResourceManager instance used by this class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager {
+            get {
+                if (object.ReferenceEquals(resourceMan, null)) {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Localization.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+        
+        /// <summary>
+        ///   Overrides the current thread's CurrentUICulture property for all
+        ///   resource lookups using this strongly typed resource class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture {
+            get {
+                return resourceCulture;
+            }
+            set {
+                resourceCulture = value;
+            }
+        }
+    }
+}

+ 120 - 0
Assets/Localization/Properties/Resources.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 30 - 0
Assets/Localization/Properties/Settings.Designer.cs

@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace SamplesWPF.Properties
+{
+
+
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+    {
+
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+        public static Settings Default
+        {
+            get
+            {
+                return defaultInstance;
+            }
+        }
+    }
+}

+ 7 - 0
Assets/Localization/Properties/Settings.settings

@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>

+ 1674 - 0
Assets/Localization/Resources.xaml

@@ -0,0 +1,1674 @@
+<ResourceDictionary
+  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+  xmlns:local="clr-namespace:Localization">
+    <!-- ============== COLORS ============== -->
+    <Color x:Key="NormalFgColor">#FFF1F3F4</Color>
+    <Color x:Key="NormalBgColor">#FF4D555B</Color>
+    <Color x:Key="NormalDarkBgColor">#FF464E53</Color>
+    <Color x:Key="NormalBdColor">#FF31373A</Color>
+    <Color x:Key="NormalDarkBdColor">#FF2F3437</Color>
+    <Color x:Key="CheckBgColor">#FF31373A</Color>
+    <Color x:Key="CheckBdColor">#FF54B3E5</Color>
+    <Color x:Key="TrackBgColor">#FF383D42</Color>
+    <Color x:Key="TrackBdColor">#FF2E3438</Color>
+    <Color x:Key="TrackLightBdColor">#FF2E3338</Color>
+    <Color x:Key="TrackDarkBdColor">#FF2C3135</Color>
+    <Color x:Key="OverOverlay">#19CBEBFF</Color>
+    <Color x:Key="OverFgColor">#FFF1F3F4</Color>
+    <Color x:Key="PressOverlay">#646464</Color>
+    <Color x:Key="FocusColor">#646464</Color>
+    <Color x:Key="FocusGlowColor">#646464</Color>
+    <Color x:Key="FocusTransparentGlowColor">#00114C74</Color>
+    <Color x:Key="FocusShineColor">#646464</Color>
+    <Color x:Key="FocusTransparentShineColor">#001B6F9C</Color>
+    <Color x:Key="DisabledOverlay">#1468757E</Color>
+    <Color x:Key="DisabledFgColor">#FF939B9F</Color>
+    <Color x:Key="DisabledCheckBgColor">#FF31373A</Color>
+    <Color x:Key="DisabledCheckBdColor">#FF6B9AB3</Color>
+    
+    <!-- ============== BRUSHES ============== -->
+    <SolidColorBrush x:Key="NormalFgBrush" Color="{StaticResource NormalFgColor}"/>
+    <LinearGradientBrush x:Key="NormalBgBrush" EndPoint="0.5,1" StartPoint="0.5,0"/>
+    <SolidColorBrush x:Key="NormalDarkBgBrush" Color="{StaticResource NormalDarkBgColor}"/>
+    <LinearGradientBrush x:Key="NormalBdBrush" EndPoint="0.5,1" StartPoint="0.5,0" />
+    <SolidColorBrush x:Key="NormalDarkBdBrush" Color="{StaticResource NormalDarkBdColor}"/>
+    <SolidColorBrush x:Key="TrackBgBrush" Color="{StaticResource TrackBgColor}"/>
+    <LinearGradientBrush x:Key="TrackBdBrush" EndPoint="0.5,1" StartPoint="0.5,0"/>
+    <SolidColorBrush x:Key="TrackLightBdBrush" Color="{StaticResource TrackLightBdColor}"/>
+    <SolidColorBrush x:Key="TrackDarkBdBrush" Color="{StaticResource TrackDarkBdColor}"/>
+    <SolidColorBrush x:Key="WindowBrush" Color="#FF3D4348"/>
+    <SolidColorBrush x:Key="ToolTipFgBrush" Color="{StaticResource OverFgColor}"/>
+    <SolidColorBrush x:Key="ToolTipBgBrush" Color="#FF466E87"/>
+    <SolidColorBrush x:Key="ToolTipBdBrush" Color="#FF3A5E79"/>
+    <SolidColorBrush x:Key="CaretBrush" Color="{StaticResource OverFgColor}"/>
+    <SolidColorBrush x:Key="SelectionBrush" Color="{StaticResource CheckBgColor}"/>
+
+    <!-- ============== CheckBox ============== -->
+    <Style x:Key="{x:Type CheckBox}" TargetType="CheckBox">
+
+    <Setter Property="SnapsToDevicePixels" Value="true"/>
+    <Setter Property="TextElement.Foreground" Value="Black"/>
+    <Setter Property="BorderThickness" Value="1" />
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="CheckBox">
+                    <BulletDecorator Background="Transparent">
+                        <BulletDecorator.Bullet>
+                            <Border x:Name="Border"  
+                              Width="13" 
+                              Height="13" 
+                              CornerRadius="0" 
+                              Background="Transparent"
+                              BorderThickness="1"
+                              BorderBrush="White">
+                            </Border>
+                        </BulletDecorator.Bullet>
+ 
+                    </BulletDecorator>
+                    <ControlTemplate.Triggers>
+                        <Trigger Property="IsChecked" Value="True">
+                            <Setter Property="Background" Value="#FFF49811" TargetName="Border"/>
+                        </Trigger>
+                        <!--<Trigger Property="IsMouseOver" Value="true">
+                            <Setter Property="Background" Value="red" TargetName="Border"/>
+                        </Trigger>
+                        <Trigger Property="IsPressed" Value="true">
+                            <Setter Property="Background" Value="yellow" TargetName="Border"/>
+                            <Setter Property="BorderBrush" Value="green" TargetName="Border"/>
+                        </Trigger>
+                        <Trigger Property="IsEnabled" Value="false">
+                            <Setter Property="Background" Value="blue" TargetName="Border"/>
+                            <Setter Property="BorderBrush" Value="white" TargetName="Border"/>
+                        </Trigger>-->
+                    </ControlTemplate.Triggers>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+        <Style.Triggers>
+        <Trigger Property="IsMouseOver" Value="True">                    
+            <Setter Property="Background" Value="LightSkyBlue" />
+        </Trigger>                
+    </Style.Triggers>
+
+</Style>
+
+    <!--<Style x:Key="{x:Type CheckBox}" TargetType="CheckBox">
+        <Setter Property="SnapsToDevicePixels" Value="true"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="CheckBox">
+                    <BulletDecorator Background="Transparent">
+                        <BulletDecorator.Bullet>
+                            <Border x:Name="Border"  
+                              Width="13" 
+                              Height="13" 
+                              CornerRadius="0" 
+                              Background="Transparent"
+                              BorderThickness="1"
+                              BorderBrush="White">
+
+                            </Border>
+                        </BulletDecorator.Bullet>
+                        <ContentPresenter Margin="4,0,0,0"
+                            VerticalAlignment="Center"
+                            HorizontalAlignment="Left"
+                            RecognizesAccessKey="True"/>
+                    </BulletDecorator>
+
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+
+    </Style>-->
+
+    <!-- ============== DEFAULT CONTROL STLYE ============== -->
+    <Style x:Key="NoesisControlStyle">
+        <!--<Setter Property="Control.Background" Value="{StaticResource NormalBgBrush}"/>-->
+        <!--<Setter Property="Control.BorderBrush" Value="{StaticResource NormalBdBrush}"/>-->
+        <Setter Property="Control.BorderThickness" Value="1"/>
+        <Setter Property="Control.HorizontalContentAlignment" Value="Stretch"/>
+        <Setter Property="Control.VerticalContentAlignment" Value="Stretch"/>
+        <Setter Property="Control.Padding" Value="0"/>
+        <Setter Property="Control.IsTabStop" Value="True"/>
+        <Setter Property="Control.OverridesDefaultStyle" Value="False"/>
+    </Style>
+
+    <!-- ============== TEXT BOX ============== -->
+
+    <!-- TextBoxScrollViewer Template -->
+    <ControlTemplate x:Key="TextBoxScrollViewer" TargetType="{x:Type ScrollViewer}">
+        <ScrollContentPresenter x:Name="ScrollContentPresenter" Margin="{TemplateBinding Padding}"/>
+    </ControlTemplate>
+
+    <!-- TextBox NoWrap Template -->
+    <ControlTemplate x:Key="TextBoxNoWrapTemplate" TargetType="{x:Type TextBox}">
+        <Grid>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                        <VisualTransition From="Disabled" GeneratedDuration="0:0:0.1"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+                    <VisualState x:Name="Disabled">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                    <VisualState x:Name="ReadOnly"/>
+                    <VisualState x:Name="MouseOver">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="OverBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+                <VisualStateGroup x:Name="FocusStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Focused"/>
+                        <VisualTransition From="Focused" GeneratedDuration="0:0:0.3"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Unfocused"/>
+                    <VisualState x:Name="Focused">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.15"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border x:Name="BaseBorder"
+				Background="{TemplateBinding Background}"
+				BorderBrush="{TemplateBinding BorderBrush}"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1"/>
+            <Border x:Name="OverBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border x:Name="FocusBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.BorderBrush>
+                    <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                </Border.BorderBrush>
+                <Border x:Name="FocusInnerBorder"
+					BorderThickness="1"
+					CornerRadius="0.01">
+                    <Border.Background>
+                        <SolidColorBrush Color="{StaticResource FocusGlowColor}" Opacity="0"/>
+                    </Border.Background>
+                    <Border.BorderBrush>
+                        <SolidColorBrush Color="{StaticResource FocusShineColor}" Opacity="0"/>
+                    </Border.BorderBrush>
+                </Border>
+            </Border>
+            <Border x:Name="DisabledBorder"
+				CornerRadius="1.5">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border BorderThickness="{TemplateBinding BorderThickness}">
+                <ScrollViewer x:Name="PART_ContentHost"
+					Template="{StaticResource TextBoxScrollViewer}"
+					Padding="{TemplateBinding Padding}"
+					Foreground="{TemplateBinding Foreground}"/>
+            </Border>
+        </Grid>
+    </ControlTemplate>
+
+    <!-- TextBox Wrap Template -->
+    <ControlTemplate x:Key="TextBoxWrapTemplate" TargetType="{x:Type TextBox}">
+        <Grid>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                        <VisualTransition From="Disabled" GeneratedDuration="0:0:0.1"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+                    <VisualState x:Name="Disabled">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                    <VisualState x:Name="ReadOnly"/>
+                    <VisualState x:Name="MouseOver">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="OverBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+                <VisualStateGroup x:Name="FocusStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Focused"/>
+                        <VisualTransition From="Focused" GeneratedDuration="0:0:0.3"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Unfocused"/>
+                    <VisualState x:Name="Focused">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.15"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border x:Name="BaseBorder"
+				Background="{TemplateBinding Background}"
+				BorderBrush="{TemplateBinding BorderBrush}"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <ScrollViewer x:Name="PART_ContentHost1"
+					Padding="{TemplateBinding Padding}"
+					Foreground="{TemplateBinding Foreground}"/>
+            </Border>
+            <Border x:Name="OverBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border x:Name="FocusBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.BorderBrush>
+                    <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                </Border.BorderBrush>
+                <Border x:Name="FocusInnerBorder"
+					BorderThickness="1"
+					CornerRadius="0.01">
+                    <Border.Background>
+                        <SolidColorBrush Color="{StaticResource FocusGlowColor}" Opacity="0"/>
+                    </Border.Background>
+                    <Border.BorderBrush>
+                        <SolidColorBrush Color="{StaticResource FocusShineColor}" Opacity="0"/>
+                    </Border.BorderBrush>
+                </Border>
+            </Border>
+            <Border x:Name="DisabledBorder"
+				CornerRadius="1.5">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border BorderThickness="{TemplateBinding BorderThickness}">
+                <ScrollViewer x:Name="PART_ContentHost"
+					Padding="{TemplateBinding Padding}"
+					Foreground="{TemplateBinding Foreground}"/>
+            </Border>
+        </Grid>
+    </ControlTemplate>
+
+    <!-- TextBox Style -->
+    
+    <Style TargetType="{x:Type TextBox}">
+        <Style.Resources>
+            <Storyboard x:Key="MouseOverOn">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.1" Value="{StaticResource OverFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="MouseOverOff">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.3" Value="{StaticResource NormalFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="OnDisabled">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.1" Value="{StaticResource DisabledFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="OnEnabled">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.1" Value="{StaticResource NormalFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+        </Style.Resources>
+        <Setter Property="Foreground">
+            <Setter.Value>
+                <SolidColorBrush Color="{StaticResource NormalFgColor}"/>
+            </Setter.Value>
+        </Setter>
+        <Setter Property="Background" Value="{StaticResource TrackBgBrush}"/>
+        <Setter Property="BorderBrush" Value="{StaticResource TrackBdBrush}"/>
+        <Setter Property="CaretBrush" Value="{StaticResource CaretBrush}"/>
+        <Setter Property="SelectionBrush" Value="{StaticResource SelectionBrush}"/>
+        <Setter Property="SelectionOpacity" Value="0.5"/>
+        <Setter Property="Padding" Value="2,4"/>
+        <Setter Property="TextAlignment" Value="Left"/>
+        <Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
+        <Setter Property="AllowDrop" Value="True"/>
+        <Style.BasedOn>
+            <StaticResource ResourceKey="NoesisControlStyle"/>
+        </Style.BasedOn>
+        <Style.Triggers>
+            <Trigger Property="IsMouseOver" Value="True">
+                <Trigger.ExitActions>
+                    <BeginStoryboard Storyboard="{StaticResource MouseOverOff}"/>
+                </Trigger.ExitActions>
+                <Trigger.EnterActions>
+                    <BeginStoryboard Storyboard="{StaticResource MouseOverOn}"/>
+                </Trigger.EnterActions>
+            </Trigger>
+            <Trigger Property="TextWrapping" Value="NoWrap">
+                <Setter Property="HorizontalScrollBarVisibility" Value="Hidden"/>
+                <Setter Property="VerticalScrollBarVisibility" Value="Hidden"/>
+                <Setter Property="Template" Value="{StaticResource TextBoxNoWrapTemplate}"/>
+            </Trigger>
+            <Trigger Property="TextWrapping" Value="Wrap">
+                <Setter Property="HorizontalScrollBarVisibility" Value="Hidden"/>
+                <Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
+                <Setter Property="Template" Value="{StaticResource TextBoxWrapTemplate}"/>
+            </Trigger>
+            <Trigger Property="TextWrapping" Value="WrapWithOverflow">
+                <Setter Property="HorizontalScrollBarVisibility" Value="Hidden"/>
+                <Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
+                <Setter Property="Template" Value="{StaticResource TextBoxWrapTemplate}"/>
+            </Trigger>
+            <Trigger Property="IsEnabled" Value="False">
+                <Trigger.ExitActions>
+                    <BeginStoryboard Storyboard="{StaticResource OnEnabled}"/>
+                </Trigger.ExitActions>
+                <Trigger.EnterActions>
+                    <BeginStoryboard Storyboard="{StaticResource OnDisabled}"/>
+                </Trigger.EnterActions>
+            </Trigger>
+        </Style.Triggers>
+    </Style>
+
+
+    
+    <!-- ============== PASSWORD BOX ============== -->
+
+    <!-- TextBox NoWrap Template -->
+    <ControlTemplate x:Key="PasswordTemplate" TargetType="{x:Type PasswordBox}">
+        <Grid>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                        <VisualTransition From="Disabled" GeneratedDuration="0:0:0.1"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+                    <VisualState x:Name="Disabled">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                    <VisualState x:Name="ReadOnly"/>
+                    <VisualState x:Name="MouseOver">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="OverBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+                <VisualStateGroup x:Name="FocusStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Focused"/>
+                        <VisualTransition From="Focused" GeneratedDuration="0:0:0.3"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Unfocused"/>
+                    <VisualState x:Name="Focused">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.15"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border x:Name="BaseBorder"
+				Background="{TemplateBinding Background}"
+				BorderBrush="{TemplateBinding BorderBrush}"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1"/>
+            <Border x:Name="OverBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border x:Name="FocusBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.BorderBrush>
+                    <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                </Border.BorderBrush>
+                <Border x:Name="FocusInnerBorder"
+					BorderThickness="1"
+					CornerRadius="0.01">
+                    <Border.Background>
+                        <SolidColorBrush Color="{StaticResource FocusGlowColor}" Opacity="0"/>
+                    </Border.Background>
+                    <Border.BorderBrush>
+                        <SolidColorBrush Color="{StaticResource FocusShineColor}" Opacity="0"/>
+                    </Border.BorderBrush>
+                </Border>
+            </Border>
+            <Border x:Name="DisabledBorder"
+				CornerRadius="1.5">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border BorderThickness="{TemplateBinding BorderThickness}">
+                <ScrollViewer x:Name="PART_ContentHost"
+					Template="{StaticResource TextBoxScrollViewer}"
+					Padding="{TemplateBinding Padding}"
+					Foreground="{TemplateBinding Foreground}"/>
+            </Border>
+        </Grid>
+    </ControlTemplate>
+
+    <!-- TextBox Style -->
+    <Style TargetType="{x:Type PasswordBox}">
+        <Style.Resources>
+            <Storyboard x:Key="MouseOverOn">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.1" Value="{StaticResource OverFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="MouseOverOff">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.3" Value="{StaticResource NormalFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="OnDisabled">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.5" Value="{StaticResource DisabledFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="OnEnabled">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.5" Value="{StaticResource NormalFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+        </Style.Resources>
+        <Setter Property="Foreground">
+            <Setter.Value>
+                <SolidColorBrush Color="{StaticResource NormalFgColor}"/>
+            </Setter.Value>
+        </Setter>
+        <Setter Property="Background" Value="{StaticResource TrackBgBrush}"/>
+        <Setter Property="BorderBrush" Value="{StaticResource TrackBdBrush}"/>
+        <Setter Property="CaretBrush" Value="{StaticResource CaretBrush}"/>
+        <Setter Property="SelectionBrush" Value="{StaticResource SelectionBrush}"/>
+        <Setter Property="SelectionOpacity" Value="0.5"/>
+        <Setter Property="Padding" Value="2,4"/>
+        <Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
+        <Setter Property="AllowDrop" Value="true"/>
+        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden"/>
+        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden"/>
+        <Setter Property="Template" Value="{StaticResource PasswordTemplate}"/>
+        <Style.BasedOn>
+            <StaticResource ResourceKey="NoesisControlStyle"/>
+        </Style.BasedOn>
+        <Style.Triggers>
+            <Trigger Property="IsMouseOver" Value="True">
+                <Trigger.ExitActions>
+                    <BeginStoryboard Storyboard="{StaticResource MouseOverOff}"/>
+                </Trigger.ExitActions>
+                <Trigger.EnterActions>
+                    <BeginStoryboard Storyboard="{StaticResource MouseOverOn}"/>
+                </Trigger.EnterActions>
+            </Trigger>
+            <Trigger Property="IsEnabled" Value="False">
+                <Trigger.ExitActions>
+                    <BeginStoryboard Storyboard="{StaticResource OnEnabled}"/>
+                </Trigger.ExitActions>
+                <Trigger.EnterActions>
+                    <BeginStoryboard Storyboard="{StaticResource OnDisabled}"/>
+                </Trigger.EnterActions>
+            </Trigger>
+        </Style.Triggers>
+    </Style>
+
+    <!-- ==============LoginTextBox ============== -->
+    <Style x:Key="placeHolder" TargetType="{x:Type TextBox}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type TextBox}">
+                    <Grid>
+                        <TextBox Text="{Binding Path=Text,
+                                                RelativeSource={RelativeSource TemplatedParent}, 
+                                                Mode=TwoWay,
+                                                UpdateSourceTrigger=PropertyChanged}"
+                                 x:Name="textSource" 
+                                 Background="Transparent" 
+                                 Panel.ZIndex="2" />
+                        <TextBox Text="{TemplateBinding Tag}" Background="{TemplateBinding Background}" Panel.ZIndex="1">
+                            <TextBox.Style>
+                                <Style TargetType="{x:Type TextBox}">
+                                    <Setter Property="Foreground" Value="Transparent"/>
+                                    <Style.Triggers>
+                                        <DataTrigger Binding="{Binding Path=Text, Source={x:Reference textSource}}" Value="">
+                                            <Setter Property="Foreground" Value="LightGray"/>
+                                        </DataTrigger>
+                                    </Style.Triggers>
+                                </Style>
+                            </TextBox.Style>
+                        </TextBox>
+                    </Grid>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- ============== TAB CONTROL ============== -->
+
+
+    <Style TargetType="{x:Type TabItem}" x:Key="door_select_btn" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Padding" Value="10,0"/>
+        <Setter Property="HorizontalAlignment" Value="Center"/>
+        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
+        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type TabItem}">
+                    <Grid x:Name="Tab" Margin="0">
+
+                        <Border x:Name="BaseBorder"
+							Background="{TemplateBinding Background}"
+							BorderBrush="{TemplateBinding BorderBrush}"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0"/>
+                        <Border x:Name="OverBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                            </Border.Background>
+                        </Border>
+                        <Border x:Name="FocusBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0">
+                            <Border.BorderBrush>
+                                <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                            </Border.BorderBrush>
+                            <Border x:Name="FocusInnerBorder"
+								BorderThickness="1,1,1,0"
+								CornerRadius="0.01,0.01,0,0">
+                                <Border.Background>
+                                    <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0.5" Opacity="0">
+                                        <GradientStop Color="{StaticResource FocusGlowColor}" Offset="0"/>
+                                        <GradientStop Color="{StaticResource FocusTransparentGlowColor}" Offset="1"/>
+                                    </LinearGradientBrush>
+                                </Border.Background>
+                                <Border.BorderBrush>
+                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0">
+                                        <GradientStop Color="{StaticResource FocusShineColor}" Offset="0"/>
+                                        <GradientStop Color="{StaticResource FocusTransparentShineColor}" Offset="1"/>
+                                    </LinearGradientBrush>
+                                </Border.BorderBrush>
+                            </Border>
+                        </Border>
+                        <Border x:Name="DisabledBorder"
+							CornerRadius="1.5,1.5,0,0">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                            </Border.Background>
+                        </Border>
+                        <Border x:Name="TabBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							Padding="{TemplateBinding Padding}"
+							CornerRadius="1,1,0,0">
+                            <ContentPresenter x:Name="ContentHost"
+								ContentSource="Header"
+								HorizontalAlignment="Left"
+								VerticalAlignment="Center"/>
+                        </Border>
+                        <Border Name="Border" Margin="0,0,0,0" Background="Transparent">
+                            <ContentPresenter x:Name="ContentSite" VerticalAlignment="Center"
+                              HorizontalAlignment="Center"
+                              ContentSource="Header" 
+                              RecognizesAccessKey="True">
+
+                            </ContentPresenter>
+                        </Border>
+                    </Grid>
+                    <ControlTemplate.Triggers>
+                        <Trigger Property="IsSelected" Value="True">
+                            <Setter Property="Panel.ZIndex" Value="100" />
+                            <Setter TargetName="Border" Property="Background" Value="#1B1B1B" />
+                            <Setter TargetName="Border" Property="TextElement.Foreground" Value="#FFEE9906" />
+
+                        </Trigger>
+
+                        <Trigger Property="IsSelected" Value="False">
+                            <Setter TargetName="Border" Property="TextElement.Foreground" Value="{x:Null}" />
+                        </Trigger>
+
+
+                    </ControlTemplate.Triggers>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- TabControl Style -->
+    <Style TargetType="{x:Type TabControl}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
+        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
+        <Setter Property="Padding" Value="4"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type TabControl}">
+                    <Grid KeyboardNavigation.TabNavigation="Local">
+                        <Grid.RowDefinitions>
+                            <RowDefinition Height="Auto"/>
+                            <RowDefinition Height="*"/>
+                        </Grid.RowDefinitions>
+                        <VisualStateManager.VisualStateGroups>
+                            <VisualStateGroup x:Name="CommonStates">
+                                <VisualStateGroup.Transitions>
+                                    <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                                    <VisualTransition From="Disabled" GeneratedDuration="0:0:0.1"/>
+                                </VisualStateGroup.Transitions>
+                                <VisualState x:Name="Normal"/>
+                                <VisualState x:Name="Disabled">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="PART_SelectedContentHost">
+                                            <EasingColorKeyFrame KeyTime="0" Value="{StaticResource DisabledFgColor}"/>
+                                        </ColorAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                            </VisualStateGroup>
+                        </VisualStateManager.VisualStateGroups>
+                        <TabPanel x:Name="HeaderPanel"
+							Grid.Row="0"
+							Panel.ZIndex="1"
+							IsItemsHost="True"
+							KeyboardNavigation.TabIndex="1"/>
+                        <Border x:Name="BaseBorder"
+							Grid.Row="1"
+							Background="{TemplateBinding Background}"
+							CornerRadius="0,1,1,1"/>
+                        <Border x:Name="DisabledBorder"
+							Grid.Row="1"
+							CornerRadius="0,1.5,1.5,1.5">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                            </Border.Background>
+                        </Border>
+                        <Border x:Name="SelectedContentBorder"
+							Grid.Row="1"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							KeyboardNavigation.DirectionalNavigation="Contained"
+							KeyboardNavigation.TabIndex="2"
+							KeyboardNavigation.TabNavigation="Local">
+                            <ContentPresenter x:Name="PART_SelectedContentHost"
+								ContentSource="SelectedContent"
+								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
+								VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
+                                
+                                <TextElement.Foreground>
+                                    <SolidColorBrush Color="{StaticResource NormalFgColor}"/>
+                                </TextElement.Foreground>
+                            </ContentPresenter>
+                        </Border>
+                    </Grid>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- TabItem Style -->
+    <Style TargetType="{x:Type TabItem}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Padding" Value="10,0"/>
+        <Setter Property="HorizontalAlignment" Value="Center"/>
+        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
+        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type TabItem}">
+                    <Grid x:Name="Tab" Margin="0">
+                        
+                        <Border x:Name="BaseBorder"
+							Background="{TemplateBinding Background}"
+							BorderBrush="{TemplateBinding BorderBrush}"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0"/>
+                        <Border x:Name="OverBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                            </Border.Background>
+                        </Border>
+                        <Border x:Name="FocusBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0">
+                            <Border.BorderBrush>
+                                <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                            </Border.BorderBrush>
+                            <Border x:Name="FocusInnerBorder"
+								BorderThickness="1,1,1,0"
+								CornerRadius="0.01,0.01,0,0">
+                                <Border.Background>
+                                    <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0.5" Opacity="0">
+                                        <GradientStop Color="{StaticResource FocusGlowColor}" Offset="0"/>
+                                        <GradientStop Color="{StaticResource FocusTransparentGlowColor}" Offset="1"/>
+                                    </LinearGradientBrush>
+                                </Border.Background>
+                                <Border.BorderBrush>
+                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0">
+                                        <GradientStop Color="{StaticResource FocusShineColor}" Offset="0"/>
+                                        <GradientStop Color="{StaticResource FocusTransparentShineColor}" Offset="1"/>
+                                    </LinearGradientBrush>
+                                </Border.BorderBrush>
+                            </Border>
+                        </Border>
+                        <Border x:Name="DisabledBorder"
+							CornerRadius="1.5,1.5,0,0">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                            </Border.Background>
+                        </Border>
+                        <Border x:Name="TabBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							Padding="{TemplateBinding Padding}"
+							CornerRadius="1,1,0,0">
+                            <ContentPresenter x:Name="ContentHost"
+								ContentSource="Header"
+								HorizontalAlignment="Left"
+								VerticalAlignment="Center"/>
+                        </Border>
+                        <Border Name="Border" Margin="0,0,0,0" Background="Transparent">
+                            <ContentPresenter x:Name="ContentSite" VerticalAlignment="Center"
+                              HorizontalAlignment="Center"
+                              ContentSource="Header" 
+                              RecognizesAccessKey="True">
+                                
+                            </ContentPresenter>
+                        </Border>
+                    </Grid>
+                    <ControlTemplate.Triggers>
+                        <Trigger Property="IsSelected" Value="True">
+                            <Setter Property="Panel.ZIndex" Value="100" />
+                            <Setter TargetName="Border" Property="Background" Value="Black" />
+                            <Setter TargetName="Border" Property="TextElement.Foreground" Value="#FFEE9906" />
+                            
+                        </Trigger>
+
+                        <Trigger Property="IsSelected" Value="False">
+                            <Setter TargetName="Border" Property="TextElement.Foreground" Value="{x:Null}" />
+                        </Trigger>
+                       
+
+                    </ControlTemplate.Triggers>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    
+    <!-- ItemsControl Style -->
+    <Style TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type ItemsControl}">
+                    <Border
+                      Background="{TemplateBinding Background}"
+                      BorderBrush="{TemplateBinding BorderBrush}"
+                      BorderThickness="{TemplateBinding BorderThickness}"
+                      Padding="{TemplateBinding Padding}">
+                        <ItemsPresenter />
+                    </Border>
+                    
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+
+
+    <!-- ============== SCROLL BAR ============== -->
+
+    <!-- ScrollBarLineButton Style -->
+    <Style x:Key="ScrollBarLineButton" TargetType="{x:Type RepeatButton}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Width="4" Background="#FFEBEBEB" SnapsToDevicePixels="True"/>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- ScrollBarPageButton Style -->
+    <Style x:Key="ScrollBarPageButton" TargetType="{x:Type RepeatButton}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Background="Transparent"/>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- HorizontalScrollBarThumb Style -->
+    <Style x:Key="HorizontalScrollBarThumb" TargetType="{x:Type Thumb}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type Thumb}">
+                    <Grid>
+                        <VisualStateManager.VisualStateGroups>
+                            <VisualStateGroup x:Name="CommonStates">
+                                <VisualStateGroup.Transitions>
+                                    <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                                    <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                                    <VisualTransition GeneratedDuration="0" To="Pressed"/>
+                                    <VisualTransition From="Pressed" GeneratedDuration="0:0:0.2"/>
+                                    <VisualTransition GeneratedDuration="0:0:0.2" To="Disabled"/>
+                                    <VisualTransition From="Disabled" GeneratedDuration="0:0:0.2"/>
+                                </VisualStateGroup.Transitions>
+                                <VisualState x:Name="Normal"/>
+                                <VisualState x:Name="MouseOver">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0.6"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                                <VisualState x:Name="Pressed">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0.9"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                                <VisualState x:Name="Disabled">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                            </VisualStateGroup>
+                        </VisualStateManager.VisualStateGroups>
+                        <Border x:Name="BaseBorder"
+							Background="Transparent"/>
+                        <Border x:Name="DragBorder"
+							CornerRadius="1"
+							Margin="0,4">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource CheckBgColor}" Opacity="0.3"/>
+                            </Border.Background>
+                        </Border>
+                    </Grid>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- HorizontalScrollbar Template -->
+    <ControlTemplate x:Key="HorizontalScrollBar" TargetType="{x:Type ScrollBar}">
+        <Grid
+			Background="Transparent"
+			MinHeight="{TemplateBinding MaxHeight}"
+			MaxHeight="{TemplateBinding MaxHeight}">
+            <Grid.ColumnDefinitions>
+                <ColumnDefinition MinWidth="{TemplateBinding MaxHeight}" MaxWidth="{TemplateBinding MaxHeight}"/>
+                <ColumnDefinition Width="*"/>
+                <ColumnDefinition MinWidth="{TemplateBinding MaxHeight}" MaxWidth="{TemplateBinding MaxHeight}"/>
+            </Grid.ColumnDefinitions>
+            <Track x:Name="PART_Track" Grid.Column="0" Grid.ColumnSpan="3" Margin="1,0" Orientation="Horizontal">
+                <Track.DecreaseRepeatButton>
+                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageLeftCommand"/>
+                </Track.DecreaseRepeatButton>
+                <Track.Thumb>
+                    <Thumb x:Name="Thumb" Style="{StaticResource HorizontalScrollBarThumb}" IsEnabled="False"/>
+                </Track.Thumb>
+                <Track.IncreaseRepeatButton>
+                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageRightCommand"/>
+                </Track.IncreaseRepeatButton>
+            </Track>
+            <RepeatButton x:Name="LeftLineButton"
+				Grid.Column="0"
+				Style="{StaticResource ScrollBarLineButton}"
+				Command="ScrollBar.LineLeftCommand">
+                <Geometry>M 4 0 L 4 8 L 0 4 Z</Geometry>
+            </RepeatButton>
+            <RepeatButton x:Name="RightLineButton"
+				Grid.Column="2"
+				Style="{StaticResource ScrollBarLineButton}"
+				Command="ScrollBar.LineRightCommand">
+                <Geometry>M 0 0 L 4 4 L 0 8 Z</Geometry>
+            </RepeatButton>
+        </Grid>
+        <ControlTemplate.Triggers>
+            <Trigger Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="True"/>
+            </Trigger>
+            <Trigger SourceName="LeftLineButton" Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="False"/>
+            </Trigger>
+            <Trigger SourceName="RightLineButton" Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="False"/>
+            </Trigger>
+        </ControlTemplate.Triggers>
+    </ControlTemplate>
+
+    <!-- VerticalScrollBarThumb Style -->
+    <Style x:Key="VerticalScrollBarThumb" TargetType="{x:Type Thumb}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type Thumb}">
+                    <Grid>
+                        <VisualStateManager.VisualStateGroups>
+                            <VisualStateGroup x:Name="CommonStates">
+                                <VisualStateGroup.Transitions>
+                                    <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                                    <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                                    <VisualTransition GeneratedDuration="0" To="Pressed"/>
+                                    <VisualTransition From="Pressed" GeneratedDuration="0:0:0.2"/>
+                                    <VisualTransition GeneratedDuration="0:0:0.2" To="Disabled"/>
+                                    <VisualTransition From="Disabled" GeneratedDuration="0:0:0.2"/>
+                                </VisualStateGroup.Transitions>
+                                <VisualState x:Name="Normal"/>
+                                <VisualState x:Name="MouseOver">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0.6"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                                <VisualState x:Name="Pressed">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0.9"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                                <VisualState x:Name="Disabled">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                            </VisualStateGroup>
+                        </VisualStateManager.VisualStateGroups>
+                        <Border x:Name="BaseBorder" Background="Transparent"/>
+                        <Border x:Name="DragBorder" CornerRadius="1" Margin="4,0">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource CheckBgColor}" Opacity="0.3"/>
+                            </Border.Background>
+                        </Border>
+                    </Grid>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- VerticalScrollBar Template -->
+    <ControlTemplate x:Key="VerticalScrollBar" TargetType="{x:Type ScrollBar}">
+        <Grid
+			Background="Transparent"
+			MinWidth="{TemplateBinding MaxWidth}"
+			MaxWidth="{TemplateBinding MaxWidth}">
+            <Grid.RowDefinitions>
+                <RowDefinition MinHeight="{TemplateBinding MaxWidth}" MaxHeight="{TemplateBinding MaxWidth}"/>
+                <RowDefinition Height="*"/>
+                <RowDefinition MinHeight="{TemplateBinding MaxWidth}" MaxHeight="{TemplateBinding MaxWidth}"/>
+            </Grid.RowDefinitions>
+            <Track x:Name="PART_Track" Grid.Row="0" Grid.RowSpan="3" Margin="0,1" Orientation="Vertical" IsDirectionReversed="True">
+                <Track.DecreaseRepeatButton>
+                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageUpCommand"/>
+                </Track.DecreaseRepeatButton>
+                <Track.Thumb>
+                    <Thumb x:Name="Thumb" Style="{StaticResource VerticalScrollBarThumb}" IsEnabled="False"/>
+                </Track.Thumb>
+                <Track.IncreaseRepeatButton>
+                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageDownCommand"/>
+                </Track.IncreaseRepeatButton>
+            </Track>
+            <RepeatButton x:Name="UpLineButton"
+				Grid.Row="0"
+				Style="{StaticResource ScrollBarLineButton}"
+				Command="ScrollBar.LineUpCommand">
+                <Geometry>M 0 4 L 8 4 L 4 0 Z</Geometry>
+            </RepeatButton>
+            <RepeatButton x:Name="DownLineButton"
+				Grid.Row="2"
+				Style="{StaticResource ScrollBarLineButton}"
+				Command="ScrollBar.LineDownCommand">
+                <Geometry>M 0 0 L 4 4 L 8 0 Z</Geometry>
+            </RepeatButton>
+        </Grid>
+        <ControlTemplate.Triggers>
+            <Trigger Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="True"/>
+            </Trigger>
+            <Trigger SourceName="UpLineButton" Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="False"/>
+            </Trigger>
+            <Trigger SourceName="DownLineButton" Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="False"/>
+            </Trigger>
+        </ControlTemplate.Triggers>
+    </ControlTemplate>
+
+    <!-- ScrollBar Style -->
+    <Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Style.Triggers>
+            <Trigger Property="Orientation" Value="Horizontal">
+                <Setter Property="MaxHeight" Value="15"/>
+                <Setter Property="Template" Value="{StaticResource HorizontalScrollBar}"/>
+            </Trigger>
+            <Trigger Property="Orientation" Value="Vertical">
+                <Setter Property="MaxWidth" Value="15"/>
+                <Setter Property="Template" Value="{StaticResource VerticalScrollBar}"/>
+            </Trigger>
+        </Style.Triggers>
+    </Style>
+
+
+    <!-- ============== SCROLL VIEWER ============== -->
+
+    <!-- ScrollViewer Style -->
+    <Style TargetType="{x:Type ScrollViewer}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Background" Value="Transparent"/>
+        <Setter Property="MinWidth" Value="15"/>
+        <Setter Property="MinHeight" Value="15"/>
+        <Setter Property="PanningMode" Value="Both"/>
+        <Setter Property="HorizontalScrollBarVisibility" Value="Disabled"/>
+        <Setter Property="VerticalScrollBarVisibility" Value="Visible"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type ScrollViewer}">
+                    <Grid Background="{TemplateBinding Background}">
+
+                        <Grid.ColumnDefinitions>
+                            <ColumnDefinition Width="*"/>
+                            <ColumnDefinition Width="Auto"/>
+                        </Grid.ColumnDefinitions>
+
+                        <Grid.RowDefinitions>
+                            <RowDefinition Height="*"/>
+                            <RowDefinition Height="Auto"/>
+                        </Grid.RowDefinitions>
+
+                        <ScrollContentPresenter
+							Grid.Column="0"
+							Grid.ColumnSpan="2"
+							Grid.Row="0"
+							Grid.RowSpan="2"
+							Content="{TemplateBinding Content}"
+							ContentTemplate="{TemplateBinding ContentTemplate}"
+							ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
+							CanContentScroll="{TemplateBinding CanContentScroll}"
+							Margin="{TemplateBinding Padding}"/>
+
+                        <!-- The visibility of the ScrollBars is controlled by the implementation of the control -->
+                        <ScrollBar x:Name="PART_HorizontalScrollBar"
+							Grid.Column="0"
+							Grid.ColumnSpan="2"
+							Grid.Row="1"
+							Orientation="Horizontal"
+							MaxHeight="{TemplateBinding MinHeight}"
+							Template="{StaticResource HorizontalScrollBar}"
+							Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"
+							Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
+							ViewportSize="{TemplateBinding ViewportWidth}"
+							Minimum="0"
+							Maximum="{TemplateBinding ScrollableWidth}"/>
+                        <ScrollBar x:Name="PART_VerticalScrollBar"
+							Grid.Column="1"
+							Grid.Row="0"
+							Grid.RowSpan="2"
+							Orientation="Vertical"
+							MaxWidth="{TemplateBinding MinWidth}"
+							Template="{StaticResource VerticalScrollBar}"
+							Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
+							Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
+							ViewportSize="{TemplateBinding ViewportHeight}"
+							Minimum="0"
+							Maximum="{TemplateBinding ScrollableHeight}"/>
+                    </Grid>
+                    <ControlTemplate.Triggers>
+                        <Trigger SourceName="PART_HorizontalScrollBar" Property="IsMouseOver" Value="True">
+                            <Setter TargetName="PART_HorizontalScrollBar" Property="Panel.ZIndex" Value="1"/>
+                        </Trigger>
+                        <Trigger SourceName="PART_VerticalScrollBar" Property="IsMouseOver" Value="True">
+                            <Setter TargetName="PART_VerticalScrollBar" Property="Panel.ZIndex" Value="1"/>
+                        </Trigger>
+                    </ControlTemplate.Triggers>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+
+    <SolidColorBrush x:Key="TextForegroundBrush" Color="#FF482E19"/>
+    <LinearGradientBrush x:Key="IndentBackground" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Offset="0" Color="#FF2E6E9B"/>
+        <GradientStop Offset="0.95" Color="#FF143B5E"/>
+        <GradientStop Offset="0.89" Color="#FF1C4E78"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="IndentBorder" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Color="#FF17436A" Offset="0"/>
+        <GradientStop Color="#FF164269" Offset="1"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="LabelBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Color="White" Offset="0"/>
+        <GradientStop Color="#FFCBCBCB" Offset="1"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="ControlShadowBrush" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Color="#11000000" Offset="0"/>
+        <GradientStop Color="#33000000" Offset="1"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="SliderBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Color="#FF1A7FB2"/>
+        <GradientStop Color="#FF24648F" Offset="0.5"/>
+        <GradientStop Color="#FF1A7FB2" Offset="1"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="SliderBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Offset="0" Color="#0C000000"/>
+        <GradientStop Offset="0.5" Color="#4C000000"/>
+        <GradientStop Offset="1" Color="#0C000000"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="SliderIndicatorBrush" StartPoint="0,0" EndPoint="0,1">
+        <GradientStop Offset="0" Color="#00000000"/>
+        <GradientStop Offset="1" Color="#4C000000"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="ComboBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Color="#FF131313"/>
+        <GradientStop Color="#FF131313" Offset="1"/>
+    </LinearGradientBrush>
+
+    <LinearGradientBrush x:Key="NoesisLogoBg" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Offset="0" Color="#FF184C79"/>
+        <GradientStop Offset="0.05" Color="#FF1B5688"/>
+        <GradientStop Offset="1" Color="#FF123859"/>
+    </LinearGradientBrush>
+    <SolidColorBrush x:Key="NoesisLogoFg" Color="#07000000"/>
+    <SolidColorBrush x:Key="NoesisLogoBlueBg" Color="#FF2AA6E2"/>
+    <Geometry x:Key="NoesisLogoGeometry">
+        M64.552314,61.408115 L90.473059,64.639252 65.938536,97.224111 96.858771,170.22477 151.36087,176.44062 176.65871,144.70187 186.30899,167.69955 161.59547,200.607 80.812194,191.57223 39.827483,94.941438 z
+        M48.254649,23.461594 L152.39867,36.273918 169.09616,74.476677 153.32091,95.305482 137.28592,57.748096 58.689337,48.038651 58.673125,48.036747 26.085236,92.157874 40.901858,129.9017 16.161385,126.74894 0.032970434,88.96424 z
+        M136.8885,0 L177.71051,4.9764633 210.32399,79.460176 147.07187,163.27949 105.70369,158.62394 95.540381,134.55325 136.09376,139.68585 183.81151,76.187043 161.88087,25.886173 121.79224,19.86055 z
+    </Geometry>
+    <Geometry x:Key="NoesisTextGeometry">
+        M92.8579999677658,70.3415300000004L91.6092999677657,70.3415300000004C89.1117999677657,70.3415300000004 86.3690999677657,69.0553500000004 84.6772999677657,67.5409700000003 83.3359999677656,66.3402600000004 81.3786999677656,63.7640900000003 79.5695999677656,61.6829800000004L48.2047999677656,14.2132800000004C44.6023999677656,9.61943000000042 40.5841999677656,5.85798000000045 37.5730999677657,3.3297700000004 32.8352999677656,1.39255000000037 29.1355999677657,0.416200000000344 22.8921999677656,0.416200000000344L-3.22343520764434E-08,0.416200000000344 -3.22343520764434E-08,91.5688500000003 21.6435999677657,91.5688500000003 21.6435999677657,21.6435500000003 22.8921999677656,21.6435500000003C25.3893999677656,21.6435500000003 27.0235999677656,22.4759800000004 29.1048999677656,23.7246500000003 31.1705999677658,25.5488600000003 33.1231999677656,27.6454000000003 34.6437999677657,30.1582000000003L66.0398999677656,78.0749800000003C69.6422999677656,82.7973200000003 72.2215999677657,85.6954300000003 75.5205999677657,88.6398700000003 80.0990999677657,90.7209900000004 84.9497999677657,91.9850800000002 91.6092999677657,91.9850800000002L114.501399967766,91.9850800000002 114.501399967766,2.27373673749166E-13 92.8579999677658,2.27373673749166E-13z
+        M206.253499967766,3.41060514011881E-13L160.667099967766,3.41060514011881E-13C137.774799967766,3.41060514011881E-13,126.120799967766,9.57309000000032,126.120799967766,29.1355300000003L126.120799967766,62.4333200000003C126.120799967766,81.5795200000003,137.774799967766,91.5688500000003,160.667099967766,91.5688500000003L206.253499967766,91.5688500000003C229.145899967766,91.5688500000003,240.800099967766,81.9957600000003,240.800099967766,62.4333200000003L240.800099967766,29.1355300000003C240.800099967766,9.98931000000039,229.145899967766,3.41060514011881E-13,206.253499967766,3.41060514011881E-13z
+        M218.323899967766,62.4333200000003C218.323899967766,67.4279700000003,214.161899967766,70.3415300000004,206.253499967766,70.3415300000004L160.667099967766,70.3415300000004C152.758899967766,70.3415300000004,148.596999967766,67.8441800000004,148.596999967766,62.4333200000003L148.596999967766,29.1355300000003C148.596999967766,23.7246500000003,152.758899967766,21.2273400000003,160.667099967766,21.2273400000003L206.253499967766,21.2273400000003C214.161899967766,21.2273400000003,218.323899967766,23.7246500000003,218.323899967766,29.1355300000003z
+        M274.513899967766,65.7631100000002L274.513899967766,56.6062200000003 366.277899967766,56.6062200000003 366.277899967766,35.3788800000003 274.513899967766,35.3788800000003 274.513899967766,26.2219700000003C274.513899967766,23.3084200000003,276.178999967766,21.6435500000002,279.508699967766,21.6435500000002L366.694299967766,21.6435500000002 366.694299967766,2.27373673749166E-13 279.508699967766,2.27373673749166E-13C261.194999967766,2.27373673749166E-13,252.037899967766,7.49200000000019,252.037899967766,22.0597700000002L252.037899967766,68.6766500000002C252.037899967766,83.6606500000002,261.194999967766,91.1526500000002,279.508699967766,91.1526500000002L367.110299967766,91.1526500000002 367.110299967766,69.9253100000002 279.508699967766,69.9253100000002C276.178999967766,70.3415300000001,274.513899967766,68.6766500000002,274.513899967766,65.7631100000002z
+        M464.725099967766,34.9626400000003L404.986699967766,34.9626400000003C401.656899967766,34.9626400000003,399.575899967766,33.7139800000003,399.575899967766,31.6328800000003L399.575899967766,24.5570900000003C399.575899967766,22.4759800000004,401.240899967766,21.2273400000003,404.986699967766,21.2273400000003L489.281899967766,21.2273400000003 489.281899967766,3.41060514011881E-13 404.986699967766,3.41060514011881E-13C386.672899967766,3.41060514011881E-13,377.516099967766,7.4920000000003,377.516099967766,22.0597700000003L377.516099967766,36.6275400000003C377.516099967766,49.5304200000003,386.672899967766,56.1899800000003,404.986699967766,56.1899800000003L464.725099967766,56.1899800000003C468.054699967766,56.1899800000003,469.719799967766,57.4386300000003,469.719799967766,59.5197500000004L469.719799967766,67.0117400000004C469.719799967766,69.0928600000004,468.054699967766,70.3415300000004,464.725099967766,70.3415300000004L380.429599967766,70.3415300000004 380.429599967766,91.5688500000003 464.725099967766,91.5688500000003C483.038799967766,91.5688500000003,492.195599967766,84.0768600000003,492.195599967766,69.5090700000003L492.195599967766,57.0224100000002C492.195599967766,42.4546400000002,483.038799967766,34.9626400000003,464.725099967766,34.9626400000003z
+        M503.433699967766,3.41060514011881E-13L525.909499967766,3.41060514011881E-13 525.909499967766,91.1526500000003 503.433699967766,91.1526500000003z
+        M625.010299967766,34.9626400000003L565.054499967766,34.9626400000003C561.724799967766,34.9626400000003,559.643599967766,33.7139800000003,559.643599967766,31.6328800000003L559.643599967766,24.5570900000003C559.643599967766,22.4759800000004,561.308399967766,21.2273400000003,565.054499967766,21.2273400000003L649.567499967766,21.2273400000003 649.567499967766,3.41060514011881E-13 565.054499967766,3.41060514011881E-13C546.740699967766,3.41060514011881E-13,537.583799967766,7.4920000000003,537.583799967766,22.0597700000003L537.583799967766,36.6275400000003C537.583799967766,49.5304200000003,546.740699967766,56.1899800000003,565.054499967766,56.1899800000003L625.010299967766,56.1899800000003C628.340199967766,56.1899800000003,630.005099967766,57.4386300000003,630.005099967766,59.5197500000004L630.005099967766,67.0117400000004C630.005099967766,69.0928600000004,628.340199967766,70.3415300000004,625.010299967766,70.3415300000004L540.497399967766,70.3415300000004 540.497399967766,91.5688500000003 625.010299967766,91.5688500000003C643.324099967766,91.5688500000003,652.481199967766,84.0768600000003,652.481199967766,69.5090700000003L652.481199967766,57.0224100000002C652.064899967766,42.4546400000002,642.907899967766,34.9626400000003,625.010299967766,34.9626400000003z
+    </Geometry>
+    <Geometry x:Key="NoesisGuiTextGeometry">
+        M218.200700106049,67.01174C218.200700106049,69.09286,216.535800106049,70.34153,213.205900106049,70.34153L153.648800106049,70.34153C150.319100106049,70.34153,148.237800106049,69.09286,148.237800106049,67.01174L148.237800106049,0.416200000000003 125.762100106049,0.416200000000003 125.762100106049,69.50907C125.762100106049,84.49309,134.918800106049,91.98508,153.232600106049,91.98508L212.789900106049,91.98508C231.103500106049,91.98508,240.260500106049,84.49309,240.260500106049,69.92531L240.260500106049,2.5410988417629E-21 217.784500106049,2.5410988417629E-21 217.784500106049,67.01174z
+        M251.914700106049,2.5410988417629E-21L274.390700106049,2.5410988417629E-21 274.390700106049,91.15265 251.914700106049,91.15265z
+        M64.3942001060486,35.79507L64.3942001060486,58.27109 92.2812001060488,58.27109 92.2812001060488,70.34153 27.4707001060488,70.34153C24.1410001060485,70.34153,22.0598001060485,68.67665,22.0598001060485,65.76311L22.0598001060485,25.80576C22.0598001060485,22.89222,23.7246001060485,21.2273399999999,27.4707001060488,21.2273399999999L112.259700106049,21.2273399999999 112.259700106049,2.5410988417629E-21 27.4707001060488,2.5410988417629E-21C9.15670010604844,2.5410988417629E-21,1.06048446468776E-07,7.49199999999996,1.06048446468776E-07,22.05977L1.06048446468776E-07,68.67665C1.06048446468776E-07,83.66065,9.15670010604844,91.15265,27.4707001060488,91.15265L114.757000106049,91.15265 114.757000106049,35.37888 64.3942001060486,35.37888z
+    </Geometry>
+    <ScaleTransform x:Key="NoesisLogoTransform" ScaleX="1.5" ScaleY="1.5"/>
+
+    <ControlTemplate x:Key="LabelTemplate" TargetType="{x:Type Label}">
+        <Grid>
+            <TextBlock Text="{TemplateBinding Content}" Margin="1,1,-1,-1" Foreground="#30000000" TextWrapping="Wrap" LineHeight="{TemplateBinding MinHeight}"/>
+            <TextBlock Text="{TemplateBinding Content}" TextWrapping="Wrap" LineHeight="{TemplateBinding MinHeight}"/>
+        </Grid>
+    </ControlTemplate>
+    <Style TargetType="{x:Type Label}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="Template" Value="{StaticResource LabelTemplate}"/>
+    </Style>
+
+    <Style x:Key="FocusStyle" TargetType="{x:Type Control}">
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type Control}">
+                    <Border CornerRadius="2" BorderThickness="1" Margin="1">
+                        <Border.BorderBrush>
+                            <LinearGradientBrush>
+                                <GradientStop Offset="0.0" Color="#22E0F8FF"/>
+                                <GradientStop Offset="0.5" Color="#88E0F8FF"/>
+                                <GradientStop Offset="1.0" Color="#22E0F8FF"/>
+                            </LinearGradientBrush>
+                        </Border.BorderBrush>
+                    </Border>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style TargetType="{x:Type RepeatButton}" x:Key="SliderIncreaseButtonStyle">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Height="4" Background="#7A7A7A" SnapsToDevicePixels="True"/>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style TargetType="{x:Type RepeatButton}" x:Key="AmbientSliderIncreaseButtonStyle">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Height="4" Background="Transparent" SnapsToDevicePixels="True"/>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style TargetType="{x:Type RepeatButton}" x:Key="AmbientSliderDecreaseButtonStyle">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Height="4" SnapsToDevicePixels="True" CornerRadius="2" Background="Transparent">
+
+                    </Border>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style TargetType="{x:Type RepeatButton}" x:Key="SliderDecreaseButtonStyle">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Height="4" SnapsToDevicePixels="True" CornerRadius="2" Background="#F49811" >
+                    </Border>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style x:Key="SliderButtonStyle" TargetType="{x:Type RepeatButton}">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Width="4" Background="#F49811" SnapsToDevicePixels="True"/>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style TargetType="{x:Type Thumb}" x:Key="SliderThumbStyle">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="Height" Value="20"/>
+        <Setter Property="Width" Value="20"></Setter>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type Thumb}">
+                    <Border CornerRadius="7">
+                        <Ellipse Width="20" Height="20" Fill="#F49811"/>
+                    </Border>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <ControlTemplate x:Key="SliderTemplate" TargetType="{x:Type Slider}">
+        <Border BorderThickness="1" CornerRadius="3" UseLayoutRounding="True" >
+            <Border>
+                <Grid>
+                    <Track x:Name="PART_Track">
+                        <Track.DecreaseRepeatButton>
+                            <RepeatButton x:Name="DecBtn"
+                                    Style="{StaticResource SliderDecreaseButtonStyle}"/>
+                        </Track.DecreaseRepeatButton>
+                        <Track.IncreaseRepeatButton>
+                            <RepeatButton
+                                    Style="{StaticResource SliderIncreaseButtonStyle}"/>
+                        </Track.IncreaseRepeatButton>
+                        <Track.Thumb>
+                            <Thumb Style="{StaticResource SliderThumbStyle}" Width="20" Margin ="-10,0"/>
+                        </Track.Thumb>
+                    </Track>
+                </Grid>
+            </Border>
+        </Border>
+    </ControlTemplate>
+
+    <ControlTemplate x:Key="AmbinetSliderTemplate" TargetType="{x:Type Slider}">
+        <Border BorderThickness="1" CornerRadius="3" UseLayoutRounding="True" >
+            <Border>
+                <Grid>
+                    <Track x:Name="PART_Track">
+                        <Track.DecreaseRepeatButton>
+                            <RepeatButton x:Name="DecBtn"
+                                    Style="{StaticResource AmbientSliderDecreaseButtonStyle}"/>
+                        </Track.DecreaseRepeatButton>
+                        <Track.IncreaseRepeatButton>
+                            <RepeatButton
+                                    Style="{StaticResource AmbientSliderIncreaseButtonStyle}"/>
+                        </Track.IncreaseRepeatButton>
+                        <Track.Thumb>
+                            <Thumb Style="{StaticResource SliderThumbStyle}" Width="20" Margin ="-10,0"/>
+                        </Track.Thumb>
+                    </Track>
+                </Grid>
+            </Border>
+        </Border>
+    </ControlTemplate>
+
+    <Style x:Key="SliderStyle" TargetType="{x:Type Slider}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsMoveToPointEnabled" Value="True"/>
+        <Setter Property="MinHeight" Value="0"/>
+        <Setter Property="Minimum" Value="2000"/>
+        <Setter Property="Maximum" Value="6000"/>
+        <Setter Property="SmallChange" Value="1"/>
+        <Setter Property="LargeChange" Value="10"/>
+        <Setter Property="Template" Value="{StaticResource SliderTemplate}"/>
+    </Style>
+
+    <Style x:Key="AmbientSliderStyle" TargetType="{x:Type Slider}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsMoveToPointEnabled" Value="True"/>
+        <Setter Property="MinHeight" Value="0"/>
+        <Setter Property="Minimum" Value="2000"/>
+        <Setter Property="Maximum" Value="6000"/>
+        <Setter Property="SmallChange" Value="1"/>
+        <Setter Property="LargeChange" Value="10"/>
+        <Setter Property="Template" Value="{StaticResource AmbinetSliderTemplate}"/>
+    </Style>
+
+    <ControlTemplate x:Key="ComboBoxButtonTemplate" TargetType="{x:Type ToggleButton}">
+        <Grid Background="Transparent"/>
+    </ControlTemplate>
+    <Style x:Key="ComboBoxButtonStyle" TargetType="{x:Type ToggleButton}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="ClickMode" Value="Press"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Template" Value="{StaticResource ComboBoxButtonTemplate}"/>
+    </Style>
+    <ControlTemplate x:Key="ComboBoxTemplate" TargetType="{x:Type ComboBox}">
+        <Grid UseLayoutRounding="True">
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.2"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+
+                    <VisualState x:Name="Disabled"/>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border>
+                <Grid>
+                    <Border x:Name="Bd" >
+                        <Border.Background>
+                            <SolidColorBrush Color="Black" Opacity="0"/>
+                        </Border.Background>
+                    </Border>
+                    <ContentPresenter x:Name="ContentSite"
+                            HorizontalAlignment="Center" VerticalAlignment="Center" Margin="{TemplateBinding Padding}"
+                            ContentSource="SelectionBoxItem"/>
+                    <ToggleButton x:Name="DropDownButton"
+                            IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
+                            Style="{StaticResource ComboBoxButtonStyle}"/>
+                </Grid>
+            </Border>
+            <Popup x:Name="PART_Popup"
+                    Focusable="False"
+                    IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}"
+                    Placement="Bottom"
+                    PopupAnimation="Slide" VerticalOffset="-2" AllowsTransparency="True">
+                <Grid x:Name="DropDown" MinWidth="{TemplateBinding ActualWidth}" MaxHeight="500">
+                    <Border x:Name="DropDownBorder"  Margin="1,0,1,2">
+                        <Border.Background>
+                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
+                                <GradientStop Color="#1B1B1B" Offset="0"/>
+                                <GradientStop Color="#1B1B1B" Offset="1"/>
+                            </LinearGradientBrush>
+                        </Border.Background>
+                        <StackPanel
+                                IsItemsHost="True"
+                                KeyboardNavigation.DirectionalNavigation="Contained"
+                                UseLayoutRounding="{TemplateBinding UseLayoutRounding}" Margin="3"/>
+                    </Border>
+                </Grid>
+            </Popup>
+        </Grid>
+    </ControlTemplate>
+    <Style TargetType="{x:Type ComboBox}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="FontSize" Value="11"/>
+        <Setter Property="Padding" Value="0,2,0,3"/>
+        <Setter Property="FocusVisualStyle" Value="{StaticResource FocusStyle}"/>
+        <Setter Property="Template" Value="{StaticResource ComboBoxTemplate}"/>
+    </Style>
+    <ControlTemplate x:Key="ComboBoxItemTemplate" TargetType="{x:Type ComboBoxItem}">
+        <Border x:Name="Bd" BorderThickness="1" CornerRadius="2">
+            <Border.BorderBrush>
+                <SolidColorBrush Color="Black" Opacity="0"/>
+            </Border.BorderBrush>
+            <Border.Background>
+                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0">
+                    <GradientStop Color="Black" Offset="0"/>
+                    <GradientStop Color="Black" Offset="1"/>
+                </LinearGradientBrush>
+            </Border.Background>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.2"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+                    <VisualState x:Name="MouseOver">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="Bd">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="Bd">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                    <VisualState x:Name="Disabled"/>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Margin="3,2"/>
+        </Border>
+    </ControlTemplate>
+    <Style TargetType="{x:Type ComboBoxItem}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="Foreground" Value="White"/>
+        <Setter Property="FocusVisualStyle" Value="{StaticResource FocusStyle}"/>
+        <Setter Property="Template" Value="{StaticResource ComboBoxItemTemplate}"/>
+    </Style>
+    <!-- ============== BUTTON ============== -->
+
+    <!-- Button Template -->
+    <ControlTemplate x:Key="ButtonTemplate" TargetType="{x:Type Button}">
+        <Grid>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                        <VisualTransition From="Disabled" GeneratedDuration="0:0:0.1"/>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                        <VisualTransition GeneratedDuration="0" To="Pressed"/>
+                        <VisualTransition From="Pressed" GeneratedDuration="0:0:0.2"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+                    <VisualState x:Name="MouseOver">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="OverBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="ContentHost">
+                                <EasingColorKeyFrame KeyTime="0" Value="{StaticResource OverFgColor}"/>
+                            </ColorAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                    <VisualState x:Name="Pressed">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="OverBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="OverBorder">
+                                <EasingColorKeyFrame KeyTime="0" Value="{StaticResource PressOverlay}"/>
+                            </ColorAnimationUsingKeyFrames>
+                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="ContentHost">
+                                <EasingColorKeyFrame KeyTime="0" Value="{StaticResource OverFgColor}"/>
+                            </ColorAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                    <VisualState x:Name="Disabled">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="ContentHost">
+                                <EasingColorKeyFrame KeyTime="0" Value="{StaticResource DisabledFgColor}"/>
+                            </ColorAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+                <VisualStateGroup x:Name="FocusStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Focused"/>
+                        <VisualTransition From="Focused" GeneratedDuration="0:0:0.3"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Unfocused"/>
+                    <VisualState x:Name="Focused">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Control.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border x:Name="BaseBorder"
+				Background="{TemplateBinding Background}"
+				BorderBrush="{TemplateBinding BorderBrush}"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="4"/>
+            <Border x:Name="OverBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="4">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border x:Name="FocusBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="4">
+                <Border.BorderBrush>
+                    <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                </Border.BorderBrush>
+                <Border x:Name="FocusInnerBorder"
+					BorderThickness="1"
+					CornerRadius="0.01">
+                    <Border.Background>
+                        <SolidColorBrush Color="{StaticResource FocusGlowColor}" Opacity="0"/>
+                    </Border.Background>
+                    <Border.BorderBrush>
+                        <SolidColorBrush Color="{StaticResource FocusShineColor}" Opacity="0"/>
+                    </Border.BorderBrush>
+                </Border>
+            </Border>
+            <Border x:Name="DisabledBorder"
+				CornerRadius="4">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border
+				BorderThickness="{TemplateBinding BorderThickness}"
+				Padding="{TemplateBinding Padding}">
+                <ContentPresenter x:Name="ContentHost"
+					HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
+					VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
+                    <TextElement.Foreground>
+                        <SolidColorBrush Color="{StaticResource NormalFgColor}"/>
+                    </TextElement.Foreground>
+                </ContentPresenter>
+            </Border>
+        </Grid>
+    </ControlTemplate>
+
+    <!-- Button Style -->
+    <Style TargetType="{x:Type Button}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Padding" Value="6,4"/>
+        <Setter Property="HorizontalContentAlignment" Value="Center"/>
+        <Setter Property="VerticalContentAlignment" Value="Center"/>
+        <Setter Property="Template" Value="{StaticResource ButtonTemplate}"/>
+        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
+        
+    </Style>
+
+</ResourceDictionary>

+ 1786 - 0
Assets/Localization/Resources_Kalea.xaml

@@ -0,0 +1,1786 @@
+<ResourceDictionary
+  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+  xmlns:local="clr-namespace:Localization">
+    <!-- ============== COLORS ============== -->
+    <Color x:Key="NormalFgColor">#FFF1F3F4</Color>
+    <Color x:Key="NormalBgColor">#FF4D555B</Color>
+    <Color x:Key="NormalDarkBgColor">#FF464E53</Color>
+    <Color x:Key="NormalBdColor">#FF31373A</Color>
+    <Color x:Key="NormalDarkBdColor">#FF2F3437</Color>
+    <Color x:Key="CheckBgColor">#FF31373A</Color>
+    <Color x:Key="CheckBdColor">#FF54B3E5</Color>
+    <Color x:Key="TrackBgColor">#FF383D42</Color>
+    <Color x:Key="TrackBdColor">#FF2E3438</Color>
+    <Color x:Key="TrackLightBdColor">#FF2E3338</Color>
+    <Color x:Key="TrackDarkBdColor">#FF2C3135</Color>
+    <Color x:Key="OverOverlay">#19CBEBFF</Color>
+    <Color x:Key="OverFgColor">#FFF1F3F4</Color>
+    <Color x:Key="PressOverlay">#646464</Color>
+    <Color x:Key="FocusColor">#646464</Color>
+    <Color x:Key="FocusGlowColor">#646464</Color>
+    <Color x:Key="FocusTransparentGlowColor">#00114C74</Color>
+    <Color x:Key="FocusShineColor">#646464</Color>
+    <Color x:Key="FocusTransparentShineColor">#001B6F9C</Color>
+    <Color x:Key="DisabledOverlay">#1468757E</Color>
+    <Color x:Key="DisabledFgColor">#FF939B9F</Color>
+    <Color x:Key="DisabledCheckBgColor">#FF31373A</Color>
+    <Color x:Key="DisabledCheckBdColor">#FF6B9AB3</Color>
+    
+    <!-- ============== BRUSHES ============== -->
+    <SolidColorBrush x:Key="NormalFgBrush" Color="{StaticResource NormalFgColor}"/>
+    <LinearGradientBrush x:Key="NormalBgBrush" EndPoint="0.5,1" StartPoint="0.5,0"/>
+    <SolidColorBrush x:Key="NormalDarkBgBrush" Color="{StaticResource NormalDarkBgColor}"/>
+    <LinearGradientBrush x:Key="NormalBdBrush" EndPoint="0.5,1" StartPoint="0.5,0" />
+    <SolidColorBrush x:Key="NormalDarkBdBrush" Color="{StaticResource NormalDarkBdColor}"/>
+    <SolidColorBrush x:Key="TrackBgBrush" Color="{StaticResource TrackBgColor}"/>
+    <LinearGradientBrush x:Key="TrackBdBrush" EndPoint="0.5,1" StartPoint="0.5,0"/>
+    <SolidColorBrush x:Key="TrackLightBdBrush" Color="{StaticResource TrackLightBdColor}"/>
+    <SolidColorBrush x:Key="TrackDarkBdBrush" Color="{StaticResource TrackDarkBdColor}"/>
+    <SolidColorBrush x:Key="WindowBrush" Color="#FF3D4348"/>
+    <SolidColorBrush x:Key="ToolTipFgBrush" Color="{StaticResource OverFgColor}"/>
+    <SolidColorBrush x:Key="ToolTipBgBrush" Color="#FF466E87"/>
+    <SolidColorBrush x:Key="ToolTipBdBrush" Color="#FF3A5E79"/>
+    <SolidColorBrush x:Key="CaretBrush" Color="{StaticResource OverFgColor}"/>
+    <SolidColorBrush x:Key="SelectionBrush" Color="{StaticResource CheckBgColor}"/>
+
+    <!-- ============== CheckBox ============== -->
+    <Style x:Key="{x:Type CheckBox}" TargetType="CheckBox">
+
+    <Setter Property="SnapsToDevicePixels" Value="true"/>
+    <Setter Property="TextElement.Foreground" Value="Black"/>
+    <Setter Property="BorderThickness" Value="1" />
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="CheckBox">
+                    <BulletDecorator Background="Transparent">
+                        <BulletDecorator.Bullet>
+                            <Border x:Name="Border"  
+                              Width="13" 
+                              Height="13" 
+                              CornerRadius="0" 
+                              Background="Transparent"
+                              BorderThickness="1"
+                              BorderBrush="White">
+                            </Border>
+                        </BulletDecorator.Bullet>
+ 
+                    </BulletDecorator>
+                    <ControlTemplate.Triggers>
+                        <Trigger Property="IsChecked" Value="True">
+                            <Setter Property="Background" Value="#FF5B85BB" TargetName="Border"/>
+                        </Trigger>
+                        <!--<Trigger Property="IsMouseOver" Value="true">
+                            <Setter Property="Background" Value="red" TargetName="Border"/>
+                        </Trigger>
+                        <Trigger Property="IsPressed" Value="true">
+                            <Setter Property="Background" Value="yellow" TargetName="Border"/>
+                            <Setter Property="BorderBrush" Value="green" TargetName="Border"/>
+                        </Trigger>
+                        <Trigger Property="IsEnabled" Value="false">
+                            <Setter Property="Background" Value="blue" TargetName="Border"/>
+                            <Setter Property="BorderBrush" Value="white" TargetName="Border"/>
+                        </Trigger>-->
+                    </ControlTemplate.Triggers>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+        <Style.Triggers>
+        <Trigger Property="IsMouseOver" Value="True">                    
+            <Setter Property="Background" Value="LightSkyBlue" />
+        </Trigger>                
+    </Style.Triggers>
+
+</Style>
+
+    <!--<Style x:Key="{x:Type CheckBox}" TargetType="CheckBox">
+        <Setter Property="SnapsToDevicePixels" Value="true"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="CheckBox">
+                    <BulletDecorator Background="Transparent">
+                        <BulletDecorator.Bullet>
+                            <Border x:Name="Border"  
+                              Width="13" 
+                              Height="13" 
+                              CornerRadius="0" 
+                              Background="Transparent"
+                              BorderThickness="1"
+                              BorderBrush="White">
+
+                            </Border>
+                        </BulletDecorator.Bullet>
+                        <ContentPresenter Margin="4,0,0,0"
+                            VerticalAlignment="Center"
+                            HorizontalAlignment="Left"
+                            RecognizesAccessKey="True"/>
+                    </BulletDecorator>
+
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+
+    </Style>-->
+
+    <!-- ============== DEFAULT CONTROL STLYE ============== -->
+    <Style x:Key="NoesisControlStyle">
+        <!--<Setter Property="Control.Background" Value="{StaticResource NormalBgBrush}"/>-->
+        <!--<Setter Property="Control.BorderBrush" Value="{StaticResource NormalBdBrush}"/>-->
+        <Setter Property="Control.BorderThickness" Value="1"/>
+        <Setter Property="Control.HorizontalContentAlignment" Value="Stretch"/>
+        <Setter Property="Control.VerticalContentAlignment" Value="Stretch"/>
+        <Setter Property="Control.Padding" Value="0"/>
+        <Setter Property="Control.IsTabStop" Value="True"/>
+        <Setter Property="Control.OverridesDefaultStyle" Value="False"/>
+    </Style>
+
+    <!-- ============== TEXT BOX ============== -->
+
+    <!-- TextBoxScrollViewer Template -->
+    <ControlTemplate x:Key="TextBoxScrollViewer" TargetType="{x:Type ScrollViewer}">
+        <ScrollContentPresenter x:Name="ScrollContentPresenter" Margin="{TemplateBinding Padding}"/>
+    </ControlTemplate>
+
+    <!-- TextBox NoWrap Template -->
+    <ControlTemplate x:Key="TextBoxNoWrapTemplate" TargetType="{x:Type TextBox}">
+        <Grid>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                        <VisualTransition From="Disabled" GeneratedDuration="0:0:0.1"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+                    <VisualState x:Name="Disabled">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                    <VisualState x:Name="ReadOnly"/>
+                    <VisualState x:Name="MouseOver">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="OverBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+                <VisualStateGroup x:Name="FocusStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Focused"/>
+                        <VisualTransition From="Focused" GeneratedDuration="0:0:0.3"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Unfocused"/>
+                    <VisualState x:Name="Focused">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.15"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border x:Name="BaseBorder"
+				Background="{TemplateBinding Background}"
+				BorderBrush="{TemplateBinding BorderBrush}"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1"/>
+            <Border x:Name="OverBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border x:Name="FocusBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.BorderBrush>
+                    <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                </Border.BorderBrush>
+                <Border x:Name="FocusInnerBorder"
+					BorderThickness="1"
+					CornerRadius="0.01">
+                    <Border.Background>
+                        <SolidColorBrush Color="{StaticResource FocusGlowColor}" Opacity="0"/>
+                    </Border.Background>
+                    <Border.BorderBrush>
+                        <SolidColorBrush Color="{StaticResource FocusShineColor}" Opacity="0"/>
+                    </Border.BorderBrush>
+                </Border>
+            </Border>
+            <Border x:Name="DisabledBorder"
+				CornerRadius="1.5">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border BorderThickness="{TemplateBinding BorderThickness}">
+                <ScrollViewer x:Name="PART_ContentHost"
+					Template="{StaticResource TextBoxScrollViewer}"
+					Padding="{TemplateBinding Padding}"
+					Foreground="{TemplateBinding Foreground}"/>
+            </Border>
+        </Grid>
+    </ControlTemplate>
+
+    <!-- TextBox Wrap Template -->
+    <ControlTemplate x:Key="TextBoxWrapTemplate" TargetType="{x:Type TextBox}">
+        <Grid>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                        <VisualTransition From="Disabled" GeneratedDuration="0:0:0.1"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+                    <VisualState x:Name="Disabled">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                    <VisualState x:Name="ReadOnly"/>
+                    <VisualState x:Name="MouseOver">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="OverBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+                <VisualStateGroup x:Name="FocusStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Focused"/>
+                        <VisualTransition From="Focused" GeneratedDuration="0:0:0.3"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Unfocused"/>
+                    <VisualState x:Name="Focused">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.15"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border x:Name="BaseBorder"
+				Background="{TemplateBinding Background}"
+				BorderBrush="{TemplateBinding BorderBrush}"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <ScrollViewer x:Name="PART_ContentHost1"
+					Padding="{TemplateBinding Padding}"
+					Foreground="{TemplateBinding Foreground}"/>
+            </Border>
+            <Border x:Name="OverBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border x:Name="FocusBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.BorderBrush>
+                    <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                </Border.BorderBrush>
+                <Border x:Name="FocusInnerBorder"
+					BorderThickness="1"
+					CornerRadius="0.01">
+                    <Border.Background>
+                        <SolidColorBrush Color="{StaticResource FocusGlowColor}" Opacity="0"/>
+                    </Border.Background>
+                    <Border.BorderBrush>
+                        <SolidColorBrush Color="{StaticResource FocusShineColor}" Opacity="0"/>
+                    </Border.BorderBrush>
+                </Border>
+            </Border>
+            <Border x:Name="DisabledBorder"
+				CornerRadius="1.5">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border BorderThickness="{TemplateBinding BorderThickness}">
+                <ScrollViewer x:Name="PART_ContentHost"
+					Padding="{TemplateBinding Padding}"
+					Foreground="{TemplateBinding Foreground}"/>
+            </Border>
+        </Grid>
+    </ControlTemplate>
+
+    <!-- TextBox Style -->
+    
+    <Style TargetType="{x:Type TextBox}">
+        <Style.Resources>
+            <Storyboard x:Key="MouseOverOn">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.1" Value="{StaticResource OverFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="MouseOverOff">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.3" Value="{StaticResource NormalFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="OnDisabled">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.1" Value="{StaticResource DisabledFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="OnEnabled">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.1" Value="{StaticResource NormalFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+        </Style.Resources>
+        <Setter Property="Foreground">
+            <Setter.Value>
+                <SolidColorBrush Color="{StaticResource NormalFgColor}"/>
+            </Setter.Value>
+        </Setter>
+        <Setter Property="Background" Value="{StaticResource TrackBgBrush}"/>
+        <Setter Property="BorderBrush" Value="{StaticResource TrackBdBrush}"/>
+        <Setter Property="CaretBrush" Value="{StaticResource CaretBrush}"/>
+        <Setter Property="SelectionBrush" Value="{StaticResource SelectionBrush}"/>
+        <Setter Property="SelectionOpacity" Value="0.5"/>
+        <Setter Property="Padding" Value="2,4"/>
+        <Setter Property="TextAlignment" Value="Left"/>
+        <Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
+        <Setter Property="AllowDrop" Value="True"/>
+        <Style.BasedOn>
+            <StaticResource ResourceKey="NoesisControlStyle"/>
+        </Style.BasedOn>
+        <Style.Triggers>
+            <Trigger Property="IsMouseOver" Value="True">
+                <Trigger.ExitActions>
+                    <BeginStoryboard Storyboard="{StaticResource MouseOverOff}"/>
+                </Trigger.ExitActions>
+                <Trigger.EnterActions>
+                    <BeginStoryboard Storyboard="{StaticResource MouseOverOn}"/>
+                </Trigger.EnterActions>
+            </Trigger>
+            <Trigger Property="TextWrapping" Value="NoWrap">
+                <Setter Property="HorizontalScrollBarVisibility" Value="Hidden"/>
+                <Setter Property="VerticalScrollBarVisibility" Value="Hidden"/>
+                <Setter Property="Template" Value="{StaticResource TextBoxNoWrapTemplate}"/>
+            </Trigger>
+            <Trigger Property="TextWrapping" Value="Wrap">
+                <Setter Property="HorizontalScrollBarVisibility" Value="Hidden"/>
+                <Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
+                <Setter Property="Template" Value="{StaticResource TextBoxWrapTemplate}"/>
+            </Trigger>
+            <Trigger Property="TextWrapping" Value="WrapWithOverflow">
+                <Setter Property="HorizontalScrollBarVisibility" Value="Hidden"/>
+                <Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
+                <Setter Property="Template" Value="{StaticResource TextBoxWrapTemplate}"/>
+            </Trigger>
+            <Trigger Property="IsEnabled" Value="False">
+                <Trigger.ExitActions>
+                    <BeginStoryboard Storyboard="{StaticResource OnEnabled}"/>
+                </Trigger.ExitActions>
+                <Trigger.EnterActions>
+                    <BeginStoryboard Storyboard="{StaticResource OnDisabled}"/>
+                </Trigger.EnterActions>
+            </Trigger>
+        </Style.Triggers>
+    </Style>
+
+
+    
+    <!-- ============== PASSWORD BOX ============== -->
+
+    <!-- TextBox NoWrap Template -->
+    <ControlTemplate x:Key="PasswordTemplate" TargetType="{x:Type PasswordBox}">
+        <Grid>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                        <VisualTransition From="Disabled" GeneratedDuration="0:0:0.1"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+                    <VisualState x:Name="Disabled">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                    <VisualState x:Name="ReadOnly"/>
+                    <VisualState x:Name="MouseOver">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="OverBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+                <VisualStateGroup x:Name="FocusStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Focused"/>
+                        <VisualTransition From="Focused" GeneratedDuration="0:0:0.3"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Unfocused"/>
+                    <VisualState x:Name="Focused">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.15"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border x:Name="BaseBorder"
+				Background="{TemplateBinding Background}"
+				BorderBrush="{TemplateBinding BorderBrush}"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1"/>
+            <Border x:Name="OverBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border x:Name="FocusBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="1">
+                <Border.BorderBrush>
+                    <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                </Border.BorderBrush>
+                <Border x:Name="FocusInnerBorder"
+					BorderThickness="1"
+					CornerRadius="0.01">
+                    <Border.Background>
+                        <SolidColorBrush Color="{StaticResource FocusGlowColor}" Opacity="0"/>
+                    </Border.Background>
+                    <Border.BorderBrush>
+                        <SolidColorBrush Color="{StaticResource FocusShineColor}" Opacity="0"/>
+                    </Border.BorderBrush>
+                </Border>
+            </Border>
+            <Border x:Name="DisabledBorder"
+				CornerRadius="1.5">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border BorderThickness="{TemplateBinding BorderThickness}">
+                <ScrollViewer x:Name="PART_ContentHost"
+					Template="{StaticResource TextBoxScrollViewer}"
+					Padding="{TemplateBinding Padding}"
+					Foreground="{TemplateBinding Foreground}"/>
+            </Border>
+        </Grid>
+    </ControlTemplate>
+
+    <!-- TextBox Style -->
+    <Style TargetType="{x:Type PasswordBox}">
+        <Style.Resources>
+            <Storyboard x:Key="MouseOverOn">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.1" Value="{StaticResource OverFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="MouseOverOff">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.3" Value="{StaticResource NormalFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="OnDisabled">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.5" Value="{StaticResource DisabledFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+            <Storyboard x:Key="OnEnabled">
+                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="{x:Null}">
+                    <EasingColorKeyFrame KeyTime="0:0:0.5" Value="{StaticResource NormalFgColor}"/>
+                </ColorAnimationUsingKeyFrames>
+            </Storyboard>
+        </Style.Resources>
+        <Setter Property="Foreground">
+            <Setter.Value>
+                <SolidColorBrush Color="{StaticResource NormalFgColor}"/>
+            </Setter.Value>
+        </Setter>
+        <Setter Property="Background" Value="{StaticResource TrackBgBrush}"/>
+        <Setter Property="BorderBrush" Value="{StaticResource TrackBdBrush}"/>
+        <Setter Property="CaretBrush" Value="{StaticResource CaretBrush}"/>
+        <Setter Property="SelectionBrush" Value="{StaticResource SelectionBrush}"/>
+        <Setter Property="SelectionOpacity" Value="0.5"/>
+        <Setter Property="Padding" Value="2,4"/>
+        <Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
+        <Setter Property="AllowDrop" Value="true"/>
+        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden"/>
+        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden"/>
+        <Setter Property="Template" Value="{StaticResource PasswordTemplate}"/>
+        <Style.BasedOn>
+            <StaticResource ResourceKey="NoesisControlStyle"/>
+        </Style.BasedOn>
+        <Style.Triggers>
+            <Trigger Property="IsMouseOver" Value="True">
+                <Trigger.ExitActions>
+                    <BeginStoryboard Storyboard="{StaticResource MouseOverOff}"/>
+                </Trigger.ExitActions>
+                <Trigger.EnterActions>
+                    <BeginStoryboard Storyboard="{StaticResource MouseOverOn}"/>
+                </Trigger.EnterActions>
+            </Trigger>
+            <Trigger Property="IsEnabled" Value="False">
+                <Trigger.ExitActions>
+                    <BeginStoryboard Storyboard="{StaticResource OnEnabled}"/>
+                </Trigger.ExitActions>
+                <Trigger.EnterActions>
+                    <BeginStoryboard Storyboard="{StaticResource OnDisabled}"/>
+                </Trigger.EnterActions>
+            </Trigger>
+        </Style.Triggers>
+    </Style>
+
+    <!-- ==============LoginTextBox ============== -->
+    <Style x:Key="placeHolder" TargetType="{x:Type TextBox}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type TextBox}">
+                    <Grid>
+                        <TextBox Text="{Binding Path=Text,
+                                                RelativeSource={RelativeSource TemplatedParent}, 
+                                                Mode=TwoWay,
+                                                UpdateSourceTrigger=PropertyChanged}"
+                                 x:Name="textSource" 
+                                 Background="Transparent" 
+                                 Panel.ZIndex="2" />
+                        <TextBox Text="{TemplateBinding Tag}" Background="{TemplateBinding Background}" Panel.ZIndex="1">
+                            <TextBox.Style>
+                                <Style TargetType="{x:Type TextBox}">
+                                    <Setter Property="Foreground" Value="Transparent"/>
+                                    <Style.Triggers>
+                                        <DataTrigger Binding="{Binding Path=Text, Source={x:Reference textSource}}" Value="">
+                                            <Setter Property="Foreground" Value="LightGray"/>
+                                        </DataTrigger>
+                                    </Style.Triggers>
+                                </Style>
+                            </TextBox.Style>
+                        </TextBox>
+                    </Grid>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- ============== TAB CONTROL ============== -->
+
+
+    <Style TargetType="{x:Type TabItem}" x:Key="door_select_btn" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Padding" Value="10,0"/>
+        <Setter Property="HorizontalAlignment" Value="Center"/>
+        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
+        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type TabItem}">
+                    <Grid x:Name="Tab" Margin="0">
+
+                        <Border x:Name="BaseBorder"
+							Background="{TemplateBinding Background}"
+							BorderBrush="{TemplateBinding BorderBrush}"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0"/>
+                        <Border x:Name="OverBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                            </Border.Background>
+                        </Border>
+                        <Border x:Name="FocusBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0">
+                            <Border.BorderBrush>
+                                <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                            </Border.BorderBrush>
+                            <Border x:Name="FocusInnerBorder"
+								BorderThickness="1,1,1,0"
+								CornerRadius="0.01,0.01,0,0">
+                                <Border.Background>
+                                    <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0.5" Opacity="0">
+                                        <GradientStop Color="{StaticResource FocusGlowColor}" Offset="0"/>
+                                        <GradientStop Color="{StaticResource FocusTransparentGlowColor}" Offset="1"/>
+                                    </LinearGradientBrush>
+                                </Border.Background>
+                                <Border.BorderBrush>
+                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0">
+                                        <GradientStop Color="{StaticResource FocusShineColor}" Offset="0"/>
+                                        <GradientStop Color="{StaticResource FocusTransparentShineColor}" Offset="1"/>
+                                    </LinearGradientBrush>
+                                </Border.BorderBrush>
+                            </Border>
+                        </Border>
+                        <Border x:Name="DisabledBorder"
+							CornerRadius="1.5,1.5,0,0">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                            </Border.Background>
+                        </Border>
+                        <Border x:Name="TabBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							Padding="{TemplateBinding Padding}"
+							CornerRadius="1,1,0,0">
+                            <ContentPresenter x:Name="ContentHost"
+								ContentSource="Header"
+								HorizontalAlignment="Left"
+								VerticalAlignment="Center"/>
+                        </Border>
+                        <Border Name="Border" Margin="0,0,0,0" Background="Transparent">
+                            <ContentPresenter x:Name="ContentSite" VerticalAlignment="Center"
+                              HorizontalAlignment="Center"
+                              ContentSource="Header" 
+                              RecognizesAccessKey="True">
+
+                            </ContentPresenter>
+                        </Border>
+                    </Grid>
+                    <ControlTemplate.Triggers>
+                        <Trigger Property="IsSelected" Value="True">
+                            <Setter Property="Panel.ZIndex" Value="100" />
+                            <Setter TargetName="Border" Property="Background" Value="#1B1B1B" />
+                            <Setter TargetName="Border" Property="TextElement.Foreground" Value="#5B85BB" />
+
+                        </Trigger>
+
+                        <Trigger Property="IsSelected" Value="False">
+                            <Setter TargetName="Border" Property="TextElement.Foreground" Value="{x:Null}" />
+                        </Trigger>
+
+
+                    </ControlTemplate.Triggers>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- TabControl Style -->
+    <Style TargetType="{x:Type TabControl}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
+        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
+        <Setter Property="Padding" Value="4"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type TabControl}">
+                    <Grid KeyboardNavigation.TabNavigation="Local">
+                        <Grid.RowDefinitions>
+                            <RowDefinition Height="Auto"/>
+                            <RowDefinition Height="*"/>
+                        </Grid.RowDefinitions>
+                        <VisualStateManager.VisualStateGroups>
+                            <VisualStateGroup x:Name="CommonStates">
+                                <VisualStateGroup.Transitions>
+                                    <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                                    <VisualTransition From="Disabled" GeneratedDuration="0:0:0.1"/>
+                                </VisualStateGroup.Transitions>
+                                <VisualState x:Name="Normal"/>
+                                <VisualState x:Name="Disabled">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="PART_SelectedContentHost">
+                                            <EasingColorKeyFrame KeyTime="0" Value="{StaticResource DisabledFgColor}"/>
+                                        </ColorAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                            </VisualStateGroup>
+                        </VisualStateManager.VisualStateGroups>
+                        <TabPanel x:Name="HeaderPanel"
+							Grid.Row="0"
+							Panel.ZIndex="1"
+							IsItemsHost="True"
+							KeyboardNavigation.TabIndex="1"/>
+                        <Border x:Name="BaseBorder"
+							Grid.Row="1"
+							Background="{TemplateBinding Background}"
+							CornerRadius="0,1,1,1"/>
+                        <Border x:Name="DisabledBorder"
+							Grid.Row="1"
+							CornerRadius="0,1.5,1.5,1.5">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                            </Border.Background>
+                        </Border>
+                        <Border x:Name="SelectedContentBorder"
+							Grid.Row="1"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							KeyboardNavigation.DirectionalNavigation="Contained"
+							KeyboardNavigation.TabIndex="2"
+							KeyboardNavigation.TabNavigation="Local">
+                            <ContentPresenter x:Name="PART_SelectedContentHost"
+								ContentSource="SelectedContent"
+								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
+								VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
+                                
+                                <TextElement.Foreground>
+                                    <SolidColorBrush Color="{StaticResource NormalFgColor}"/>
+                                </TextElement.Foreground>
+                            </ContentPresenter>
+                        </Border>
+                    </Grid>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- TabItem Style -->
+    <Style TargetType="{x:Type TabItem}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Padding" Value="10,0"/>
+        <Setter Property="HorizontalAlignment" Value="Center"/>
+        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
+        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type TabItem}">
+                    <Grid x:Name="Tab" Margin="0">
+                        
+                        <Border x:Name="BaseBorder"
+							Background="{TemplateBinding Background}"
+							BorderBrush="{TemplateBinding BorderBrush}"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0"/>
+                        <Border x:Name="OverBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                            </Border.Background>
+                        </Border>
+                        <Border x:Name="FocusBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							CornerRadius="1,1,0,0">
+                            <Border.BorderBrush>
+                                <SolidColorBrush Color="{StaticResource FocusColor}" Opacity="0"/>
+                            </Border.BorderBrush>
+                            <Border x:Name="FocusInnerBorder"
+								BorderThickness="1,1,1,0"
+								CornerRadius="0.01,0.01,0,0">
+                                <Border.Background>
+                                    <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0.5" Opacity="0">
+                                        <GradientStop Color="{StaticResource FocusGlowColor}" Offset="0"/>
+                                        <GradientStop Color="{StaticResource FocusTransparentGlowColor}" Offset="1"/>
+                                    </LinearGradientBrush>
+                                </Border.Background>
+                                <Border.BorderBrush>
+                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0">
+                                        <GradientStop Color="{StaticResource FocusShineColor}" Offset="0"/>
+                                        <GradientStop Color="{StaticResource FocusTransparentShineColor}" Offset="1"/>
+                                    </LinearGradientBrush>
+                                </Border.BorderBrush>
+                            </Border>
+                        </Border>
+                        <Border x:Name="DisabledBorder"
+							CornerRadius="1.5,1.5,0,0">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                            </Border.Background>
+                        </Border>
+                        <Border x:Name="TabBorder"
+							BorderThickness="{TemplateBinding BorderThickness}"
+							Padding="{TemplateBinding Padding}"
+							CornerRadius="1,1,0,0">
+                            <ContentPresenter x:Name="ContentHost"
+								ContentSource="Header"
+								HorizontalAlignment="Left"
+								VerticalAlignment="Center"/>
+                        </Border>
+                        <Border Name="Border" Margin="0,0,0,0" Background="Transparent">
+                            <ContentPresenter x:Name="ContentSite" VerticalAlignment="Center"
+                              HorizontalAlignment="Center"
+                              ContentSource="Header" 
+                              RecognizesAccessKey="True">
+                                
+                            </ContentPresenter>
+                        </Border>
+                    </Grid>
+                    <ControlTemplate.Triggers>
+                        <Trigger Property="IsSelected" Value="True">
+                            <Setter Property="Panel.ZIndex" Value="100" />
+                            <Setter TargetName="Border" Property="Background" Value="Black" />
+                            <Setter TargetName="Border" Property="TextElement.Foreground" Value="#5B85BB" />
+                            
+                        </Trigger>
+
+                        <Trigger Property="IsSelected" Value="False">
+                            <Setter TargetName="Border" Property="TextElement.Foreground" Value="{x:Null}" />
+                        </Trigger>
+                       
+
+                    </ControlTemplate.Triggers>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    
+    <!-- ItemsControl Style -->
+    <Style TargetType="{x:Type ItemsControl}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type ItemsControl}">
+                    <Border
+                      Background="{TemplateBinding Background}"
+                      BorderBrush="{TemplateBinding BorderBrush}"
+                      BorderThickness="{TemplateBinding BorderThickness}"
+                      Padding="{TemplateBinding Padding}">
+                        <ItemsPresenter />
+                    </Border>
+                    
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+
+
+    <!-- ============== SCROLL BAR ============== -->
+
+    <!-- ScrollBarLineButton Style -->
+    <Style x:Key="ScrollBarLineButton" TargetType="{x:Type RepeatButton}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Width="4" Background="#FFEBEBEB" SnapsToDevicePixels="True"/>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- ScrollBarPageButton Style -->
+    <Style x:Key="ScrollBarPageButton" TargetType="{x:Type RepeatButton}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Background="Transparent"/>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- HorizontalScrollBarThumb Style -->
+    <Style x:Key="HorizontalScrollBarThumb" TargetType="{x:Type Thumb}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type Thumb}">
+                    <Grid>
+                        <VisualStateManager.VisualStateGroups>
+                            <VisualStateGroup x:Name="CommonStates">
+                                <VisualStateGroup.Transitions>
+                                    <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                                    <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                                    <VisualTransition GeneratedDuration="0" To="Pressed"/>
+                                    <VisualTransition From="Pressed" GeneratedDuration="0:0:0.2"/>
+                                    <VisualTransition GeneratedDuration="0:0:0.2" To="Disabled"/>
+                                    <VisualTransition From="Disabled" GeneratedDuration="0:0:0.2"/>
+                                </VisualStateGroup.Transitions>
+                                <VisualState x:Name="Normal"/>
+                                <VisualState x:Name="MouseOver">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0.6"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                                <VisualState x:Name="Pressed">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0.9"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                                <VisualState x:Name="Disabled">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                            </VisualStateGroup>
+                        </VisualStateManager.VisualStateGroups>
+                        <Border x:Name="BaseBorder"
+							Background="Transparent"/>
+                        <Border x:Name="DragBorder"
+							CornerRadius="1"
+							Margin="0,4">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource CheckBgColor}" Opacity="0.3"/>
+                            </Border.Background>
+                        </Border>
+                    </Grid>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- HorizontalScrollbar Template -->
+    <ControlTemplate x:Key="HorizontalScrollBar" TargetType="{x:Type ScrollBar}">
+        <Grid
+			Background="Transparent"
+			MinHeight="{TemplateBinding MaxHeight}"
+			MaxHeight="{TemplateBinding MaxHeight}">
+            <Grid.ColumnDefinitions>
+                <ColumnDefinition MinWidth="{TemplateBinding MaxHeight}" MaxWidth="{TemplateBinding MaxHeight}"/>
+                <ColumnDefinition Width="*"/>
+                <ColumnDefinition MinWidth="{TemplateBinding MaxHeight}" MaxWidth="{TemplateBinding MaxHeight}"/>
+            </Grid.ColumnDefinitions>
+            <Track x:Name="PART_Track" Grid.Column="0" Grid.ColumnSpan="3" Margin="1,0" Orientation="Horizontal">
+                <Track.DecreaseRepeatButton>
+                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageLeftCommand"/>
+                </Track.DecreaseRepeatButton>
+                <Track.Thumb>
+                    <Thumb x:Name="Thumb" Style="{StaticResource HorizontalScrollBarThumb}" IsEnabled="False"/>
+                </Track.Thumb>
+                <Track.IncreaseRepeatButton>
+                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageRightCommand"/>
+                </Track.IncreaseRepeatButton>
+            </Track>
+            <RepeatButton x:Name="LeftLineButton"
+				Grid.Column="0"
+				Style="{StaticResource ScrollBarLineButton}"
+				Command="ScrollBar.LineLeftCommand">
+                <Geometry>M 4 0 L 4 8 L 0 4 Z</Geometry>
+            </RepeatButton>
+            <RepeatButton x:Name="RightLineButton"
+				Grid.Column="2"
+				Style="{StaticResource ScrollBarLineButton}"
+				Command="ScrollBar.LineRightCommand">
+                <Geometry>M 0 0 L 4 4 L 0 8 Z</Geometry>
+            </RepeatButton>
+        </Grid>
+        <ControlTemplate.Triggers>
+            <Trigger Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="True"/>
+            </Trigger>
+            <Trigger SourceName="LeftLineButton" Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="False"/>
+            </Trigger>
+            <Trigger SourceName="RightLineButton" Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="False"/>
+            </Trigger>
+        </ControlTemplate.Triggers>
+    </ControlTemplate>
+
+    <!-- VerticalScrollBarThumb Style -->
+    <Style x:Key="VerticalScrollBarThumb" TargetType="{x:Type Thumb}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type Thumb}">
+                    <Grid>
+                        <VisualStateManager.VisualStateGroups>
+                            <VisualStateGroup x:Name="CommonStates">
+                                <VisualStateGroup.Transitions>
+                                    <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                                    <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                                    <VisualTransition GeneratedDuration="0" To="Pressed"/>
+                                    <VisualTransition From="Pressed" GeneratedDuration="0:0:0.2"/>
+                                    <VisualTransition GeneratedDuration="0:0:0.2" To="Disabled"/>
+                                    <VisualTransition From="Disabled" GeneratedDuration="0:0:0.2"/>
+                                </VisualStateGroup.Transitions>
+                                <VisualState x:Name="Normal"/>
+                                <VisualState x:Name="MouseOver">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0.6"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                                <VisualState x:Name="Pressed">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0.9"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                                <VisualState x:Name="Disabled">
+                                    <Storyboard>
+                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DragBorder">
+                                            <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
+                                        </DoubleAnimationUsingKeyFrames>
+                                    </Storyboard>
+                                </VisualState>
+                            </VisualStateGroup>
+                        </VisualStateManager.VisualStateGroups>
+                        <Border x:Name="BaseBorder" Background="Transparent"/>
+                        <Border x:Name="DragBorder" CornerRadius="1" Margin="4,0">
+                            <Border.Background>
+                                <SolidColorBrush Color="{StaticResource CheckBgColor}" Opacity="0.3"/>
+                            </Border.Background>
+                        </Border>
+                    </Grid>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+    <!-- VerticalScrollBar Template -->
+    <ControlTemplate x:Key="VerticalScrollBar" TargetType="{x:Type ScrollBar}">
+        <Grid
+			Background="Transparent"
+			MinWidth="{TemplateBinding MaxWidth}"
+			MaxWidth="{TemplateBinding MaxWidth}">
+            <Grid.RowDefinitions>
+                <RowDefinition MinHeight="{TemplateBinding MaxWidth}" MaxHeight="{TemplateBinding MaxWidth}"/>
+                <RowDefinition Height="*"/>
+                <RowDefinition MinHeight="{TemplateBinding MaxWidth}" MaxHeight="{TemplateBinding MaxWidth}"/>
+            </Grid.RowDefinitions>
+            <Track x:Name="PART_Track" Grid.Row="0" Grid.RowSpan="3" Margin="0,1" Orientation="Vertical" IsDirectionReversed="True">
+                <Track.DecreaseRepeatButton>
+                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageUpCommand"/>
+                </Track.DecreaseRepeatButton>
+                <Track.Thumb>
+                    <Thumb x:Name="Thumb" Style="{StaticResource VerticalScrollBarThumb}" IsEnabled="False"/>
+                </Track.Thumb>
+                <Track.IncreaseRepeatButton>
+                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageDownCommand"/>
+                </Track.IncreaseRepeatButton>
+            </Track>
+            <RepeatButton x:Name="UpLineButton"
+				Grid.Row="0"
+				Style="{StaticResource ScrollBarLineButton}"
+				Command="ScrollBar.LineUpCommand">
+                <Geometry>M 0 4 L 8 4 L 4 0 Z</Geometry>
+            </RepeatButton>
+            <RepeatButton x:Name="DownLineButton"
+				Grid.Row="2"
+				Style="{StaticResource ScrollBarLineButton}"
+				Command="ScrollBar.LineDownCommand">
+                <Geometry>M 0 0 L 4 4 L 8 0 Z</Geometry>
+            </RepeatButton>
+        </Grid>
+        <ControlTemplate.Triggers>
+            <Trigger Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="True"/>
+            </Trigger>
+            <Trigger SourceName="UpLineButton" Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="False"/>
+            </Trigger>
+            <Trigger SourceName="DownLineButton" Property="IsMouseOver" Value="True">
+                <Setter TargetName="Thumb" Property="IsEnabled" Value="False"/>
+            </Trigger>
+        </ControlTemplate.Triggers>
+    </ControlTemplate>
+
+    <!-- ScrollBar Style -->
+    <Style TargetType="{x:Type ScrollBar}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Style.Triggers>
+            <Trigger Property="Orientation" Value="Horizontal">
+                <Setter Property="MaxHeight" Value="15"/>
+                <Setter Property="Template" Value="{StaticResource HorizontalScrollBar}"/>
+            </Trigger>
+            <Trigger Property="Orientation" Value="Vertical">
+                <Setter Property="MaxWidth" Value="15"/>
+                <Setter Property="Template" Value="{StaticResource VerticalScrollBar}"/>
+            </Trigger>
+        </Style.Triggers>
+    </Style>
+
+
+    <!-- ============== SCROLL VIEWER ============== -->
+
+    <!-- ScrollViewer Style -->
+    <Style TargetType="{x:Type ScrollViewer}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Background" Value="Transparent"/>
+        <Setter Property="MinWidth" Value="15"/>
+        <Setter Property="MinHeight" Value="15"/>
+        <Setter Property="PanningMode" Value="Both"/>
+        <Setter Property="HorizontalScrollBarVisibility" Value="Disabled"/>
+        <Setter Property="VerticalScrollBarVisibility" Value="Visible"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type ScrollViewer}">
+                    <Grid Background="{TemplateBinding Background}">
+
+                        <Grid.ColumnDefinitions>
+                            <ColumnDefinition Width="*"/>
+                            <ColumnDefinition Width="Auto"/>
+                        </Grid.ColumnDefinitions>
+
+                        <Grid.RowDefinitions>
+                            <RowDefinition Height="*"/>
+                            <RowDefinition Height="Auto"/>
+                        </Grid.RowDefinitions>
+
+                        <ScrollContentPresenter
+							Grid.Column="0"
+							Grid.ColumnSpan="2"
+							Grid.Row="0"
+							Grid.RowSpan="2"
+							Content="{TemplateBinding Content}"
+							ContentTemplate="{TemplateBinding ContentTemplate}"
+							ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
+							CanContentScroll="{TemplateBinding CanContentScroll}"
+							Margin="{TemplateBinding Padding}"/>
+
+                        <!-- The visibility of the ScrollBars is controlled by the implementation of the control -->
+                        <ScrollBar x:Name="PART_HorizontalScrollBar"
+							Grid.Column="0"
+							Grid.ColumnSpan="2"
+							Grid.Row="1"
+							Orientation="Horizontal"
+							MaxHeight="{TemplateBinding MinHeight}"
+							Template="{StaticResource HorizontalScrollBar}"
+							Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"
+							Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
+							ViewportSize="{TemplateBinding ViewportWidth}"
+							Minimum="0"
+							Maximum="{TemplateBinding ScrollableWidth}"/>
+                        <ScrollBar x:Name="PART_VerticalScrollBar"
+							Grid.Column="1"
+							Grid.Row="0"
+							Grid.RowSpan="2"
+							Orientation="Vertical"
+							MaxWidth="{TemplateBinding MinWidth}"
+							Template="{StaticResource VerticalScrollBar}"
+							Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
+							Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
+							ViewportSize="{TemplateBinding ViewportHeight}"
+							Minimum="0"
+							Maximum="{TemplateBinding ScrollableHeight}"/>
+                    </Grid>
+                    <ControlTemplate.Triggers>
+                        <Trigger SourceName="PART_HorizontalScrollBar" Property="IsMouseOver" Value="True">
+                            <Setter TargetName="PART_HorizontalScrollBar" Property="Panel.ZIndex" Value="1"/>
+                        </Trigger>
+                        <Trigger SourceName="PART_VerticalScrollBar" Property="IsMouseOver" Value="True">
+                            <Setter TargetName="PART_VerticalScrollBar" Property="Panel.ZIndex" Value="1"/>
+                        </Trigger>
+                    </ControlTemplate.Triggers>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+
+
+    <SolidColorBrush x:Key="TextForegroundBrush" Color="#FF482E19"/>
+    <LinearGradientBrush x:Key="IndentBackground" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Offset="0" Color="#FF2E6E9B"/>
+        <GradientStop Offset="0.95" Color="#FF143B5E"/>
+        <GradientStop Offset="0.89" Color="#FF1C4E78"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="IndentBorder" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Color="#FF17436A" Offset="0"/>
+        <GradientStop Color="#FF164269" Offset="1"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="LabelBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Color="White" Offset="0"/>
+        <GradientStop Color="#FFCBCBCB" Offset="1"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="ControlShadowBrush" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Color="#11000000" Offset="0"/>
+        <GradientStop Color="#33000000" Offset="1"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="SliderBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Color="#FF1A7FB2"/>
+        <GradientStop Color="#FF24648F" Offset="0.5"/>
+        <GradientStop Color="#FF1A7FB2" Offset="1"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="SliderBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Offset="0" Color="#0C000000"/>
+        <GradientStop Offset="0.5" Color="#4C000000"/>
+        <GradientStop Offset="1" Color="#0C000000"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="SliderIndicatorBrush" StartPoint="0,0" EndPoint="0,1">
+        <GradientStop Offset="0" Color="#00000000"/>
+        <GradientStop Offset="1" Color="#4C000000"/>
+    </LinearGradientBrush>
+    <LinearGradientBrush x:Key="ComboBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Color="#FF131313"/>
+        <GradientStop Color="#FF131313" Offset="1"/>
+    </LinearGradientBrush>
+
+    <LinearGradientBrush x:Key="NoesisLogoBg" EndPoint="0.5,1" StartPoint="0.5,0">
+        <GradientStop Offset="0" Color="#FF184C79"/>
+        <GradientStop Offset="0.05" Color="#FF1B5688"/>
+        <GradientStop Offset="1" Color="#FF123859"/>
+    </LinearGradientBrush>
+    <SolidColorBrush x:Key="NoesisLogoFg" Color="#07000000"/>
+    <SolidColorBrush x:Key="NoesisLogoBlueBg" Color="#FF2AA6E2"/>
+    <Geometry x:Key="NoesisLogoGeometry">
+        M64.552314,61.408115 L90.473059,64.639252 65.938536,97.224111 96.858771,170.22477 151.36087,176.44062 176.65871,144.70187 186.30899,167.69955 161.59547,200.607 80.812194,191.57223 39.827483,94.941438 z
+        M48.254649,23.461594 L152.39867,36.273918 169.09616,74.476677 153.32091,95.305482 137.28592,57.748096 58.689337,48.038651 58.673125,48.036747 26.085236,92.157874 40.901858,129.9017 16.161385,126.74894 0.032970434,88.96424 z
+        M136.8885,0 L177.71051,4.9764633 210.32399,79.460176 147.07187,163.27949 105.70369,158.62394 95.540381,134.55325 136.09376,139.68585 183.81151,76.187043 161.88087,25.886173 121.79224,19.86055 z
+    </Geometry>
+    <Geometry x:Key="NoesisTextGeometry">
+        M92.8579999677658,70.3415300000004L91.6092999677657,70.3415300000004C89.1117999677657,70.3415300000004 86.3690999677657,69.0553500000004 84.6772999677657,67.5409700000003 83.3359999677656,66.3402600000004 81.3786999677656,63.7640900000003 79.5695999677656,61.6829800000004L48.2047999677656,14.2132800000004C44.6023999677656,9.61943000000042 40.5841999677656,5.85798000000045 37.5730999677657,3.3297700000004 32.8352999677656,1.39255000000037 29.1355999677657,0.416200000000344 22.8921999677656,0.416200000000344L-3.22343520764434E-08,0.416200000000344 -3.22343520764434E-08,91.5688500000003 21.6435999677657,91.5688500000003 21.6435999677657,21.6435500000003 22.8921999677656,21.6435500000003C25.3893999677656,21.6435500000003 27.0235999677656,22.4759800000004 29.1048999677656,23.7246500000003 31.1705999677658,25.5488600000003 33.1231999677656,27.6454000000003 34.6437999677657,30.1582000000003L66.0398999677656,78.0749800000003C69.6422999677656,82.7973200000003 72.2215999677657,85.6954300000003 75.5205999677657,88.6398700000003 80.0990999677657,90.7209900000004 84.9497999677657,91.9850800000002 91.6092999677657,91.9850800000002L114.501399967766,91.9850800000002 114.501399967766,2.27373673749166E-13 92.8579999677658,2.27373673749166E-13z
+        M206.253499967766,3.41060514011881E-13L160.667099967766,3.41060514011881E-13C137.774799967766,3.41060514011881E-13,126.120799967766,9.57309000000032,126.120799967766,29.1355300000003L126.120799967766,62.4333200000003C126.120799967766,81.5795200000003,137.774799967766,91.5688500000003,160.667099967766,91.5688500000003L206.253499967766,91.5688500000003C229.145899967766,91.5688500000003,240.800099967766,81.9957600000003,240.800099967766,62.4333200000003L240.800099967766,29.1355300000003C240.800099967766,9.98931000000039,229.145899967766,3.41060514011881E-13,206.253499967766,3.41060514011881E-13z
+        M218.323899967766,62.4333200000003C218.323899967766,67.4279700000003,214.161899967766,70.3415300000004,206.253499967766,70.3415300000004L160.667099967766,70.3415300000004C152.758899967766,70.3415300000004,148.596999967766,67.8441800000004,148.596999967766,62.4333200000003L148.596999967766,29.1355300000003C148.596999967766,23.7246500000003,152.758899967766,21.2273400000003,160.667099967766,21.2273400000003L206.253499967766,21.2273400000003C214.161899967766,21.2273400000003,218.323899967766,23.7246500000003,218.323899967766,29.1355300000003z
+        M274.513899967766,65.7631100000002L274.513899967766,56.6062200000003 366.277899967766,56.6062200000003 366.277899967766,35.3788800000003 274.513899967766,35.3788800000003 274.513899967766,26.2219700000003C274.513899967766,23.3084200000003,276.178999967766,21.6435500000002,279.508699967766,21.6435500000002L366.694299967766,21.6435500000002 366.694299967766,2.27373673749166E-13 279.508699967766,2.27373673749166E-13C261.194999967766,2.27373673749166E-13,252.037899967766,7.49200000000019,252.037899967766,22.0597700000002L252.037899967766,68.6766500000002C252.037899967766,83.6606500000002,261.194999967766,91.1526500000002,279.508699967766,91.1526500000002L367.110299967766,91.1526500000002 367.110299967766,69.9253100000002 279.508699967766,69.9253100000002C276.178999967766,70.3415300000001,274.513899967766,68.6766500000002,274.513899967766,65.7631100000002z
+        M464.725099967766,34.9626400000003L404.986699967766,34.9626400000003C401.656899967766,34.9626400000003,399.575899967766,33.7139800000003,399.575899967766,31.6328800000003L399.575899967766,24.5570900000003C399.575899967766,22.4759800000004,401.240899967766,21.2273400000003,404.986699967766,21.2273400000003L489.281899967766,21.2273400000003 489.281899967766,3.41060514011881E-13 404.986699967766,3.41060514011881E-13C386.672899967766,3.41060514011881E-13,377.516099967766,7.4920000000003,377.516099967766,22.0597700000003L377.516099967766,36.6275400000003C377.516099967766,49.5304200000003,386.672899967766,56.1899800000003,404.986699967766,56.1899800000003L464.725099967766,56.1899800000003C468.054699967766,56.1899800000003,469.719799967766,57.4386300000003,469.719799967766,59.5197500000004L469.719799967766,67.0117400000004C469.719799967766,69.0928600000004,468.054699967766,70.3415300000004,464.725099967766,70.3415300000004L380.429599967766,70.3415300000004 380.429599967766,91.5688500000003 464.725099967766,91.5688500000003C483.038799967766,91.5688500000003,492.195599967766,84.0768600000003,492.195599967766,69.5090700000003L492.195599967766,57.0224100000002C492.195599967766,42.4546400000002,483.038799967766,34.9626400000003,464.725099967766,34.9626400000003z
+        M503.433699967766,3.41060514011881E-13L525.909499967766,3.41060514011881E-13 525.909499967766,91.1526500000003 503.433699967766,91.1526500000003z
+        M625.010299967766,34.9626400000003L565.054499967766,34.9626400000003C561.724799967766,34.9626400000003,559.643599967766,33.7139800000003,559.643599967766,31.6328800000003L559.643599967766,24.5570900000003C559.643599967766,22.4759800000004,561.308399967766,21.2273400000003,565.054499967766,21.2273400000003L649.567499967766,21.2273400000003 649.567499967766,3.41060514011881E-13 565.054499967766,3.41060514011881E-13C546.740699967766,3.41060514011881E-13,537.583799967766,7.4920000000003,537.583799967766,22.0597700000003L537.583799967766,36.6275400000003C537.583799967766,49.5304200000003,546.740699967766,56.1899800000003,565.054499967766,56.1899800000003L625.010299967766,56.1899800000003C628.340199967766,56.1899800000003,630.005099967766,57.4386300000003,630.005099967766,59.5197500000004L630.005099967766,67.0117400000004C630.005099967766,69.0928600000004,628.340199967766,70.3415300000004,625.010299967766,70.3415300000004L540.497399967766,70.3415300000004 540.497399967766,91.5688500000003 625.010299967766,91.5688500000003C643.324099967766,91.5688500000003,652.481199967766,84.0768600000003,652.481199967766,69.5090700000003L652.481199967766,57.0224100000002C652.064899967766,42.4546400000002,642.907899967766,34.9626400000003,625.010299967766,34.9626400000003z
+    </Geometry>
+    <Geometry x:Key="NoesisGuiTextGeometry">
+        M218.200700106049,67.01174C218.200700106049,69.09286,216.535800106049,70.34153,213.205900106049,70.34153L153.648800106049,70.34153C150.319100106049,70.34153,148.237800106049,69.09286,148.237800106049,67.01174L148.237800106049,0.416200000000003 125.762100106049,0.416200000000003 125.762100106049,69.50907C125.762100106049,84.49309,134.918800106049,91.98508,153.232600106049,91.98508L212.789900106049,91.98508C231.103500106049,91.98508,240.260500106049,84.49309,240.260500106049,69.92531L240.260500106049,2.5410988417629E-21 217.784500106049,2.5410988417629E-21 217.784500106049,67.01174z
+        M251.914700106049,2.5410988417629E-21L274.390700106049,2.5410988417629E-21 274.390700106049,91.15265 251.914700106049,91.15265z
+        M64.3942001060486,35.79507L64.3942001060486,58.27109 92.2812001060488,58.27109 92.2812001060488,70.34153 27.4707001060488,70.34153C24.1410001060485,70.34153,22.0598001060485,68.67665,22.0598001060485,65.76311L22.0598001060485,25.80576C22.0598001060485,22.89222,23.7246001060485,21.2273399999999,27.4707001060488,21.2273399999999L112.259700106049,21.2273399999999 112.259700106049,2.5410988417629E-21 27.4707001060488,2.5410988417629E-21C9.15670010604844,2.5410988417629E-21,1.06048446468776E-07,7.49199999999996,1.06048446468776E-07,22.05977L1.06048446468776E-07,68.67665C1.06048446468776E-07,83.66065,9.15670010604844,91.15265,27.4707001060488,91.15265L114.757000106049,91.15265 114.757000106049,35.37888 64.3942001060486,35.37888z
+    </Geometry>
+    <ScaleTransform x:Key="NoesisLogoTransform" ScaleX="1.5" ScaleY="1.5"/>
+
+    <ControlTemplate x:Key="LabelTemplate" TargetType="{x:Type Label}">
+        <Grid>
+            <TextBlock Text="{TemplateBinding Content}" Margin="1,1,-1,-1" Foreground="#30000000" TextWrapping="Wrap" LineHeight="{TemplateBinding MinHeight}"/>
+            <TextBlock Text="{TemplateBinding Content}" TextWrapping="Wrap" LineHeight="{TemplateBinding MinHeight}"/>
+        </Grid>
+    </ControlTemplate>
+    <Style TargetType="{x:Type Label}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="Template" Value="{StaticResource LabelTemplate}"/>
+    </Style>
+
+    <Style x:Key="FocusStyle" TargetType="{x:Type Control}">
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type Control}">
+                    <Border CornerRadius="2" BorderThickness="1" Margin="1">
+                        <Border.BorderBrush>
+                            <LinearGradientBrush>
+                                <GradientStop Offset="0.0" Color="#22E0F8FF"/>
+                                <GradientStop Offset="0.5" Color="#88E0F8FF"/>
+                                <GradientStop Offset="1.0" Color="#22E0F8FF"/>
+                            </LinearGradientBrush>
+                        </Border.BorderBrush>
+                    </Border>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style TargetType="{x:Type RepeatButton}" x:Key="SliderIncreaseButtonStyle">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Height="4" Background="#7A7A7A" SnapsToDevicePixels="True"/>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style TargetType="{x:Type RepeatButton}" x:Key="AmbientSliderIncreaseButtonStyle">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Height="4" Background="Transparent" SnapsToDevicePixels="True"/>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style TargetType="{x:Type RepeatButton}" x:Key="AmbientSliderDecreaseButtonStyle">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Height="4" SnapsToDevicePixels="True" CornerRadius="2" Background="Transparent">
+
+                    </Border>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style TargetType="{x:Type RepeatButton}" x:Key="SliderDecreaseButtonStyle">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Height="4" SnapsToDevicePixels="True" CornerRadius="2" Background="#5B85BB" >
+                    </Border>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style x:Key="SliderButtonStyle" TargetType="{x:Type RepeatButton}">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type RepeatButton}">
+                    <Border Width="4" Background="#5B85BB" SnapsToDevicePixels="True"/>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <Style TargetType="{x:Type Thumb}" x:Key="SliderThumbStyle">
+        <Setter Property="SnapsToDevicePixels" Value="True"/>
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="Height" Value="20"/>
+        <Setter Property="Width" Value="20"></Setter>
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="{x:Type Thumb}">
+                    <Border CornerRadius="7">
+                        <Ellipse Width="20" Height="20" Fill="#5B85BB"/>
+                    </Border>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>
+    <ControlTemplate x:Key="SliderTemplate" TargetType="{x:Type Slider}">
+        <Border BorderThickness="1" CornerRadius="3" UseLayoutRounding="True" >
+            <Border>
+                <Grid>
+                    <Track x:Name="PART_Track">
+                        <Track.DecreaseRepeatButton>
+                            <RepeatButton x:Name="DecBtn"
+                                    Style="{StaticResource SliderDecreaseButtonStyle}"/>
+                        </Track.DecreaseRepeatButton>
+                        <Track.IncreaseRepeatButton>
+                            <RepeatButton
+                                    Style="{StaticResource SliderIncreaseButtonStyle}"/>
+                        </Track.IncreaseRepeatButton>
+                        <Track.Thumb>
+                            <Thumb Style="{StaticResource SliderThumbStyle}" Width="20" Margin ="-10,0"/>
+                        </Track.Thumb>
+                    </Track>
+                </Grid>
+            </Border>
+        </Border>
+    </ControlTemplate>
+
+    <ControlTemplate x:Key="AmbinetSliderTemplate" TargetType="{x:Type Slider}">
+        <Border BorderThickness="1" CornerRadius="3" UseLayoutRounding="True" >
+            <Border>
+                <Grid>
+                    <Track x:Name="PART_Track">
+                        <Track.DecreaseRepeatButton>
+                            <RepeatButton x:Name="DecBtn"
+                                    Style="{StaticResource AmbientSliderDecreaseButtonStyle}"/>
+                        </Track.DecreaseRepeatButton>
+                        <Track.IncreaseRepeatButton>
+                            <RepeatButton
+                                    Style="{StaticResource AmbientSliderIncreaseButtonStyle}"/>
+                        </Track.IncreaseRepeatButton>
+                        <Track.Thumb>
+                            <Thumb Style="{StaticResource SliderThumbStyle}" Width="20" Margin ="-10,0"/>
+                        </Track.Thumb>
+                    </Track>
+                </Grid>
+            </Border>
+        </Border>
+    </ControlTemplate>
+
+    <Style x:Key="SliderStyle" TargetType="{x:Type Slider}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsMoveToPointEnabled" Value="True"/>
+        <Setter Property="MinHeight" Value="0"/>
+        <Setter Property="Minimum" Value="2000"/>
+        <Setter Property="Maximum" Value="6000"/>
+        <Setter Property="SmallChange" Value="1"/>
+        <Setter Property="LargeChange" Value="10"/>
+        <Setter Property="Template" Value="{StaticResource SliderTemplate}"/>
+    </Style>
+
+    <Style x:Key="AmbientSliderStyle" TargetType="{x:Type Slider}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="IsMoveToPointEnabled" Value="True"/>
+        <Setter Property="MinHeight" Value="0"/>
+        <Setter Property="Minimum" Value="2000"/>
+        <Setter Property="Maximum" Value="6000"/>
+        <Setter Property="SmallChange" Value="1"/>
+        <Setter Property="LargeChange" Value="10"/>
+        <Setter Property="Template" Value="{StaticResource AmbinetSliderTemplate}"/>
+    </Style>
+
+    <ControlTemplate x:Key="ComboBoxButtonTemplate" TargetType="{x:Type ToggleButton}">
+        <Grid Background="Transparent"/>
+    </ControlTemplate>
+    <Style x:Key="ComboBoxButtonStyle" TargetType="{x:Type ToggleButton}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="ClickMode" Value="Press"/>
+        <Setter Property="Focusable" Value="False"/>
+        <Setter Property="IsTabStop" Value="False"/>
+        <Setter Property="Template" Value="{StaticResource ComboBoxButtonTemplate}"/>
+    </Style>
+    <ControlTemplate x:Key="ComboBoxTemplate" TargetType="{x:Type ComboBox}">
+        <Grid UseLayoutRounding="True">
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.2"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+
+                    <VisualState x:Name="Disabled"/>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border>
+                <Grid>
+                    <Border x:Name="Bd" >
+                        <Border.Background>
+                            <SolidColorBrush Color="Black" Opacity="0"/>
+                        </Border.Background>
+                    </Border>
+                    <ContentPresenter x:Name="ContentSite"
+                            HorizontalAlignment="Center" VerticalAlignment="Center" Margin="{TemplateBinding Padding}"
+                            ContentSource="SelectionBoxItem"/>
+                    <ToggleButton x:Name="DropDownButton"
+                            IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
+                            Style="{StaticResource ComboBoxButtonStyle}"/>
+                </Grid>
+            </Border>
+            <Popup x:Name="PART_Popup"
+                    Focusable="False"
+                    IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}"
+                    Placement="Bottom"
+                    PopupAnimation="Slide" VerticalOffset="-2" AllowsTransparency="True">
+                <Grid x:Name="DropDown" MinWidth="{TemplateBinding ActualWidth}" MaxHeight="500">
+                    <Border x:Name="DropDownBorder"  Margin="1,0,1,2">
+                        <Border.Background>
+                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
+                                <GradientStop Color="#1B1B1B" Offset="0"/>
+                                <GradientStop Color="#1B1B1B" Offset="1"/>
+                            </LinearGradientBrush>
+                        </Border.Background>
+                        <StackPanel
+                                IsItemsHost="True"
+                                KeyboardNavigation.DirectionalNavigation="Contained"
+                                UseLayoutRounding="{TemplateBinding UseLayoutRounding}" Margin="3"/>
+                    </Border>
+                </Grid>
+            </Popup>
+        </Grid>
+    </ControlTemplate>
+    <Style TargetType="{x:Type ComboBox}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="FontSize" Value="11"/>
+        <Setter Property="Padding" Value="0,2,0,3"/>
+        <Setter Property="FocusVisualStyle" Value="{StaticResource FocusStyle}"/>
+        <Setter Property="Template" Value="{StaticResource ComboBoxTemplate}"/>
+    </Style>
+    <ControlTemplate x:Key="ComboBoxItemTemplate" TargetType="{x:Type ComboBoxItem}">
+        <Border x:Name="Bd" BorderThickness="1" CornerRadius="2">
+            <Border.BorderBrush>
+                <SolidColorBrush Color="Black" Opacity="0"/>
+            </Border.BorderBrush>
+            <Border.Background>
+                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0">
+                    <GradientStop Color="Black" Offset="0"/>
+                    <GradientStop Color="Black" Offset="1"/>
+                </LinearGradientBrush>
+            </Border.Background>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.2"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+                    <VisualState x:Name="MouseOver">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="Bd">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="Bd">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                    <VisualState x:Name="Disabled"/>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Margin="3,2"/>
+        </Border>
+    </ControlTemplate>
+    <Style TargetType="{x:Type ComboBoxItem}">
+        <Setter Property="OverridesDefaultStyle" Value="True"/>
+        <Setter Property="Foreground" Value="White"/>
+        <Setter Property="FocusVisualStyle" Value="{StaticResource FocusStyle}"/>
+        <Setter Property="Template" Value="{StaticResource ComboBoxItemTemplate}"/>
+    </Style>
+    <!-- ============== BUTTON ============== -->
+
+    <!-- Button Template -->
+    <ControlTemplate x:Key="ButtonTemplate" TargetType="{x:Type Button}">
+        <Grid>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                        <VisualTransition From="Disabled" GeneratedDuration="0:0:0.1"/>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                        <VisualTransition From="MouseOver" GeneratedDuration="0:0:0.3"/>
+                        <VisualTransition GeneratedDuration="0" To="Pressed"/>
+                        <VisualTransition From="Pressed" GeneratedDuration="0:0:0.2"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+                    <VisualState x:Name="Disabled">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="ContentHost">
+                                <EasingColorKeyFrame KeyTime="0" Value="{StaticResource DisabledFgColor}"/>
+                            </ColorAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+                <VisualStateGroup x:Name="FocusStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Focused"/>
+                        <VisualTransition From="Focused" GeneratedDuration="0:0:0.3"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Unfocused"/>
+                    <VisualState x:Name="Focused">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Control.BorderBrush).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="FocusInnerBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="0.25"/>
+                            </DoubleAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border x:Name="BaseBorder"
+				Background="{TemplateBinding Background}"
+				BorderBrush="{TemplateBinding BorderBrush}"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="24"/>
+            <Border x:Name="OverBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="24">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+
+            <Border x:Name="DisabledBorder"
+				CornerRadius="4">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border
+				BorderThickness="{TemplateBinding BorderThickness}"
+				Padding="{TemplateBinding Padding}">
+                <ContentPresenter x:Name="ContentHost"
+					HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
+					VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
+                    <TextElement.Foreground>
+                        <SolidColorBrush Color="{StaticResource NormalFgColor}"/>
+                    </TextElement.Foreground>
+                </ContentPresenter>
+            </Border>
+        </Grid>
+    </ControlTemplate>
+
+    <!-- Button Style -->
+    <Style TargetType="{x:Type Button}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Padding" Value="6,4"/>
+        <Setter Property="HorizontalContentAlignment" Value="Center"/>
+        <Setter Property="VerticalContentAlignment" Value="Center"/>
+        <Setter Property="Template" Value="{StaticResource ButtonTemplate}"/>
+        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
+        
+    </Style>
+    <!-- Button Template -->
+    <ControlTemplate x:Key="ColorButtonTemplate" TargetType="{x:Type Button}">
+        <Grid>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                        <VisualTransition From="Disabled" GeneratedDuration="0:0:0.0"/>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                        <VisualTransition GeneratedDuration="0" To="Pressed"/>
+                        <VisualTransition From="Pressed" GeneratedDuration="0:0:0.0"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+
+                    <VisualState x:Name="Disabled">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="ContentHost">
+                                <EasingColorKeyFrame KeyTime="0" Value="{StaticResource DisabledFgColor}"/>
+                            </ColorAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+                <VisualStateGroup x:Name="FocusStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Focused"/>
+                        <VisualTransition From="Focused" GeneratedDuration="0:0:0.3"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Unfocused"/>
+
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border x:Name="BaseBorder"
+				Background="{TemplateBinding Background}"
+				BorderBrush="{TemplateBinding BorderBrush}"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="4"/>
+            <Border x:Name="OverBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="4">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+
+            <Border x:Name="DisabledBorder"
+				CornerRadius="4">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border
+				BorderThickness="{TemplateBinding BorderThickness}"
+				Padding="{TemplateBinding Padding}">
+                <ContentPresenter x:Name="ContentHost"
+					HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
+					VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
+                    <TextElement.Foreground>
+                        <SolidColorBrush Color="{StaticResource NormalFgColor}"/>
+                    </TextElement.Foreground>
+                </ContentPresenter>
+            </Border>
+        </Grid>
+    </ControlTemplate>
+    <!-- Button Style -->
+    <Style x:Key="color_btn" TargetType="{x:Type Button}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Padding" Value="6,4"/>
+        <Setter Property="HorizontalContentAlignment" Value="Center"/>
+        <Setter Property="VerticalContentAlignment" Value="Center"/>
+        <Setter Property="Template" Value="{StaticResource ColorButtonTemplate}"/>
+        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
+
+    </Style>
+
+
+    <!-- Button Template -->
+    <ControlTemplate x:Key="StopButtonTemplate" TargetType="{x:Type Button}">
+        <Grid>
+            <VisualStateManager.VisualStateGroups>
+                <VisualStateGroup x:Name="CommonStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Disabled"/>
+                        <VisualTransition From="Disabled" GeneratedDuration="0:0:0.0"/>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
+                        <VisualTransition GeneratedDuration="0" To="Pressed"/>
+                        <VisualTransition From="Pressed" GeneratedDuration="0:0:0.0"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Normal"/>
+
+                    <VisualState x:Name="Disabled">
+                        <Storyboard>
+                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(Brush.Opacity)" Storyboard.TargetName="DisabledBorder">
+                                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
+                            </DoubleAnimationUsingKeyFrames>
+                            <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="ContentHost">
+                                <EasingColorKeyFrame KeyTime="0" Value="{StaticResource DisabledFgColor}"/>
+                            </ColorAnimationUsingKeyFrames>
+                        </Storyboard>
+                    </VisualState>
+                </VisualStateGroup>
+                <VisualStateGroup x:Name="FocusStates">
+                    <VisualStateGroup.Transitions>
+                        <VisualTransition GeneratedDuration="0:0:0.1" To="Focused"/>
+                        <VisualTransition From="Focused" GeneratedDuration="0:0:0.3"/>
+                    </VisualStateGroup.Transitions>
+                    <VisualState x:Name="Unfocused"/>
+
+                </VisualStateGroup>
+            </VisualStateManager.VisualStateGroups>
+            <Border x:Name="BaseBorder"
+				Background="{TemplateBinding Background}"
+				BorderBrush="{TemplateBinding BorderBrush}"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="12"/>
+            <Border x:Name="OverBorder"
+				BorderThickness="{TemplateBinding BorderThickness}"
+				CornerRadius="12">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource OverOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+
+            <Border x:Name="DisabledBorder"
+				CornerRadius="4">
+                <Border.Background>
+                    <SolidColorBrush Color="{StaticResource DisabledOverlay}" Opacity="0"/>
+                </Border.Background>
+            </Border>
+            <Border
+				BorderThickness="{TemplateBinding BorderThickness}"
+				Padding="{TemplateBinding Padding}">
+                <ContentPresenter x:Name="ContentHost"
+					HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
+					VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
+                    <TextElement.Foreground>
+                        <SolidColorBrush Color="{StaticResource NormalFgColor}"/>
+                    </TextElement.Foreground>
+                </ContentPresenter>
+            </Border>
+        </Grid>
+    </ControlTemplate>
+    <!-- Button Style -->
+    <Style x:Key="lift_stop_btn" TargetType="{x:Type Button}" BasedOn="{StaticResource NoesisControlStyle}">
+        <Setter Property="Padding" Value="6,4"/>
+        <Setter Property="HorizontalContentAlignment" Value="Center"/>
+        <Setter Property="VerticalContentAlignment" Value="Center"/>
+        <Setter Property="Template" Value="{StaticResource StopButtonTemplate}"/>
+        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
+
+    </Style>
+</ResourceDictionary>

+ 736 - 0
Assets/Localization/SwitchMaterials_v01.json

@@ -0,0 +1,736 @@
+{
+    "SwitchMaterials": [
+        {
+            "SwitchName": "Colors",
+            "MaterialSlotName": "Switch_Lift_Color",
+            "Materials": [
+                {
+                    "MaterialName": "M_PowderCoat_9016-30G",
+                    "Code": "9016-30G",
+                    "Availability": "Elegance",
+                    "DisplayName": "White"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_OrganicSignalWhite",
+                    "Code": "OrganicSignalWhite",
+                    "Availability": "Aurora",
+                    "DisplayName": "Organic Signal White"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_OrientalOysterWhite",
+                    "Code": "OrientalOysterWhite",
+                    "Availability": "Aurora",
+                    "DisplayName": "Oriental Oyster White"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_OrientalGreyBeige",
+                    "Code": "OrientalGreyBeige",
+                    "Availability": "Aurora",
+                    "DisplayName": "Oriental Grey Beige"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_OrientalPaleBrown",
+                    "Code": "OrientalPaleBrown",
+                    "Availability": "Aurora",
+                    "DisplayName": "Oriental Pale Brown"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_GothicGraphiteBlack",
+                    "Code": "GothicGraphiteBlack",
+                    "Availability": "Aurora",
+                    "DisplayName": "Gothic Graphite Black"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_GlacialSlateGrey",
+                    "Code": "GlacialSlateGrey",
+                    "Availability": "Aurora",
+                    "DisplayName": "Glacial Slate Grey"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_January4",
+                    "Code": "January4",
+                    "Availability": "Galaxy",
+                    "DisplayName": "January 4"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_February5",
+                    "Code": "February5",
+                    "Availability": "Galaxy",
+                    "DisplayName": "February 5"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_February6",
+                    "Code": "February6",
+                    "Availability": "Galaxy",
+                    "DisplayName": "February 6"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_Quartz1",
+                    "Code": "Quartz1",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Quartz 1"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_Quartz2",
+                    "Code": "Quartz2",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Quartz 2"
+                }
+            ]
+        },
+        {
+            "SwitchName": "ServicePanels",
+            "MaterialSlotName": "Switch_Panel",
+            "Materials": [
+                {
+                    "MaterialName": "M_Panel_9016-30G",
+                    "Code": "9016-30G",
+                    "Availability": "Elegance",
+                    "DisplayName": "White"
+                },
+                {
+                    "MaterialName": "M_Panel_3476_JetSequoia",
+                    "Code": "JetSequoia",
+                    "Availability": "Aurora",
+                    "DisplayName": "Jet Sequoia"
+                },
+                {
+                    "MaterialName": "M_Panel_3458_TravertineSilver",
+                    "Code": "TravertineSilver",
+                    "Availability": "Aurora",
+                    "DisplayName": "Travertine Silver"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackWalnut",
+                    "Code": "BlackWalnut",
+                    "Availability": "Aurora",
+                    "DisplayName": "Black Walnut"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackenLegno",
+                    "Code": "BlackenLegno",
+                    "Availability": "Aurora",
+                    "DisplayName": "Blacken Legno Partial Crown"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_SmokeStrand",
+                    "Code": "SmokeStrand",
+                    "Availability": "Aurora",
+                    "DisplayName": "Smoke Strand Straight"
+                },
+                {
+                    "MaterialName": "M_Panel_Galaxy01",
+                    "Code": "Galaxy01",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Galaxy01"
+                },
+                {
+                    "MaterialName": "M_Panel_Galaxy02",
+                    "Code": "Galaxy02",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Galaxy02"
+                },
+                {
+                    "MaterialName": "M_Panel_Galaxy03",
+                    "Code": "Galaxy03",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Galaxy03"
+                },
+                {
+                    "MaterialName": "M_Panel_Galaxy04",
+                    "Code": "Galaxy03",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Galaxy04"
+                },
+                {
+                    "MaterialName": "M_Panel_Galaxy05",
+                    "Code": "Galaxy05",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Galaxy05"
+                },
+                {
+                    "MaterialName": "M_Panel_Galaxy06",
+                    "Code": "Galaxy06",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Galaxy06"
+                }
+            ]
+        },
+        {
+            "SwitchName": "Carpet",
+            "MaterialSlotName": "Switch_Carpet",
+            "Materials": [
+                {
+                    "MaterialName": "M_PowderCoat_GreyIron",
+                    "Code": "GreyIron",
+                    "Availability": "Elegance",
+                    "DisplayName": "Grey Iron"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_WelshSlate",
+                    "Code": "WelshSlate",
+                    "Availability": "Aurora",
+                    "DisplayName": "Welsh Slate"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_NewfoundlandSlate",
+                    "Code": "NewfoundlandSlate",
+                    "Availability": "Aurora",
+                    "DisplayName": "Newfoundland Slate"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_LakelandShale",
+                    "Code": "LakelandShale",
+                    "Availability": "Aurora",
+                    "DisplayName": "LakelandShale"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_TorroChoco",
+                    "Code": "TorroChoco",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Torro Choco"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_BuffaloMocca",
+                    "Code": "BuffaloMocca",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Buffalo Mocca"
+                },
+                {
+                    "MaterialName": "M_PowderCoat_TorroBordeaux",
+                    "Code": "TorroBordeaux",
+                    "Availability": "Galaxy",
+                    "DisplayName": "Torro Bordeaux"
+                }
+            ]
+        },
+        {
+            "SwitchName": "Service Panels Cabin Wall A",
+            "MaterialSlotName": "Switch_Panel_CabinWall_A",
+            "Materials": [
+                {
+                    "MaterialName": "M_Panel_ClearGlass",
+                    "Code": "ClearGlass_A",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Clear Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_DarkGlass",
+                    "Code": "DarkGlass_A",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Dark Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_GreyGlass",
+                    "Code": "GreyGlass_A",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Grey Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_FrostedGlass",
+                    "Code": "FrostedGlass_A",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Frosted Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_9016-30G",
+                    "Code": "9016-30G_A",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "White"
+                },
+                {
+                    "MaterialName": "M_Panel_3476_JetSequoia",
+                    "Code": "JetSequoia_A",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "3476H"
+                },
+                {
+                    "MaterialName": "M_Panel_3458_TravertineSilver",
+                    "Code": "TravertineSilver_A",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "3458H"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackWalnut",
+                    "Code": "BlackWalnut_A",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "3485N"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackenLegno",
+                    "Code": "BlackenLegno_A",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "8848NT"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_SmokeStrand",
+                    "Code": "SmokeStrand_A",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "8834NT"
+                }
+            ]
+        },
+        {
+            "SwitchName": "Service Panels Cabin Wall B",
+            "MaterialSlotName": "Switch_Panel_CabinWall_B",
+            "Materials": [
+                {
+                    "MaterialName": "M_Panel_ClearGlass",
+                    "Code": "ClearGlass_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Clear Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_DarkGlass",
+                    "Code": "DarkGlass_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Dark Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_GreyGlass",
+                    "Code": "GreyGlass_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Frosted Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_FrostedGlass",
+                    "Code": "FrostedGlass_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Frosted Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_9016-30G",
+                    "Code": "9016-30G_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "White"
+                },
+                {
+                    "MaterialName": "M_Panel_3476_JetSequoia",
+                    "Code": "JetSequoia_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "3476H"
+                },
+                {
+                    "MaterialName": "M_Panel_3458_TravertineSilver",
+                    "Code": "TravertineSilver_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "3458H"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackWalnut",
+                    "Code": "BlackWalnut_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "3485N"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackenLegno",
+                    "Code": "BlackenLegno_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "8848NT"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_SmokeStrand",
+                    "Code": "SmokeStrand_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "8834NT"
+                }
+            ]
+        },
+        {
+            "SwitchName": "Service Panels Cabin Wall C",
+            "MaterialSlotName": "Switch_Panel_CabinWall_C",
+            "Materials": [
+                {
+                    "MaterialName": "M_Panel_ClearGlass",
+                    "Code": "ClearGlass_C",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Clear Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_DarkGlass",
+                    "Code": "DarkGlass_C",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Dark Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_GreyGlass",
+                    "Code": "GreyGlass_C",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Grey Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_FrostedGlass",
+                    "Code": "FrostedGlass_C",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "Frosted Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_9016-30G",
+                    "Code": "9016-30G_C",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "White"
+                },
+                {
+                    "MaterialName": "M_Panel_3476_JetSequoia",
+                    "Code": "JetSequoia_C",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "3476H"
+                },
+                {
+                    "MaterialName": "M_Panel_3458_TravertineSilver",
+                    "Code": "TravertineSilver_C",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "3458H"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackWalnut",
+                    "Code": "BlackWalnut_C",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "3485N"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackenLegno",
+                    "Code": "BlackenLegno_C",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "8848NT"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_SmokeStrand",
+                    "Code": "SmokeStrand_B",
+                    "Availability": "V70 or V90",
+                    "DisplayName": "8834NT"
+                }
+            ]
+        },
+        {
+            "SwitchName": "Shaft Panel A",
+            "MaterialSlotName": "Switch_Panel_Shaft_A",
+            "Materials": [
+                {
+                    "MaterialName": "M_Panel_ClearGlass",
+                    "Code": "ClearGlass_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Clear Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_DarkGlass",
+                    "Code": "DarkGlass_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Dark Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_GreyGlass",
+                    "Code": "GreyGlass_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Grey Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_FrostedGlass",
+                    "Code": "FrostedGlass_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Frosted Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_9016-30G",
+                    "Code": "9016-30G_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "White"
+                },
+                {
+                    "MaterialName": "M_Panel_3476_JetSequoia",
+                    "Code": "JetSequoia_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3476H"
+                },
+                {
+                    "MaterialName": "M_Panel_3458_TravertineSilver",
+                    "Code": "TravertineSilver_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3458H"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackWalnut",
+                    "Code": "BlackWalnut_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3485N"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackenLegno",
+                    "Code": "BlackenLegno_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "8848NT"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_SmokeStrand",
+                    "Code": "SmokeStrand_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "8834NT"
+                }
+            ]
+        },
+        {
+            "SwitchName": "Shaft Panel B",
+            "MaterialSlotName": "Switch_Panel_Shaft_B",
+            "Materials": [
+                {
+                    "MaterialName": "M_Panel_ClearGlass",
+                    "Code": "ClearGlass_Shaft_A",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Clear Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_DarkGlass",
+                    "Code": "DarkGlass_Shaft_B",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Dark Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_GreyGlass",
+                    "Code": "GreyGlass_Shaft_B",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Grey Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_FrostedGlass",
+                    "Code": "FrostedGlass_Shaft_B",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Frosted Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_9016-30G",
+                    "Code": "9016-30G_Shaft_B",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "White"
+                },
+                {
+                    "MaterialName": "M_Panel_3476_JetSequoia",
+                    "Code": "JetSequoia_Shaft_B",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3476H"
+                },
+                {
+                    "MaterialName": "M_Panel_3458_TravertineSilver",
+                    "Code": "TravertineSilver_Shaft_B",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3458H"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackWalnut",
+                    "Code": "BlackWalnut_Shaft_B",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3485N"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackenLegno",
+                    "Code": "BlackenLegno_Shaft_B",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "8848NT"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_SmokeStrand",
+                    "Code": "SmokeStrand_Shaft_B",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "8834NT"
+                }
+            ]
+        },
+        {
+            "SwitchName": "Shaft Panel C",
+            "MaterialSlotName": "Switch_Panel_Shaft_C",
+            "Materials": [
+                {
+                    "MaterialName": "M_Panel_ClearGlass",
+                    "Code": "ClearGlass_Shaft_C",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Clear Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_DarkGlass",
+                    "Code": "DarkGlass_Shaft_C",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Dark Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_GreyGlass",
+                    "Code": "GreyGlass_Shaft_C",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Grey Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_FrostedGlass",
+                    "Code": "FrostedGlass_Shaft_C",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Frosted Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_9016-30G",
+                    "Code": "9016-30G_Shaft_C",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "White"
+                },
+                {
+                    "MaterialName": "M_Panel_3476_JetSequoia",
+                    "Code": "JetSequoia_Shaft_C",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3476H"
+                },
+                {
+                    "MaterialName": "M_Panel_3458_TravertineSilver",
+                    "Code": "TravertineSilver_Shaft_C",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3458H"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackWalnut",
+                    "Code": "BlackWalnut_Shaft_C",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3485N"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackenLegno",
+                    "Code": "BlackenLegno_Shaft_C",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "8848NT"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_SmokeStrand",
+                    "Code": "SmokeStrand_Shaft_C",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "8834NT"
+                }
+            ]
+        },
+        {
+            "SwitchName": "Shaft Panel D",
+            "MaterialSlotName": "Switch_Panel_Shaft_D",
+            "Materials": [
+                {
+                    "MaterialName": "M_Panel_ClearGlass",
+                    "Code": "ClearGlass_Shaft_D",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Clear Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_DarkGlass",
+                    "Code": "DarkGlass_Shaft_D",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Dark Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_GreyGlass",
+                    "Code": "GreyGlass_Shaft_D",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Grey Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_FrostedGlass",
+                    "Code": "FrostedGlass_Shaft_D",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Frosted Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_9016-30G",
+                    "Code": "9016-30G_Shaft_D",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "White"
+                },
+                {
+                    "MaterialName": "M_Panel_3476_JetSequoia",
+                    "Code": "JetSequoia_Shaft_D",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3476H"
+                },
+                {
+                    "MaterialName": "M_Panel_3458_TravertineSilver",
+                    "Code": "TravertineSilver_Shaft_D",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3458H"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackWalnut",
+                    "Code": "BlackWalnut_Shaft_D",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "3485N"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackenLegno",
+                    "Code": "BlackenLegno_Shaft_D",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "8848NT"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_SmokeStrand",
+                    "Code": "SmokeStrand_Shaft_D",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "8834NT"
+                }
+            ]
+        },
+        {
+            "SwitchName": "Shaft Panel E",
+            "MaterialSlotName": "Switch_Panel_Shaft_E",
+            "Materials": [
+                {
+                    "MaterialName": "M_Panel_ClearGlass",
+                    "Code": "ClearGlass_Shaft_E",
+                    "Availability": "V80",
+                    "DisplayName": "Clear Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_DarkGlass",
+                    "Code": "DarkGlass_Shaft_E",
+                    "Availability": "V80",
+                    "DisplayName": "Dark Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_GreyGlass",
+                    "Code": "GreyGlass_Shaft_E",
+                    "Availability": "V80",
+                    "DisplayName": "Grey Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_FrostedGlass",
+                    "Code": "FrostedGlass_Shaft_E",
+                    "Availability": "V70 or V80 or V90",
+                    "DisplayName": "Frosted Glass"
+                },
+                {
+                    "MaterialName": "M_Panel_9016-30G",
+                    "Code": "9016-30G_Shaft_E",
+                    "Availability": "V80",
+                    "DisplayName": "White"
+                },
+                {
+                    "MaterialName": "M_Panel_3476_JetSequoia",
+                    "Code": "JetSequoia_Shaft_E",
+                    "Availability": "V80",
+                    "DisplayName": "3476H"
+                },
+                {
+                    "MaterialName": "M_Panel_3458_TravertineSilver",
+                    "Code": "TravertineSilver_Shaft_E",
+                    "Availability": "V80",
+                    "DisplayName": "3458H"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackWalnut",
+                    "Code": "BlackWalnut_Shaft_E",
+                    "Availability": "V80",
+                    "DisplayName": "3485N"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_BlackenLegno",
+                    "Code": "BlackenLegno_Shaft_E",
+                    "Availability": "V80",
+                    "DisplayName": "8848NT"
+                },
+                {
+                    "MaterialName": "M_Panel_7944-60_SmokeStrand",
+                    "Code": "SmokeStrand_Shaft_E",
+                    "Availability": "V80",
+                    "DisplayName": "8834NT"
+                }
+            ]
+        }
+    ]
+}

+ 104 - 0
Assets/Localization/ViewModel.cs

@@ -0,0 +1,104 @@
+#if UNITY_5_3_OR_NEWER
+#define NOESIS
+using Noesis;
+using System.Collections.ObjectModel;
+#else
+using System;
+using System.Windows;
+using System.Collections.ObjectModel;
+#endif
+
+namespace Localization
+{
+    public class Language
+    {
+        public string Name { get; set; }
+        public ResourceDictionary Resources { get; set; }
+    }
+
+    public class ViewModel : NotifyPropertyChangedBase
+    {
+        public ViewModel()
+        {
+            Languages = new ObservableCollection<Language>()
+            {
+                new Language
+                {
+                    Name = "English",
+                    Resources = (ResourceDictionary)GUI.LoadXaml("Language-en.xaml")
+                },
+
+                new Language
+                {
+                    Name = "Français",
+                    Resources = (ResourceDictionary)GUI.LoadXaml("Language-fr.xaml")
+                },
+
+                new Language
+                {
+                    Name = "日本語",
+                    Resources = (ResourceDictionary)GUI.LoadXaml("Language-jp.xaml")
+                }
+            };
+
+            SelectedLanguage = Languages[0];
+
+            SoundLevel = 100.0f;
+            MusicLevel = 80.0f;
+        }
+
+        public ObservableCollection<Language> Languages { get; private set; }
+
+        private Language _selectedLanguage;
+        public Language SelectedLanguage
+        {
+            get { return _selectedLanguage; }
+            set
+            {
+                if (_selectedLanguage != value)
+                {
+                    _selectedLanguage = value;
+                    OnPropertyChanged("SelectedLanguage");
+                }
+            }
+        }
+
+        private float _soundLevel;
+        public float SoundLevel
+        {
+            get { return _soundLevel; }
+            set
+            {
+                if (_soundLevel != value)
+                {
+                    _soundLevel = value;
+                    OnPropertyChanged("SoundLevel");
+                }
+            }
+        }
+
+        private float _musicLevel;
+        public float MusicLevel
+        {
+            get { return _musicLevel; }
+            set
+            {
+                if (_musicLevel != value)
+                {
+                    _musicLevel = value;
+                    OnPropertyChanged("MusicLevel");
+                }
+            }
+        }
+
+#if !NOESIS
+        private static class GUI
+        {
+            public static object LoadXaml(string filename)
+            {
+                return Application.LoadComponent(new Uri("/Localization;component/./" + filename, UriKind.RelativeOrAbsolute));
+            }
+        }
+#endif
+    }
+}

BIN
Assets/Localization/WeiRuanYaHei-1.ttf


BIN
Assets/Localization/bin/Debug/Localization.exe


+ 6 - 0
Assets/Localization/bin/Debug/Localization.exe.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
+    </startup>
+</configuration>

BIN
Assets/Localization/bin/Debug/Localization.pdb


BIN
Assets/Localization/bin/Debug/Microsoft.Expression.Interactions.dll


BIN
Assets/Localization/bin/Debug/Noesis.GUI.Extensions.dll


BIN
Assets/Localization/bin/Debug/System.Windows.Interactivity.dll


BIN
Assets/Localization/bin/Debug/en/Microsoft.Expression.Interactions.resources.dll


BIN
Assets/Localization/bin/Debug/en/System.Windows.Interactivity.resources.dll


BIN
Assets/Localization/bin/Debug/es/Microsoft.Expression.Interactions.resources.dll


BIN
Assets/Localization/bin/Debug/es/System.Windows.Interactivity.resources.dll


BIN
Assets/Localization/bin/Debug/fr/Microsoft.Expression.Interactions.resources.dll


BIN
Assets/Localization/bin/Debug/fr/System.Windows.Interactivity.resources.dll


BIN
Assets/Localization/bin/Debug/it/Microsoft.Expression.Interactions.resources.dll


BIN
Assets/Localization/bin/Debug/it/System.Windows.Interactivity.resources.dll


BIN
Assets/Localization/bin/Debug/ja/Microsoft.Expression.Interactions.resources.dll


BIN
Assets/Localization/bin/Debug/ja/System.Windows.Interactivity.resources.dll


BIN
Assets/Localization/bin/Debug/ko/Microsoft.Expression.Interactions.resources.dll


BIN
Assets/Localization/bin/Debug/ko/System.Windows.Interactivity.resources.dll


BIN
Assets/Localization/bin/Debug/ru/Microsoft.Expression.Interactions.resources.dll


BIN
Assets/Localization/bin/Debug/ru/System.Windows.Interactivity.resources.dll


BIN
Assets/Localization/bin/Debug/zh-Hans/Microsoft.Expression.Interactions.resources.dll


BIN
Assets/Localization/bin/Debug/zh-Hans/System.Windows.Interactivity.resources.dll


BIN
Assets/Localization/bin/Debug/zh-Hant/Microsoft.Expression.Interactions.resources.dll


BIN
Assets/Localization/bin/Debug/zh-Hant/System.Windows.Interactivity.resources.dll


BIN
Assets/Localization/font/HuaWenHeiTi-1.ttf


BIN
Assets/Localization/font/password.ttf


BIN
Assets/Localization/image/bg/Combined Shape.png


BIN
Assets/Localization/image/bg/Rectangle Copy 6.png


BIN
Assets/Localization/image/bg/Rectangle Copy 9.png


BIN
Assets/Localization/image/bg/build.png


BIN
Assets/Localization/image/bg/cabin_walls.png


BIN
Assets/Localization/image/bg/door_1F.png


BIN
Assets/Localization/image/bg/door_2F.png


BIN
Assets/Localization/image/bg/lift_build_icon.png


BIN
Assets/Localization/image/bg/login_bg.png


BIN
Assets/Localization/image/bg/login_bg2.png


BIN
Assets/Localization/image/bg/shaft_doors.png


BIN
Assets/Localization/image/bg/shaft_doors.psd


BIN
Assets/Localization/image/bg/shaft_doors_a_close.png


BIN
Assets/Localization/image/bg/shaft_doors_a_left.png


BIN
Assets/Localization/image/bg/shaft_doors_a_right.png


BIN
Assets/Localization/image/bg/shaft_doors_a_saloon.png


BIN
Assets/Localization/image/bg/shaft_doors_b_close.png


BIN
Assets/Localization/image/bg/shaft_doors_b_left.png


BIN
Assets/Localization/image/bg/shaft_doors_b_right.png


BIN
Assets/Localization/image/bg/shaft_doors_b_saloon.png


BIN
Assets/Localization/image/bg/shaft_doors_bg.png


BIN
Assets/Localization/image/bg/shaft_doors_c_close.png


BIN
Assets/Localization/image/bg/shaft_doors_c_left.png


BIN
Assets/Localization/image/bg/shaft_doors_c_right.png


BIN
Assets/Localization/image/bg/shaft_doors_c_saloon.png


BIN
Assets/Localization/image/btn/Black_Leather.png


BIN
Assets/Localization/image/btn/Brown_Leather.png


BIN
Assets/Localization/image/btn/acrylic_patterns_1.png


BIN
Assets/Localization/image/btn/acrylic_patterns_2.png


BIN
Assets/Localization/image/btn/acrylic_patterns_3.png


BIN
Assets/Localization/image/btn/build.png


BIN
Assets/Localization/image/btn/cabin_walls.png


BIN
Assets/Localization/image/btn/color.png


BIN
Assets/Localization/image/btn/enclosure_build.png


BIN
Assets/Localization/image/btn/full-screen.png


BIN
Assets/Localization/image/btn/mat_black_glass.png


BIN
Assets/Localization/image/btn/mat_clear_glass.png


BIN
Assets/Localization/image/btn/mat_grey_glass.png


BIN
Assets/Localization/image/btn/mat_placeholder.png


BIN
Assets/Localization/image/btn/mat_white_galss.png


BIN
Assets/Localization/image/btn/menu_build_off.png


BIN
Assets/Localization/image/btn/menu_build_on.png


BIN
Assets/Localization/image/btn/menu_color_off.png


BIN
Assets/Localization/image/btn/menu_color_on.png


BIN
Assets/Localization/image/btn/menu_door_off.png


BIN
Assets/Localization/image/btn/menu_door_on.png


BIN
Assets/Localization/image/btn/outline_format_paint_black_36dp.png


BIN
Assets/Localization/image/btn/outline_fullscreen_white_24dp.png


Некоторые файлы не были показаны из-за большого количества измененных файлов