MainWindow.xaml 412 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084
  1. <UserControl
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
  6. xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions"
  7. xmlns:local="clr-namespace:Localization"
  8. x:Class="Localization.MainWindow"
  9. FontFamily="./#Microsoft YaHei,./#Oxygen, ./#FontopoNIHONGO"
  10. Foreground="White"
  11. d:DesignWidth="2049 " d:DesignHeight="1563"
  12. d:DataContext="{d:DesignInstance {x:Type local:ViewModel}, IsDesignTimeCreatable=True}">
  13. <UserControl.Resources>
  14. <ResourceDictionary>
  15. <ResourceDictionary.MergedDictionaries>
  16. <ResourceDictionary Source="Resources.xaml"/>
  17. </ResourceDictionary.MergedDictionaries>
  18. </ResourceDictionary>
  19. <!--<ControlTemplate x:Key="Template.TextBox" TargetType="TextBox">
  20. <Grid Background="{TemplateBinding Background}">
  21. <Border x:Name="Placeholder" Padding="{TemplateBinding Padding}" Margin="2,0" Visibility="Collapsed">
  22. <TextBlock Text="{Binding (noesis:Text.Placeholder), RelativeSource={RelativeSource TemplatedParent}}"/>
  23. </Border>
  24. <ScrollViewer x:Name="PART_ContentHost" Focusable="False" Padding="{TemplateBinding Padding}" Foreground="{TemplateBinding Foreground}"/>
  25. </Grid>
  26. <ControlTemplate.Triggers>
  27. <Trigger Property="Text" Value="">
  28. <Setter Property="Visibility" Value="Visible" TargetName="Placeholder"/>
  29. </Trigger>
  30. </ControlTemplate.Triggers>
  31. </ControlTemplate>-->
  32. </UserControl.Resources>
  33. <UserControl.Triggers>
  34. <EventTrigger RoutedEvent="FrameworkElement.Loaded">
  35. <BeginStoryboard/>
  36. </EventTrigger>
  37. </UserControl.Triggers>
  38. <Grid x:Name="LayoutRoot">
  39. <Grid.RowDefinitions>
  40. <RowDefinition Height="1*"/>
  41. </Grid.RowDefinitions>
  42. <Grid.ColumnDefinitions>
  43. <ColumnDefinition Width="119*"/>
  44. <ColumnDefinition Width="400*"/>
  45. <ColumnDefinition Width="455*"/>
  46. </Grid.ColumnDefinitions>
  47. <Image Grid.ColumnSpan="3" Source="image/bg/login_bg2.png" Visibility="{Binding Login_Vis}" Margin="-200,-500,-500,-500" />
  48. <Viewbox Grid.Column="0" Grid.Row="0" >
  49. <Grid Height="780" Width="128">
  50. <Grid.RowDefinitions>
  51. <RowDefinition Height="1*"/>
  52. <RowDefinition Height="2*"/>
  53. <RowDefinition Height="1*"/>
  54. <RowDefinition Height="2*"/>
  55. </Grid.RowDefinitions>
  56. <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}"/>
  57. <ComboBox x:Name="LanguageSelector" Grid.Row="0"
  58. 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}">
  59. <ComboBoxItem Content="EN" Background="Black" FontSize="16"/>
  60. <ComboBoxItem Content="CH" Background="Black" FontSize="16"/>
  61. <i:Interaction.Triggers>
  62. <i:EventTrigger EventName="SelectionChanged">
  63. <i:InvokeCommandAction Command="{Binding change_selected_language }" CommandParameter="{Binding SelectedValue, ElementName=LanguageSelector}"/>
  64. </i:EventTrigger>
  65. </i:Interaction.Triggers>
  66. </ComboBox>
  67. <Grid Grid.Row="3" Margin="32,0,0,20">
  68. <Grid.RowDefinitions>
  69. <RowDefinition/>
  70. <RowDefinition/>
  71. <RowDefinition/>
  72. </Grid.RowDefinitions>
  73. <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}">
  74. <Image Margin="0" Source="image/btn/outline_fullscreen_white_24dp.png" Width="24" Height="24" HorizontalAlignment="Center" VerticalAlignment="Center" />
  75. </Button>
  76. <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}"/>
  77. <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}"/>
  78. </Grid>
  79. </Grid>
  80. </Viewbox>
  81. <Viewbox Grid.Column="2" Grid.Row="0" HorizontalAlignment="Right">
  82. <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" >
  83. <Grid.RowDefinitions>
  84. <RowDefinition Height="256"/>
  85. <RowDefinition Height="40"/>
  86. <RowDefinition Height="56"/>
  87. <RowDefinition Height="56"/>
  88. <RowDefinition Height="56"/>
  89. <RowDefinition Height="56"/>
  90. <RowDefinition/>
  91. </Grid.RowDefinitions>
  92. <Grid Grid.Row="0" VerticalAlignment="Top">
  93. <Image x:Name="image" Margin="0" Source="image/logo.png" Height="256" Width="256"/>
  94. </Grid>
  95. <Grid Grid.Row="1" VerticalAlignment="Center">
  96. <Label Content="The username or password is incorrect." HorizontalAlignment="Center" Foreground="#FFFF5C5C" FontSize="10" Visibility="{Binding CanNotLogInMsg}"/>
  97. </Grid>
  98. <Grid Grid.Row="2" Width="300">
  99. <ComboBox x:Name="login_server" SelectedValuePath="Content" Background="Red" BorderBrush="{x:Null}" SelectedValue="{Binding Login_Server}" FontSize="18" >
  100. <ComboBoxItem Content="Cibes China" Background="Red"/>
  101. <ComboBoxItem Content="Cibes Asia" Background="Red"/>
  102. </ComboBox>
  103. </Grid>
  104. <Grid Grid.Row="3" VerticalAlignment="Top" Width="300">
  105. <TextBox x:Name="Username" Text="{Binding Username}" VerticalAlignment="Center" Background="Black" BorderBrush="{x:Null}" Foreground="#FF6A6A6A" FontSize="16" >
  106. <i:Interaction.Triggers>
  107. <i:EventTrigger EventName="GotKeyboardFocus">
  108. <noesis:SelectAllAction/>
  109. </i:EventTrigger>
  110. </i:Interaction.Triggers>
  111. </TextBox>
  112. <TextBlock x:Name="Placeholder" IsHitTestVisible="False" TextWrapping="Wrap" Text="Username" VerticalAlignment="Center" Foreground="DarkGray" FontSize="16" Margin="4,0,0,0" >
  113. <TextBlock.Style>
  114. <Style TargetType="{x:Type TextBlock}">
  115. <Setter Property="Visibility" Value="Collapsed"/>
  116. <Style.Triggers>
  117. <DataTrigger Binding="{Binding Text, ElementName=Username}" Value="">
  118. <Setter Property="Visibility" Value="Visible"/>
  119. </DataTrigger>
  120. </Style.Triggers>
  121. </Style>
  122. </TextBlock.Style>
  123. </TextBlock>
  124. <Rectangle Fill="#FF363636" Margin="0,38,0,0" Height="1"/>
  125. </Grid>
  126. <Grid Grid.Row="4">
  127. <Grid.ColumnDefinitions>
  128. <ColumnDefinition/>
  129. <ColumnDefinition Width="260"/>
  130. <ColumnDefinition Width="40"/>
  131. <ColumnDefinition/>
  132. </Grid.ColumnDefinitions>
  133. <Grid Grid.Column="1" Height="40" VerticalAlignment="Top">
  134. <TextBox x:Name="PassBox" Background="{x:Null}" VerticalAlignment="Center" FontFamily="./font/#Password" Text="{Binding PassWord}" Visibility="{Binding PasswordVis}">
  135. <i:Interaction.Triggers>
  136. <i:EventTrigger EventName="GotKeyboardFocus">
  137. <noesis:SelectAllAction/>
  138. </i:EventTrigger>
  139. </i:Interaction.Triggers>
  140. </TextBox>
  141. <TextBlock x:Name="PassWoedPlaceHolder" IsHitTestVisible="False" TextWrapping="Wrap" Text="Password" VerticalAlignment="Center" Foreground="DarkGray" FontSize="16" Margin="4,0,0,0" >
  142. <TextBlock.Style>
  143. <Style TargetType="{x:Type TextBlock}">
  144. <Setter Property="Visibility" Value="Collapsed"/>
  145. <Style.Triggers>
  146. <DataTrigger Binding="{Binding Text, ElementName=PassBox}" Value="">
  147. <Setter Property="Visibility" Value="Visible"/>
  148. </DataTrigger>
  149. </Style.Triggers>
  150. </Style>
  151. </TextBlock.Style>
  152. </TextBlock>
  153. <TextBox x:Name="PassBox_Vis" Background="{x:Null}" VerticalAlignment="Center" Text="{Binding PassWord}" Visibility="{Binding PasswordVis_Off}" >
  154. <i:Interaction.Triggers>
  155. <i:EventTrigger EventName="GotKeyboardFocus">
  156. <noesis:SelectAllAction/>
  157. </i:EventTrigger>
  158. </i:Interaction.Triggers>
  159. </TextBox>
  160. <!--<PasswordBox noesis:Text.Placeholder="Password" Background="{x:Null}" VerticalAlignment="Center"/>-->
  161. </Grid>
  162. <Grid Grid.Column="2" Height="40" Width="40" VerticalAlignment="Top" Visibility="{Binding PasswordVis}">
  163. <Button Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding show_password}">
  164. <Image Source="image/btn/outline_visibility_black_24dp.png"/>
  165. </Button>
  166. </Grid>
  167. <Grid Grid.Column="2" Height="40" Width="40" VerticalAlignment="Top" Visibility="{Binding PasswordVis_Off}" >
  168. <Button Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Command="{Binding show_password}" >
  169. <Image Source="image/btn/outline_visibility_off_black_24dp.png"/>
  170. </Button>
  171. </Grid>
  172. <Rectangle Grid.Column="1" Grid.ColumnSpan="2" Fill="#FF363636" Width="360" Height="1" Margin="0,38,0,0"/>
  173. </Grid>
  174. <Grid Grid.Row="5">
  175. <Grid.ColumnDefinitions>
  176. <ColumnDefinition/>
  177. <ColumnDefinition Width="260"/>
  178. <ColumnDefinition Width="40"/>
  179. <ColumnDefinition/>
  180. </Grid.ColumnDefinitions>
  181. <Grid Grid.Column="1">
  182. <Grid.ColumnDefinitions>
  183. <ColumnDefinition Width="28"/>
  184. <ColumnDefinition/>
  185. </Grid.ColumnDefinitions>
  186. <CheckBox x:Name="SaveLogin" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding Save_Login}" >
  187. <CheckBox.LayoutTransform>
  188. <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
  189. </CheckBox.LayoutTransform>
  190. </CheckBox>
  191. <TextBlock Grid.Column="1" Text="Remember me" FontSize="16" VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
  192. </Grid>
  193. </Grid>
  194. <Grid Grid.Row="6" Height="42" VerticalAlignment="Top" Margin="56,100" >
  195. <Button x:Name="btn_login" Content="LOGIN" Margin="0" FontSize="16" Background="#FFF49811" BorderBrush="{x:Null}" Foreground="White" Command="{Binding click_login}"/>
  196. </Grid>
  197. </Grid>
  198. </Viewbox>
  199. <Viewbox Grid.Column="2" Grid.Row="0" HorizontalAlignment="Right" >
  200. <Grid Height="945" Width="455" RenderTransformOrigin="0.5,0.25" Margin="0" Background="Black" Visibility="{Binding Config_Vis}" >
  201. <Grid.RowDefinitions>
  202. <RowDefinition/>
  203. <RowDefinition Height="62"/>
  204. </Grid.RowDefinitions>
  205. <Rectangle Grid.Row="0" Height="1" VerticalAlignment="Top" Margin="0,42,0,0" Fill="#FF707070" Panel.ZIndex="1"/>
  206. <TabControl x:Name="main_tab" SelectedValuePath="Name" Grid.Row="0" Background="Black" BorderBrush="{x:Null}">
  207. <TabControl.Resources>
  208. <Style TargetType="{x:Type TabPanel}">
  209. <Setter Property="HorizontalAlignment" Value="Center"/>
  210. </Style>
  211. </TabControl.Resources>
  212. <TabItem x:Name="settings_tab" Header="{Binding SelectedLanguage.Resources[SettingsLabel]}" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" >
  213. <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
  214. <Grid Margin="12,0,12,20">
  215. <Grid.RowDefinitions>
  216. <RowDefinition Height="220"/>
  217. <RowDefinition Height="125"/>
  218. <RowDefinition/>
  219. <RowDefinition Height="56"/>
  220. <RowDefinition Height="300*"/>
  221. <RowDefinition Height="200*"/>
  222. <RowDefinition Height="200*"/>
  223. </Grid.RowDefinitions>
  224. <Grid x:Name="serie" Grid.Column="0" Grid.Row="0">
  225. <Grid.RowDefinitions>
  226. <RowDefinition Height="4*"/>
  227. <RowDefinition Height="16*"/>
  228. <RowDefinition Height="1*"/>
  229. </Grid.RowDefinitions>
  230. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[SerieLabel]}" FontSize="18" Margin="0,5"/>
  231. <Grid Grid.Row="1">
  232. <Grid.ColumnDefinitions>
  233. <ColumnDefinition Width="28*"/>
  234. <ColumnDefinition Width="393*"/>
  235. </Grid.ColumnDefinitions>
  236. <Grid.RowDefinitions>
  237. <RowDefinition/>
  238. <RowDefinition/>
  239. <RowDefinition/>
  240. </Grid.RowDefinitions>
  241. <Grid Grid.Row="0" Margin="0,5" Grid.ColumnSpan="2">
  242. <Grid.ColumnDefinitions>
  243. <ColumnDefinition Width="1*"/>
  244. <ColumnDefinition Width="2*"/>
  245. <ColumnDefinition Width="2*"/>
  246. <ColumnDefinition Width="2*"/>
  247. </Grid.ColumnDefinitions>
  248. <Label Grid.Column="0" Content="V70" VerticalAlignment="Center" FontSize="24"/>
  249. <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"/>
  250. <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"/>
  251. <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"/>
  252. </Grid>
  253. <Grid Grid.Row="1" Margin="0,5" Grid.ColumnSpan="2">
  254. <Grid.ColumnDefinitions>
  255. <ColumnDefinition Width="1*"/>
  256. <ColumnDefinition Width="2*"/>
  257. <ColumnDefinition Width="2*"/>
  258. <ColumnDefinition Width="2*"/>
  259. </Grid.ColumnDefinitions>
  260. <!--Disable the V80, client will release it in Nov.-->
  261. <Label Grid.Column="0" Content="V80" VerticalAlignment="Center" FontSize="24"/>
  262. <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"/>
  263. <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"/>
  264. <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"/>
  265. </Grid>
  266. <Grid Grid.Row="2" Margin="0,5" Grid.ColumnSpan="2">
  267. <Grid.ColumnDefinitions>
  268. <ColumnDefinition Width="1*"/>
  269. <ColumnDefinition Width="2*"/>
  270. <ColumnDefinition Width="2*"/>
  271. <ColumnDefinition Width="2*"/>
  272. </Grid.ColumnDefinitions>
  273. <Label Grid.Column="0" Content="V90" VerticalAlignment="Center" FontSize="24"/>
  274. <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"/>
  275. <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"/>
  276. <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"/>
  277. </Grid>
  278. </Grid>
  279. <Rectangle Grid.Row="2" Height="1" Fill="#FF272727"/>
  280. </Grid>
  281. <Grid x:Name="stop_count" Grid.Row="1" Margin="0,10">
  282. <Grid Grid.Row="1" >
  283. <Grid.RowDefinitions>
  284. <RowDefinition Height="1*"/>
  285. <RowDefinition Height="2*"/>
  286. <RowDefinition Height="3"/>
  287. </Grid.RowDefinitions>
  288. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StopCountLabel]}" Margin="0,5" Height="32"/>
  289. <Grid Grid.Row="1" >
  290. <Grid.ColumnDefinitions>
  291. <ColumnDefinition/>
  292. <ColumnDefinition/>
  293. <ColumnDefinition/>
  294. <ColumnDefinition/>
  295. <ColumnDefinition/>
  296. <ColumnDefinition/>
  297. <ColumnDefinition/>
  298. <ColumnDefinition/>
  299. </Grid.ColumnDefinitions>
  300. <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" >
  301. <Label Content="2" FontSize="20" Foreground="White"/>
  302. </Button>
  303. <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">
  304. <Label Content="3" FontSize="20" Foreground="White"/>
  305. </Button>
  306. <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">
  307. <Label Content="4" FontSize="20" Foreground="White"/>
  308. </Button>
  309. <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">
  310. <Label Content="5" FontSize="20" Foreground="White"/>
  311. </Button>
  312. <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">
  313. <Label Content="6" FontSize="20" Foreground="White"/>
  314. </Button>
  315. </Grid>
  316. <Rectangle Grid.Row="2" Height="1" Fill="#FF272727"/>
  317. </Grid>
  318. </Grid>
  319. <Grid x:Name="travel_height" Grid.Row="2" Height="{Binding StateModel.Travel_Height_H}" >
  320. <!--<Grid x:Name="travel_height" Grid.Row="2" Height="1" >-->
  321. <Grid.RowDefinitions>
  322. <RowDefinition Height="32"/>
  323. <RowDefinition Height="42"/>
  324. <RowDefinition Height="42"/>
  325. <RowDefinition Height="42"/>
  326. <RowDefinition Height="42"/>
  327. <RowDefinition Height="42"/>
  328. <RowDefinition Height="42"/>
  329. </Grid.RowDefinitions>
  330. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[TravelHeightLabel]}" Margin="0,5" Height="32"/>
  331. <Grid Grid.Row="1" >
  332. <Grid.ColumnDefinitions>
  333. <ColumnDefinition Width="5*"/>
  334. <ColumnDefinition Width="25*"/>
  335. <ColumnDefinition Width="5*"/>
  336. <ColumnDefinition Width="3*"/>
  337. </Grid.ColumnDefinitions>
  338. <Label Content="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  339. <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" >
  340. <i:Interaction.Triggers>
  341. <i:EventTrigger EventName="ValueChanged">
  342. <i:InvokeCommandAction Command="{Binding travel_height_slider_1}"/>
  343. </i:EventTrigger>
  344. </i:Interaction.Triggers>
  345. </Slider>
  346. <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">
  347. <i:Interaction.Triggers>
  348. <i:EventTrigger EventName="GotKeyboardFocus">
  349. <noesis:SelectAllAction/>
  350. </i:EventTrigger>
  351. <i:EventTrigger EventName="LostFocus">
  352. <i:InvokeCommandAction Command="{Binding travel_height_slider_1}"/>
  353. </i:EventTrigger>
  354. </i:Interaction.Triggers>
  355. </TextBox>
  356. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  357. </Grid>
  358. <Grid Grid.Row="2">
  359. <Grid.ColumnDefinitions>
  360. <ColumnDefinition Width="5*"/>
  361. <ColumnDefinition Width="25*"/>
  362. <ColumnDefinition Width="5*"/>
  363. <ColumnDefinition Width="3*"/>
  364. </Grid.ColumnDefinitions>
  365. <Label Content="2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  366. <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">
  367. <i:Interaction.Triggers>
  368. <i:EventTrigger EventName="ValueChanged">
  369. <i:InvokeCommandAction Command="{Binding travel_height_slider_2}"/>
  370. </i:EventTrigger>
  371. </i:Interaction.Triggers>
  372. </Slider>
  373. <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">
  374. <i:Interaction.Triggers>
  375. <i:EventTrigger EventName="GotKeyboardFocus">
  376. <noesis:SelectAllAction/>
  377. </i:EventTrigger>
  378. <i:EventTrigger EventName="LostFocus">
  379. <i:InvokeCommandAction Command="{Binding travel_height_slider_2}"/>
  380. </i:EventTrigger>
  381. </i:Interaction.Triggers>
  382. </TextBox>
  383. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  384. </Grid>
  385. <Grid Grid.Row="3" Height="{Binding Travel_Height_Vis_H[2]}" Visibility="{Binding StateModel.Travel_Height_Vis[2]}">
  386. <Grid.ColumnDefinitions>
  387. <ColumnDefinition Width="5*"/>
  388. <ColumnDefinition Width="25*"/>
  389. <ColumnDefinition Width="5*"/>
  390. <ColumnDefinition Width="3*"/>
  391. </Grid.ColumnDefinitions>
  392. <Label Content="3" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  393. <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">
  394. <i:Interaction.Triggers>
  395. <i:EventTrigger EventName="ValueChanged">
  396. <i:InvokeCommandAction Command="{Binding travel_height_slider_3}"/>
  397. </i:EventTrigger>
  398. </i:Interaction.Triggers>
  399. </Slider>
  400. <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" >
  401. <i:Interaction.Triggers>
  402. <i:EventTrigger EventName="GotKeyboardFocus">
  403. <noesis:SelectAllAction/>
  404. </i:EventTrigger>
  405. <i:EventTrigger EventName="LostFocus">
  406. <i:InvokeCommandAction Command="{Binding travel_height_slider_3}"/>
  407. </i:EventTrigger>
  408. </i:Interaction.Triggers>
  409. </TextBox>
  410. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  411. </Grid>
  412. <Grid Grid.Row="4" Height="{Binding Travel_Height_Vis_H[3]}" Visibility="{Binding StateModel.Travel_Height_Vis[3]}">
  413. <Grid.ColumnDefinitions>
  414. <ColumnDefinition Width="5*"/>
  415. <ColumnDefinition Width="25*"/>
  416. <ColumnDefinition Width="5*"/>
  417. <ColumnDefinition Width="3*"/>
  418. </Grid.ColumnDefinitions>
  419. <Label Content="4" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  420. <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">
  421. <i:Interaction.Triggers>
  422. <i:EventTrigger EventName="ValueChanged">
  423. <i:InvokeCommandAction Command="{Binding travel_height_slider_4}"/>
  424. </i:EventTrigger>
  425. </i:Interaction.Triggers>
  426. </Slider>
  427. <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" >
  428. <i:Interaction.Triggers>
  429. <i:EventTrigger EventName="GotKeyboardFocus">
  430. <noesis:SelectAllAction/>
  431. </i:EventTrigger>
  432. <i:EventTrigger EventName="LostFocus">
  433. <i:InvokeCommandAction Command="{Binding travel_height_slider_4}"/>
  434. </i:EventTrigger>
  435. </i:Interaction.Triggers>
  436. </TextBox>
  437. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  438. </Grid>
  439. <Grid Grid.Row="5" Height="{Binding Travel_Height_Vis_H[4]}" Visibility="{Binding StateModel.Travel_Height_Vis[4]}">
  440. <Grid.ColumnDefinitions>
  441. <ColumnDefinition Width="5*"/>
  442. <ColumnDefinition Width="25*"/>
  443. <ColumnDefinition Width="5*"/>
  444. <ColumnDefinition Width="3*"/>
  445. </Grid.ColumnDefinitions>
  446. <Label Content="5" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  447. <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">
  448. <i:Interaction.Triggers>
  449. <i:EventTrigger EventName="ValueChanged">
  450. <i:InvokeCommandAction Command="{Binding travel_height_slider_5}"/>
  451. </i:EventTrigger>
  452. </i:Interaction.Triggers>
  453. </Slider>
  454. <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" >
  455. <i:Interaction.Triggers>
  456. <i:EventTrigger EventName="GotKeyboardFocus">
  457. <noesis:SelectAllAction/>
  458. </i:EventTrigger>
  459. </i:Interaction.Triggers>
  460. </TextBox>
  461. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  462. </Grid>
  463. <Grid Grid.Row="6" Height="{Binding Travel_Height_Vis_H[5]}" Visibility="{Binding StateModel.Travel_Height_Vis[5]}">
  464. <Grid.ColumnDefinitions>
  465. <ColumnDefinition Width="5*"/>
  466. <ColumnDefinition Width="25*"/>
  467. <ColumnDefinition Width="5*"/>
  468. <ColumnDefinition Width="3*"/>
  469. </Grid.ColumnDefinitions>
  470. <Label Content="6" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  471. <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">
  472. <i:Interaction.Triggers>
  473. <i:EventTrigger EventName="ValueChanged">
  474. <i:InvokeCommandAction Command="{Binding travel_height_slider_6}"/>
  475. </i:EventTrigger>
  476. <i:EventTrigger EventName="LostFocus">
  477. <i:InvokeCommandAction Command="{Binding travel_height_slider_6}"/>
  478. </i:EventTrigger>
  479. </i:Interaction.Triggers>
  480. </Slider>
  481. <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" >
  482. <i:Interaction.Triggers>
  483. <i:EventTrigger EventName="GotKeyboardFocus">
  484. <noesis:SelectAllAction/>
  485. </i:EventTrigger>
  486. </i:Interaction.Triggers>
  487. </TextBox>
  488. <Label Grid.Column="3" VerticalAlignment="Center" Content="mm" HorizontalAlignment="Right" Height="21.6"/>
  489. </Grid>
  490. </Grid>
  491. <Grid x:Name="lift_height" Grid.Row="3">
  492. <Grid.RowDefinitions>
  493. <RowDefinition Height="3"/>
  494. <RowDefinition/>
  495. <RowDefinition Height="3"/>
  496. </Grid.RowDefinitions>
  497. <Grid.ColumnDefinitions>
  498. <ColumnDefinition Width="4*"/>
  499. <ColumnDefinition Width="1*"/>
  500. </Grid.ColumnDefinitions>
  501. <Rectangle Grid.Row="0" Height="1" Fill="#FF272727" Grid.ColumnSpan="2"/>
  502. <Label Grid.Column="0" Grid.Row="1" Height="32" FontSize="18" Content="{Binding SelectedLanguage.Resources[LiftHeightLabel]}" VerticalAlignment="Center" Margin="0,8,0,0"/>
  503. <Label Grid.Column="1" Grid.Row="1" Content="{Binding Lift_Height}" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#FF7A7A7A"/>
  504. <Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727"/>
  505. </Grid>
  506. <Grid x:Name="platform_size" Grid.Row="4" >
  507. <Grid.RowDefinitions>
  508. <RowDefinition Height="42"/>
  509. <RowDefinition Height="8*"/>
  510. <RowDefinition Height="2"/>
  511. </Grid.RowDefinitions>
  512. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[ShaftSizeLabel]}" Margin="0,5" VerticalAlignment="Center"/>
  513. <Grid Grid.Row="1">
  514. <Grid.ColumnDefinitions>
  515. <ColumnDefinition/>
  516. <ColumnDefinition/>
  517. </Grid.ColumnDefinitions>
  518. <Grid Grid.Column="1" Margin="0,0,5,0" >
  519. <Grid>
  520. <Grid.RowDefinitions>
  521. <RowDefinition Height="68"/>
  522. <RowDefinition Height="52"/>
  523. <RowDefinition Height="52"/>
  524. </Grid.RowDefinitions>
  525. <Grid Grid.Row="0">
  526. <Grid>
  527. <Grid.RowDefinitions>
  528. <RowDefinition Height="16"/>
  529. <RowDefinition Height="32"/>
  530. <RowDefinition Height="2"/>
  531. </Grid.RowDefinitions>
  532. <Label Grid.Row="0" Content="B/D" FontSize="12" Foreground="#7A7A7A"/>
  533. <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}">
  534. <ComboBoxItem Content="900mm" Background="Black"/>
  535. <ComboBoxItem Content="1000mm" Background="Black"/>
  536. <ComboBoxItem Content="1100mm" Background="Black"/>
  537. <ComboBoxItem Content="1200mm" Background="Black"/>
  538. <ComboBoxItem Content="1300mm" Background="Black"/>
  539. <ComboBoxItem Content="1400mm" Background="Black"/>
  540. <ComboBoxItem Content="1500mm" Background="Black"/>
  541. <i:Interaction.Triggers>
  542. <i:EventTrigger EventName="SelectionChanged">
  543. <i:InvokeCommandAction Command="{Binding set_platformSizeBD }"/>
  544. </i:EventTrigger>
  545. </i:Interaction.Triggers>
  546. </ComboBox>
  547. <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}">
  548. <ComboBoxItem Content="900mm" Background="Black"/>
  549. <ComboBoxItem Content="1000mm" Background="Black"/>
  550. <ComboBoxItem Content="1100mm" Background="Black"/>
  551. <ComboBoxItem Content="1200mm" Background="Black"/>
  552. <ComboBoxItem Content="1300mm" Background="Black"/>
  553. <ComboBoxItem Content="1400mm" Background="Black"/>
  554. <i:Interaction.Triggers>
  555. <i:EventTrigger EventName="SelectionChanged">
  556. <i:InvokeCommandAction Command="{Binding set_platformSizeBD }"/>
  557. </i:EventTrigger>
  558. </i:Interaction.Triggers>
  559. </ComboBox>
  560. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  561. </Grid>
  562. </Grid>
  563. <Grid Grid.Row="1">
  564. <Grid.RowDefinitions>
  565. <RowDefinition Height="16"/>
  566. <RowDefinition/>
  567. </Grid.RowDefinitions>
  568. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CutOutBDLabel]}" FontSize="12" Foreground="#7A7A7A"/>
  569. <Label Grid.Row="1" Content="{Binding Cut_Out_Size_BD}"/>
  570. </Grid>
  571. <Grid Grid.Row="2">
  572. <Grid.RowDefinitions>
  573. <RowDefinition Height="16"/>
  574. <RowDefinition/>
  575. </Grid.RowDefinitions>
  576. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarSizeBDLabel]}" FontSize="12" Foreground="#7A7A7A"/>
  577. <Label Grid.Row="1" Content="{Binding Car_Size_BD}"/>
  578. </Grid>
  579. </Grid>
  580. </Grid>
  581. <Grid Grid.Column="0">
  582. <Grid>
  583. <Grid.RowDefinitions>
  584. <RowDefinition Height="68"/>
  585. <RowDefinition Height="52"/>
  586. <RowDefinition Height="52"/>
  587. </Grid.RowDefinitions>
  588. <Grid Grid.Row="0">
  589. <Grid>
  590. <Grid.RowDefinitions>
  591. <RowDefinition Height="16"/>
  592. <RowDefinition Height="32"/>
  593. <RowDefinition Height="2"/>
  594. </Grid.RowDefinitions>
  595. <Label Grid.Row="0" Content="A/C" FontSize="12" Foreground="#7A7A7A"/>
  596. <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}">
  597. <ComboBoxItem Content="1000mm" Background="Black"/>
  598. <ComboBoxItem Content="1100mm" Background="Black"/>
  599. <ComboBoxItem Content="1200mm" Background="Black"/>
  600. <ComboBoxItem Content="1300mm" Background="Black"/>
  601. <ComboBoxItem Content="1400mm" Background="Black"/>
  602. <ComboBoxItem Content="1500mm" Background="Black"/>
  603. <i:Interaction.Triggers>
  604. <i:EventTrigger EventName="SelectionChanged">
  605. <i:InvokeCommandAction Command="{Binding set_platformSizeAC }"/>
  606. </i:EventTrigger>
  607. </i:Interaction.Triggers>
  608. </ComboBox>
  609. <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}">
  610. <ComboBoxItem Content="1000mm" Background="Black"/>
  611. <ComboBoxItem Content="1100mm" Background="Black"/>
  612. <ComboBoxItem Content="1200mm" Background="Black"/>
  613. <ComboBoxItem Content="1300mm" Background="Black"/>
  614. <ComboBoxItem Content="1400mm" Background="Black"/>
  615. <i:Interaction.Triggers>
  616. <i:EventTrigger EventName="SelectionChanged">
  617. <i:InvokeCommandAction Command="{Binding set_platformSizeAC }"/>
  618. </i:EventTrigger>
  619. </i:Interaction.Triggers>
  620. </ComboBox>
  621. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  622. </Grid>
  623. </Grid>
  624. <Grid Grid.Row="1">
  625. <Grid.RowDefinitions>
  626. <RowDefinition Height="16"/>
  627. <RowDefinition/>
  628. </Grid.RowDefinitions>
  629. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CutOutACLabel]}" FontSize="12" Foreground="#7A7A7A"/>
  630. <Label Grid.Row="1" Content="{Binding Cut_Out_Size_AC}"/>
  631. </Grid>
  632. <Grid Grid.Row="2">
  633. <Grid.RowDefinitions>
  634. <RowDefinition Height="16"/>
  635. <RowDefinition/>
  636. </Grid.RowDefinitions>
  637. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarSizeACLabel]}" FontSize="12" Foreground="#7A7A7A"/>
  638. <Label Grid.Row="1" Content="{Binding Car_Size_AC}"/>
  639. </Grid>
  640. </Grid>
  641. </Grid>
  642. </Grid>
  643. <Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727"/>
  644. </Grid>
  645. <Grid x:Name="starting_floor" Grid.Row="5" Margin="0,5" Height="0">
  646. <Grid.RowDefinitions>
  647. <RowDefinition Height="2*"/>
  648. <RowDefinition Height="5*"/>
  649. <RowDefinition Height="4"/>
  650. </Grid.RowDefinitions>
  651. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StaringFloorLabel]}" VerticalAlignment="Bottom"/>
  652. <Grid Grid.Row="1">
  653. <Grid.ColumnDefinitions>
  654. <ColumnDefinition/>
  655. <ColumnDefinition/>
  656. </Grid.ColumnDefinitions>
  657. <Grid Grid.Column="0" Margin="0,0,5,0" >
  658. <Grid.RowDefinitions>
  659. <RowDefinition Height="16"/>
  660. <RowDefinition Height="32"/>
  661. <RowDefinition Height="2"/>
  662. </Grid.RowDefinitions>
  663. <ComboBox Grid.Row="1" x:Name="start_floor" SelectedValuePath="Content" Background="Black" SelectedValue="{Binding StartingDoor}" FontSize="18">
  664. <ComboBoxItem Content="6" Background="Black"/>
  665. <ComboBoxItem Content="5" Background="Black"/>
  666. <ComboBoxItem Content="4" Background="Black"/>
  667. <ComboBoxItem Content="3" Background="Black"/>
  668. <ComboBoxItem Content="2" Background="Black"/>
  669. <ComboBoxItem Content="1" Background="Black"/>
  670. <ComboBoxItem Content="0" Background="Black"/>
  671. <ComboBoxItem Content="-1" Background="Black"/>
  672. <ComboBoxItem Content="{Binding SelectedLanguage.Resources[BasementLabel]}" Background="Black"/>
  673. </ComboBox>
  674. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  675. </Grid>
  676. <!--<Grid Grid.Column="1">
  677. <Grid.RowDefinitions>
  678. <RowDefinition Height="16"/>
  679. <RowDefinition Height="32"/>
  680. <RowDefinition Height="2"/>
  681. </Grid.RowDefinitions>
  682. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CustomizeLabel]}" FontSize="12" Foreground="#7A7A7A"/>
  683. <ComboBox Grid.Row="1" x:Name="start_floor_name" SelectedValuePath="Content" Background="Black" SelectedValue="{Binding StartingDoorName}" FontSize="18">
  684. <ComboBoxItem Content="6" Background="Black"/>
  685. <ComboBoxItem Content="5" Background="Black"/>
  686. <ComboBoxItem Content="4" Background="Black"/>
  687. <ComboBoxItem Content="3" Background="Black"/>
  688. <ComboBoxItem Content="2" Background="Black"/>
  689. <ComboBoxItem Content="1" Background="Black"/>
  690. <ComboBoxItem Content="0" Background="Black"/>
  691. <ComboBoxItem Content="-1" Background="Black"/>
  692. <ComboBoxItem Content="-2" Background="Black"/>
  693. </ComboBox>
  694. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  695. </Grid>-->
  696. </Grid>
  697. <!--<Rectangle Grid.Row="2" Grid.ColumnSpan="2" Height="1" Fill="#FF272727" Margin="0,2,0,0" />-->
  698. </Grid>
  699. <Grid x:Name="floor_annotation" Grid.Row="6" Margin="0,5" >
  700. <Grid.RowDefinitions>
  701. <RowDefinition Height="2*"/>
  702. <RowDefinition Height="3*"/>
  703. <RowDefinition Height="5*"/>
  704. <RowDefinition Height="5*"/>
  705. <RowDefinition Height="5*"/>
  706. <RowDefinition Height="5*"/>
  707. <RowDefinition Height="5*"/>
  708. <RowDefinition Height="5*"/>
  709. </Grid.RowDefinitions>
  710. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[FloorAnnotationLabel]}" VerticalAlignment="Bottom" />
  711. <Grid Grid.Row="1" Margin="0,5">
  712. <Grid Grid.Column="1">
  713. <Grid.ColumnDefinitions>
  714. <ColumnDefinition Width="28"/>
  715. <ColumnDefinition/>
  716. </Grid.ColumnDefinitions>
  717. <CheckBox x:Name="CustomizeFloorName" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding IsCustomizeFloorName}" Command="{Binding trigger_custmozie_floor_name}" >
  718. <CheckBox.LayoutTransform>
  719. <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
  720. </CheckBox.LayoutTransform>
  721. </CheckBox>
  722. <TextBlock Grid.Column="1" Text="Custom Name" FontSize="16" VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
  723. </Grid>
  724. </Grid>
  725. <Grid Grid.Row="2" Visibility="{Binding CustomizFloorVis[0]}" Height="{Binding floor_annotation_height[0]}">
  726. <Grid.ColumnDefinitions>
  727. <ColumnDefinition/>
  728. <ColumnDefinition/>
  729. </Grid.ColumnDefinitions>
  730. <Grid Grid.Column="0" Margin="0,0,5,0" >
  731. <Grid.RowDefinitions>
  732. <RowDefinition Height="16"/>
  733. <RowDefinition Height="32"/>
  734. <RowDefinition Height="2"/>
  735. </Grid.RowDefinitions>
  736. <TextBlock Grid.Row="1" Text="1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  737. </Grid>
  738. <Grid Grid.Column="1" Margin="0,0,5,0">
  739. <Grid.RowDefinitions>
  740. <RowDefinition Height="16"/>
  741. <RowDefinition Height="32"/>
  742. <RowDefinition Height="2"/>
  743. </Grid.RowDefinitions>
  744. <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">
  745. <i:Interaction.Triggers>
  746. <i:EventTrigger EventName="LostKeyboardFocus">
  747. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  748. </i:EventTrigger>
  749. </i:Interaction.Triggers>
  750. </TextBox>
  751. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  752. </Grid>
  753. </Grid>
  754. <Grid Grid.Row="3" Visibility="{Binding CustomizFloorVis[1]}" Height="{Binding floor_annotation_height[1]}">
  755. <Grid.ColumnDefinitions>
  756. <ColumnDefinition/>
  757. <ColumnDefinition/>
  758. </Grid.ColumnDefinitions>
  759. <Grid Grid.Column="0" Margin="0,0,5,0" >
  760. <Grid.RowDefinitions>
  761. <RowDefinition Height="16"/>
  762. <RowDefinition Height="32"/>
  763. <RowDefinition Height="2"/>
  764. </Grid.RowDefinitions>
  765. <TextBlock Grid.Row="1" Text="2" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  766. </Grid>
  767. <Grid Grid.Column="1" Margin="0,0,5,0">
  768. <Grid.RowDefinitions>
  769. <RowDefinition Height="16"/>
  770. <RowDefinition Height="32"/>
  771. <RowDefinition Height="2"/>
  772. </Grid.RowDefinitions>
  773. <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">
  774. <i:Interaction.Triggers>
  775. <i:EventTrigger EventName="LostKeyboardFocus">
  776. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  777. </i:EventTrigger>
  778. </i:Interaction.Triggers>
  779. </TextBox>
  780. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  781. </Grid>
  782. </Grid>
  783. <Grid Grid.Row="4" Visibility="{Binding CustomizFloorVis[2]}" Height="{Binding floor_annotation_height[2]}">
  784. <Grid.ColumnDefinitions>
  785. <ColumnDefinition/>
  786. <ColumnDefinition/>
  787. </Grid.ColumnDefinitions>
  788. <Grid Grid.Column="0" Margin="0,0,5,0" >
  789. <Grid.RowDefinitions>
  790. <RowDefinition Height="16"/>
  791. <RowDefinition Height="32"/>
  792. <RowDefinition Height="2"/>
  793. </Grid.RowDefinitions>
  794. <TextBlock Grid.Row="1" Text="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  795. </Grid>
  796. <Grid Grid.Column="1" Margin="0,0,5,0">
  797. <Grid.RowDefinitions>
  798. <RowDefinition Height="16"/>
  799. <RowDefinition Height="32"/>
  800. <RowDefinition Height="2"/>
  801. </Grid.RowDefinitions>
  802. <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">
  803. <i:Interaction.Triggers>
  804. <i:EventTrigger EventName="LostKeyboardFocus">
  805. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  806. </i:EventTrigger>
  807. </i:Interaction.Triggers>
  808. </TextBox>
  809. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  810. </Grid>
  811. </Grid>
  812. <Grid Grid.Row="5" Visibility="{Binding CustomizFloorVis[3]}" Height="{Binding floor_annotation_height[3]}">
  813. <Grid.ColumnDefinitions>
  814. <ColumnDefinition/>
  815. <ColumnDefinition/>
  816. </Grid.ColumnDefinitions>
  817. <Grid Grid.Column="0" Margin="0,0,5,0" >
  818. <Grid.RowDefinitions>
  819. <RowDefinition Height="16"/>
  820. <RowDefinition Height="32"/>
  821. <RowDefinition Height="2"/>
  822. </Grid.RowDefinitions>
  823. <TextBlock Grid.Row="1" Text="4" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  824. </Grid>
  825. <Grid Grid.Column="1" Margin="0,0,5,0">
  826. <Grid.RowDefinitions>
  827. <RowDefinition Height="16"/>
  828. <RowDefinition Height="32"/>
  829. <RowDefinition Height="2"/>
  830. </Grid.RowDefinitions>
  831. <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">
  832. <i:Interaction.Triggers>
  833. <i:EventTrigger EventName="LostKeyboardFocus">
  834. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  835. </i:EventTrigger>
  836. </i:Interaction.Triggers>
  837. </TextBox>
  838. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  839. </Grid>
  840. </Grid>
  841. <Grid Grid.Row="6" Visibility="{Binding CustomizFloorVis[4]}" Height="{Binding floor_annotation_height[4]}">
  842. <Grid.ColumnDefinitions>
  843. <ColumnDefinition/>
  844. <ColumnDefinition/>
  845. </Grid.ColumnDefinitions>
  846. <Grid Grid.Column="0" Margin="0,0,5,0" >
  847. <Grid.RowDefinitions>
  848. <RowDefinition Height="16"/>
  849. <RowDefinition Height="32"/>
  850. <RowDefinition Height="2"/>
  851. </Grid.RowDefinitions>
  852. <TextBlock Grid.Row="1" Text="5" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  853. </Grid>
  854. <Grid Grid.Column="1" Margin="0,0,5,0">
  855. <Grid.RowDefinitions>
  856. <RowDefinition Height="16"/>
  857. <RowDefinition Height="32"/>
  858. <RowDefinition Height="2"/>
  859. </Grid.RowDefinitions>
  860. <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">
  861. <i:Interaction.Triggers>
  862. <i:EventTrigger EventName="LostKeyboardFocus">
  863. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  864. </i:EventTrigger>
  865. </i:Interaction.Triggers>
  866. </TextBox>
  867. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  868. </Grid>
  869. </Grid>
  870. <Grid Grid.Row="7" Visibility="{Binding CustomizFloorVis[5]}" Height="{Binding floor_annotation_height[5]}">
  871. <Grid.ColumnDefinitions>
  872. <ColumnDefinition/>
  873. <ColumnDefinition/>
  874. </Grid.ColumnDefinitions>
  875. <Grid Grid.Column="0" Margin="0,0,5,0" >
  876. <Grid.RowDefinitions>
  877. <RowDefinition Height="16"/>
  878. <RowDefinition Height="32"/>
  879. <RowDefinition Height="2"/>
  880. </Grid.RowDefinitions>
  881. <TextBlock Grid.Row="1" Text="6" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  882. </Grid>
  883. <Grid Grid.Column="1" Margin="0,0,5,0">
  884. <Grid.RowDefinitions>
  885. <RowDefinition Height="16"/>
  886. <RowDefinition Height="32"/>
  887. <RowDefinition Height="2"/>
  888. </Grid.RowDefinitions>
  889. <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">
  890. <i:Interaction.Triggers>
  891. <i:EventTrigger EventName="LostKeyboardFocus">
  892. <i:InvokeCommandAction Command="{Binding set_floor_customize_name}"/>
  893. </i:EventTrigger>
  894. </i:Interaction.Triggers>
  895. </TextBox>
  896. <Rectangle Grid.Row="2" Fill="#7A7A7A" Height="1"/>
  897. </Grid>
  898. </Grid>
  899. </Grid>
  900. </Grid>
  901. </ScrollViewer>
  902. </TabItem>
  903. <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">
  904. <Grid Margin="-50,0,0,0">
  905. <Grid.ColumnDefinitions>
  906. <ColumnDefinition Width="42"/>
  907. <ColumnDefinition/>
  908. </Grid.ColumnDefinitions>
  909. <Grid Grid.Column="0" x:Name="shaft_menu" Width="62" Margin="-16,0,0,0">
  910. <Grid Background="Black" VerticalAlignment="Top">
  911. <Grid.RowDefinitions>
  912. <RowDefinition/>
  913. <RowDefinition/>
  914. <RowDefinition/>
  915. </Grid.RowDefinitions>
  916. <Button Grid.Row="0" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_build}" IsEnabled="{Binding Build_Enable }">
  917. <Grid>
  918. <Image Source="image/btn/menu_build_on.png" Visibility="{Binding StateModel.Menu_On[0]}"/>
  919. <Image Source="image/btn/menu_build_off.png" Visibility="{Binding StateModel.Menu_Off[0]}"/>
  920. </Grid>
  921. </Button>
  922. <Button Grid.Row="1" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_shape}">
  923. <Grid>
  924. <Image Source="image/btn/menu_door_on.png" Visibility="{Binding StateModel.Menu_On[1]}"/>
  925. <Image Source="image/btn/menu_door_off.png" Visibility="{Binding StateModel.Menu_Off[1]}"/>
  926. </Grid>
  927. </Button>
  928. <Button Grid.Row="2" Margin="4" Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_color}" >
  929. <Grid>
  930. <Image Source="image/btn/menu_color_on.png" Visibility="{Binding StateModel.Menu_On[2]}"/>
  931. <Image Source="image/btn/menu_color_off.png" Visibility="{Binding StateModel.Menu_Off[2]}"/>
  932. </Grid>
  933. </Button>
  934. </Grid>
  935. </Grid>
  936. <Grid x:Name="shaft_tab_content" Grid.Column="1" Margin="4,0,0,0">
  937. <Grid x:Name="build_page" Grid.Column="1" Visibility="{Binding Build_Vis}" Margin="16,0" d:IsHidden="True">
  938. <Grid.RowDefinitions>
  939. <RowDefinition Height="64"/>
  940. <RowDefinition Height="400*"/>
  941. <RowDefinition Height="32*"/>
  942. </Grid.RowDefinitions>
  943. <Grid Grid.Row="0" Grid.Column="0">
  944. <Label Content="{Binding SelectedLanguage.Resources[BuildLabel]}" FontSize="22" VerticalAlignment="Center"/>
  945. </Grid>
  946. <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="0,6"/>
  947. <Grid Grid.Row="1">
  948. <Grid.RowDefinitions>
  949. <RowDefinition/>
  950. <RowDefinition/>
  951. <RowDefinition/>
  952. </Grid.RowDefinitions>
  953. <Grid.ColumnDefinitions>
  954. <ColumnDefinition/>
  955. <ColumnDefinition/>
  956. <ColumnDefinition/>
  957. </Grid.ColumnDefinitions>
  958. <Border Grid.Row="0" Grid.Column="1" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" >
  959. <Grid >
  960. <Grid.RowDefinitions>
  961. <RowDefinition Height="1*"/>
  962. <RowDefinition Height="2*"/>
  963. </Grid.RowDefinitions>
  964. <Label Content="D" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  965. <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
  966. <ComboBox x:Name="set_shaft_mat_d" ItemsSource="{Binding Shaft_Mat_List_D}" SelectedItem="{Binding Selected_Shaft_Mat_D}" Width="122" >
  967. <ComboBox.ItemTemplate>
  968. <DataTemplate>
  969. <Grid Margin="2,0" Height="38">
  970. <Grid.ColumnDefinitions>
  971. <ColumnDefinition Width="24"/>
  972. <ColumnDefinition Width="70"/>
  973. </Grid.ColumnDefinitions>
  974. <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
  975. <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}"/>
  976. <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}"/>
  977. </Grid>
  978. </DataTemplate>
  979. </ComboBox.ItemTemplate>
  980. <i:Interaction.Triggers>
  981. <i:EventTrigger EventName="SelectionChanged">
  982. <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_d, Path=DataContext.set_shaft_mat_d }"/>
  983. </i:EventTrigger>
  984. </i:Interaction.Triggers>
  985. </ComboBox>
  986. </Border>
  987. </Grid>
  988. </Border>
  989. <Border Grid.Row="1" Grid.Column="0" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" Margin="0,0,12,0" >
  990. <Grid >
  991. <Grid.RowDefinitions>
  992. <RowDefinition Height="1*"/>
  993. <RowDefinition Height="2*"/>
  994. </Grid.RowDefinitions>
  995. <Label Content="C" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  996. <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
  997. <ComboBox x:Name="set_shaft_mat_c" ItemsSource="{Binding Shaft_Mat_List_C}" SelectedItem="{Binding Selected_Shaft_Mat_C}" Width="122" >
  998. <ComboBox.ItemTemplate>
  999. <DataTemplate>
  1000. <Grid Margin="2,0" Height="38">
  1001. <Grid.ColumnDefinitions>
  1002. <ColumnDefinition Width="24"/>
  1003. <ColumnDefinition Width="70"/>
  1004. </Grid.ColumnDefinitions>
  1005. <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
  1006. <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}"/>
  1007. <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}"/>
  1008. </Grid>
  1009. </DataTemplate>
  1010. </ComboBox.ItemTemplate>
  1011. <i:Interaction.Triggers>
  1012. <i:EventTrigger EventName="SelectionChanged">
  1013. <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_c, Path=DataContext.set_shaft_mat_c }"/>
  1014. </i:EventTrigger>
  1015. </i:Interaction.Triggers>
  1016. </ComboBox>
  1017. </Border>
  1018. </Grid>
  1019. </Border>
  1020. <Grid Grid.Column="1" Grid.Row="1" Margin="-10">
  1021. <Image Source="image/bg/lift_build_icon.png"/>
  1022. </Grid>
  1023. <Border Grid.Row="1" Grid.Column="2" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" Margin="12,0,0,0" >
  1024. <Grid >
  1025. <Grid.RowDefinitions>
  1026. <RowDefinition Height="1*"/>
  1027. <RowDefinition Height="2*"/>
  1028. </Grid.RowDefinitions>
  1029. <Label Content="A" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  1030. <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
  1031. <ComboBox x:Name="set_shaft_mat_a" ItemsSource="{Binding Shaft_Mat_List_A}" SelectedItem="{Binding Selected_Shaft_Mat_A}" Width="122" >
  1032. <ComboBox.ItemTemplate>
  1033. <DataTemplate>
  1034. <Grid Margin="2,0" Height="38">
  1035. <Grid.ColumnDefinitions>
  1036. <ColumnDefinition Width="24"/>
  1037. <ColumnDefinition Width="70"/>
  1038. </Grid.ColumnDefinitions>
  1039. <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
  1040. <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}"/>
  1041. <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}"/>
  1042. </Grid>
  1043. </DataTemplate>
  1044. </ComboBox.ItemTemplate>
  1045. <i:Interaction.Triggers>
  1046. <i:EventTrigger EventName="SelectionChanged">
  1047. <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_a, Path=DataContext.set_shaft_mat_a }"/>
  1048. </i:EventTrigger>
  1049. </i:Interaction.Triggers>
  1050. </ComboBox>
  1051. </Border>
  1052. </Grid>
  1053. </Border>
  1054. <Border Grid.Row="2" Grid.Column="1" Background="#1B1B1B" Height="96" Width="128" CornerRadius="6,6,6,6" >
  1055. <Grid >
  1056. <Grid.RowDefinitions>
  1057. <RowDefinition Height="1*"/>
  1058. <RowDefinition Height="2*"/>
  1059. </Grid.RowDefinitions>
  1060. <Label Content="B" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  1061. <Border Grid.Row="1" Background="#363636" Width="122" Height="52" CornerRadius="6,6,6,6" >
  1062. <ComboBox x:Name="set_shaft_mat_b" ItemsSource="{Binding Shaft_Mat_List_B}" SelectedItem="{Binding Selected_Shaft_Mat_B}" Width="122" >
  1063. <ComboBox.ItemTemplate>
  1064. <DataTemplate>
  1065. <Grid Margin="2,0" Height="38">
  1066. <Grid.ColumnDefinitions>
  1067. <ColumnDefinition Width="24"/>
  1068. <ColumnDefinition Width="70"/>
  1069. </Grid.ColumnDefinitions>
  1070. <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
  1071. <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}"/>
  1072. <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}"/>
  1073. </Grid>
  1074. </DataTemplate>
  1075. </ComboBox.ItemTemplate>
  1076. <i:Interaction.Triggers>
  1077. <i:EventTrigger EventName="SelectionChanged">
  1078. <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_b, Path=DataContext.set_shaft_mat_b }"/>
  1079. </i:EventTrigger>
  1080. </i:Interaction.Triggers>
  1081. </ComboBox>
  1082. </Border>
  1083. </Grid>
  1084. </Border>
  1085. <Border Grid.Row="1" Grid.Column="1" Background="#1B1B1B" Height="66" Width="128" CornerRadius="6,6,6,6" Visibility="Hidden" >
  1086. <Grid >
  1087. <Grid.RowDefinitions>
  1088. <RowDefinition Height="1*"/>
  1089. <RowDefinition Height="2*"/>
  1090. </Grid.RowDefinitions>
  1091. <Label Content="E" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  1092. <Border Grid.Row="1" Background="#363636" Height="36" Width="122" CornerRadius="6,6,6,6" >
  1093. <ComboBox x:Name="set_shaft_mat_e" ItemsSource="{Binding Shaft_Mat_List_E}" SelectedItem="{Binding Selected_Shaft_Mat_E}" Width="122" >
  1094. <ComboBox.ItemTemplate>
  1095. <DataTemplate>
  1096. <Grid Margin="2,0" Height="38">
  1097. <Grid.ColumnDefinitions>
  1098. <ColumnDefinition Width="24"/>
  1099. <ColumnDefinition Width="70"/>
  1100. </Grid.ColumnDefinitions>
  1101. <!--<Image Grid.Column="0" Height="24" Source="{Binding Path=icon_texture}" Margin="0,0,4,0"/>-->
  1102. <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}"/>
  1103. <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}"/>
  1104. </Grid>
  1105. </DataTemplate>
  1106. </ComboBox.ItemTemplate>
  1107. <i:Interaction.Triggers>
  1108. <i:EventTrigger EventName="SelectionChanged">
  1109. <i:InvokeCommandAction Command="{Binding ElementName=set_shaft_mat_e, Path=DataContext.set_shaft_mat_e }"/>
  1110. </i:EventTrigger>
  1111. </i:Interaction.Triggers>
  1112. </ComboBox>
  1113. </Border>
  1114. </Grid>
  1115. </Border>
  1116. </Grid>
  1117. </Grid>
  1118. <Grid x:Name="shape_page" Grid.Column="1" Visibility="{Binding Shape_Vis}" Margin="3,0" >
  1119. <Grid.RowDefinitions>
  1120. <RowDefinition Height="64"/>
  1121. <RowDefinition Height="2*"/>
  1122. <RowDefinition Height="28*"/>
  1123. </Grid.RowDefinitions>
  1124. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorsLabel]}" FontSize="22" VerticalAlignment="Center" Margin="13,0"/>
  1125. <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="13,6"/>
  1126. <Grid Grid.Row="1" Height="36" Background="#1B1B1B">
  1127. <Grid.ColumnDefinitions>
  1128. <ColumnDefinition Width="1*"/>
  1129. <ColumnDefinition Width="1*"/>
  1130. <ColumnDefinition Width="1*"/>
  1131. <ColumnDefinition Width="1*"/>
  1132. <ColumnDefinition Width="1*"/>
  1133. <ColumnDefinition Width="1*"/>
  1134. <ColumnDefinition Width="1*"/>
  1135. <ColumnDefinition Width="1*"/>
  1136. <ColumnDefinition Width="1*"/>
  1137. <ColumnDefinition Width="1*"/>
  1138. </Grid.ColumnDefinitions>
  1139. <Border Grid.Column="1" BorderThickness="1" >
  1140. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_1F}" >
  1141. <TextBlock Text="1F" FontSize="18" Foreground="{Binding floor_btn_bg_color[0]}"/>
  1142. </Button>
  1143. </Border>
  1144. <Border Grid.Column="2" BorderThickness="1" >
  1145. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_2F}" >
  1146. <TextBlock Text="2F" FontSize="18" Foreground="{Binding floor_btn_bg_color[1]}"/>
  1147. </Button>
  1148. </Border>
  1149. <Border Grid.Column="3" BorderThickness="1" >
  1150. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_3F}" Visibility="{Binding Door_3F_Btn_Vis}">
  1151. <TextBlock Text="3F" FontSize="18" Foreground="{Binding floor_btn_bg_color[2]}"/>
  1152. </Button>
  1153. </Border>
  1154. <Border Grid.Column="4" BorderThickness="1" >
  1155. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_4F}" Visibility="{Binding Door_4F_Btn_Vis}">
  1156. <TextBlock Text="4F" FontSize="18" Foreground="{Binding floor_btn_bg_color[3]}"/>
  1157. </Button>
  1158. </Border>
  1159. <Border Grid.Column="5" BorderThickness="1">
  1160. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_5F}" Visibility="{Binding Door_5F_Btn_Vis}">
  1161. <TextBlock Text="5F" FontSize="18" Foreground="{Binding floor_btn_bg_color[4]}"/>
  1162. </Button>
  1163. </Border>
  1164. <Border Grid.Column="6" BorderThickness="1">
  1165. <Button Background="{x:Null}" BorderBrush="{x:Null}" Command="{Binding show_door_6F}" Visibility="{Binding Door_6F_Btn_Vis}" >
  1166. <TextBlock Text="6F" FontSize="18" Foreground="{Binding floor_btn_bg_color[5]}"/>
  1167. </Button>
  1168. </Border>
  1169. </Grid>
  1170. <Grid x:Name="door_1F" Grid.Row="2" Visibility="{Binding Door_1F_Vis}" Margin="0,48,0,0" Background="Black" d:IsHidden="True">
  1171. <Grid.RowDefinitions>
  1172. <RowDefinition/>
  1173. <RowDefinition Height="302"/>
  1174. <RowDefinition Height="0"/>
  1175. </Grid.RowDefinitions>
  1176. <Grid Grid.Row="0">
  1177. <Grid.RowDefinitions>
  1178. <RowDefinition Height="9*"/>
  1179. <RowDefinition Height="1*"/>
  1180. <RowDefinition Height="2*"/>
  1181. </Grid.RowDefinitions>
  1182. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  1183. <Grid.RowDefinitions>
  1184. <RowDefinition Height="34*"/>
  1185. <RowDefinition Height="69*"/>
  1186. <RowDefinition Height="80*"/>
  1187. <RowDefinition Height="74*"/>
  1188. </Grid.RowDefinitions>
  1189. <Grid.ColumnDefinitions>
  1190. <ColumnDefinition Width="94*"/>
  1191. <ColumnDefinition Width="72*"/>
  1192. <ColumnDefinition Width="92*"/>
  1193. <ColumnDefinition Width="72*"/>
  1194. <ColumnDefinition Width="94*"/>
  1195. </Grid.ColumnDefinitions>
  1196. <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" >
  1197. <Grid>
  1198. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1199. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1200. </Grid>
  1201. </Button>
  1202. <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" >
  1203. <Grid>
  1204. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1205. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1206. </Grid>
  1207. </Button>
  1208. <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" >
  1209. <Grid>
  1210. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1211. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1212. </Grid>
  1213. </Button>
  1214. </Grid>
  1215. <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"/>
  1216. <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"/>
  1217. <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"/>
  1218. <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"/>
  1219. <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"/>
  1220. <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"/>
  1221. <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"/>
  1222. <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"/>
  1223. <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"/>
  1224. <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"/>
  1225. <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"/>
  1226. <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"/>
  1227. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  1228. <!--<Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[0]}">
  1229. <Grid.ColumnDefinitions>
  1230. <ColumnDefinition/>
  1231. <ColumnDefinition/>
  1232. <ColumnDefinition/>
  1233. <ColumnDefinition/>
  1234. <ColumnDefinition Width="7*"/>
  1235. </Grid.ColumnDefinitions>
  1236. <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]}">
  1237. <Label Content="A" Foreground="{Binding StateModel.Door_A_Btn_Color[0]}"/>
  1238. </Button>
  1239. <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]}">
  1240. <Label Content="B" Foreground="{Binding StateModel.Door_B_Btn_Color[0]}"/>
  1241. </Button>
  1242. <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]}">
  1243. <Label Content="C" Foreground="{Binding StateModel.Door_C_Btn_Color[0]}"/>
  1244. </Button>
  1245. </Grid>-->
  1246. </Grid>
  1247. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[0]}"/>
  1248. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[0]}" Panel.ZIndex="1"/>-->
  1249. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[0]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  1250. <TabControl.Resources>
  1251. <Style TargetType="{x:Type TabPanel}">
  1252. <Setter Property="HorizontalAlignment" Value="Left"/>
  1253. </Style>
  1254. </TabControl.Resources>
  1255. <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]}">
  1256. <Grid x:Name="Door_1F_A" Grid.Row="1" Margin="0,6,0,0" >
  1257. <Grid.RowDefinitions>
  1258. <RowDefinition Height="72"/>
  1259. <RowDefinition Height="72"/>
  1260. <RowDefinition Height="72"/>
  1261. <RowDefinition Height="82"/>
  1262. </Grid.RowDefinitions>
  1263. <Grid Grid.Row="0">
  1264. <Grid.RowDefinitions>
  1265. <RowDefinition Height="1*"/>
  1266. <RowDefinition Height="1*"/>
  1267. <RowDefinition Height="4"/>
  1268. </Grid.RowDefinitions>
  1269. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1270. <Grid Grid.Row="1" Margin="0" Height="28" >
  1271. <Grid.ColumnDefinitions>
  1272. <ColumnDefinition Width="80"/>
  1273. <ColumnDefinition Width="80"/>
  1274. <ColumnDefinition Width="92"/>
  1275. <ColumnDefinition Width="1*"/>
  1276. </Grid.ColumnDefinitions>
  1277. <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"/>
  1278. <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"/>
  1279. <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"/>
  1280. </Grid>
  1281. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1282. </Grid>
  1283. <Grid Grid.Row="1">
  1284. <Grid.RowDefinitions>
  1285. <RowDefinition Height="1*"/>
  1286. <RowDefinition Height="1*"/>
  1287. <RowDefinition Height="4"/>
  1288. </Grid.RowDefinitions>
  1289. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1290. <Grid Grid.Row="1" Height="28">
  1291. <Grid.ColumnDefinitions>
  1292. <ColumnDefinition Width="70"/>
  1293. <ColumnDefinition Width="70"/>
  1294. <ColumnDefinition Width="4*"/>
  1295. </Grid.ColumnDefinitions>
  1296. <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"/>
  1297. <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"/>
  1298. </Grid>
  1299. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1300. </Grid>
  1301. <Grid Grid.Row="2" >
  1302. <Grid.RowDefinitions>
  1303. <RowDefinition Height="1*"/>
  1304. <RowDefinition Height="1*"/>
  1305. <RowDefinition Height="4"/>
  1306. </Grid.RowDefinitions>
  1307. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1308. <Grid Grid.Row="1" Height="28">
  1309. <Grid.ColumnDefinitions>
  1310. <ColumnDefinition Width="80"/>
  1311. <ColumnDefinition Width="80"/>
  1312. <ColumnDefinition Width="80"/>
  1313. <ColumnDefinition Width="1*"/>
  1314. </Grid.ColumnDefinitions>
  1315. <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"/>
  1316. <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"/>
  1317. <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"/>
  1318. </Grid>
  1319. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1320. </Grid>
  1321. <Grid Grid.Row="3" >
  1322. <Grid.RowDefinitions>
  1323. <RowDefinition Height="1*"/>
  1324. <RowDefinition Height="1.5*"/>
  1325. <RowDefinition Height="4"/>
  1326. </Grid.RowDefinitions>
  1327. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1328. <Grid Grid.Row="1" >
  1329. <Grid.ColumnDefinitions>
  1330. <ColumnDefinition/>
  1331. <ColumnDefinition/>
  1332. </Grid.ColumnDefinitions>
  1333. <Grid.RowDefinitions>
  1334. <RowDefinition Height="4*"/>
  1335. <RowDefinition Height="6*"/>
  1336. </Grid.RowDefinitions>
  1337. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1338. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1339. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[0]}"/>
  1340. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[0]}"/>
  1341. <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">
  1342. <ComboBox.ItemTemplate>
  1343. <DataTemplate>
  1344. <Grid Margin="2,0">
  1345. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1346. </Grid>
  1347. </DataTemplate>
  1348. </ComboBox.ItemTemplate>
  1349. <i:Interaction.Triggers>
  1350. <i:EventTrigger EventName="SelectionChanged">
  1351. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1352. </i:EventTrigger>
  1353. </i:Interaction.Triggers>
  1354. </ComboBox>
  1355. </Grid>
  1356. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1357. </Grid>
  1358. </Grid>
  1359. </TabItem>
  1360. <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]}">
  1361. <Grid x:Name="Door_1F_B" Grid.Row="1" Margin="0,6,0,0">
  1362. <Grid.RowDefinitions>
  1363. <RowDefinition Height="72"/>
  1364. <RowDefinition Height="72"/>
  1365. <RowDefinition Height="72"/>
  1366. <RowDefinition Height="82"/>
  1367. </Grid.RowDefinitions>
  1368. <Grid Grid.Row="0" >
  1369. <Grid.RowDefinitions>
  1370. <RowDefinition Height="1*"/>
  1371. <RowDefinition Height="1*"/>
  1372. <RowDefinition Height="4"/>
  1373. </Grid.RowDefinitions>
  1374. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1375. <Grid Grid.Row="1" Margin="0" Height="28" >
  1376. <Grid.ColumnDefinitions>
  1377. <ColumnDefinition Width="80"/>
  1378. <ColumnDefinition Width="80"/>
  1379. <ColumnDefinition Width="92"/>
  1380. <ColumnDefinition Width="1*"/>
  1381. </Grid.ColumnDefinitions>
  1382. <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"/>
  1383. <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"/>
  1384. <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"/>
  1385. </Grid>
  1386. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1387. </Grid>
  1388. <Grid Grid.Row="1" >
  1389. <Grid.RowDefinitions>
  1390. <RowDefinition Height="1*"/>
  1391. <RowDefinition Height="1*"/>
  1392. <RowDefinition Height="4"/>
  1393. </Grid.RowDefinitions>
  1394. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1395. <Grid Grid.Row="1" Height="28">
  1396. <Grid.ColumnDefinitions>
  1397. <ColumnDefinition Width="70"/>
  1398. <ColumnDefinition Width="70"/>
  1399. <ColumnDefinition Width="4*"/>
  1400. </Grid.ColumnDefinitions>
  1401. <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"/>
  1402. <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"/>
  1403. </Grid>
  1404. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1405. </Grid>
  1406. <Grid Grid.Row="2" >
  1407. <Grid.RowDefinitions>
  1408. <RowDefinition Height="1*"/>
  1409. <RowDefinition Height="1*"/>
  1410. <RowDefinition Height="4"/>
  1411. </Grid.RowDefinitions>
  1412. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1413. <Grid Grid.Row="1" Height="28">
  1414. <Grid.ColumnDefinitions>
  1415. <ColumnDefinition Width="80"/>
  1416. <ColumnDefinition Width="80"/>
  1417. <ColumnDefinition Width="80"/>
  1418. <ColumnDefinition Width="1*"/>
  1419. </Grid.ColumnDefinitions>
  1420. <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"/>
  1421. <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"/>
  1422. <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"/>
  1423. </Grid>
  1424. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1425. </Grid>
  1426. <Grid Grid.Row="3" >
  1427. <Grid.RowDefinitions>
  1428. <RowDefinition Height="1*"/>
  1429. <RowDefinition Height="1.5*"/>
  1430. <RowDefinition Height="4"/>
  1431. </Grid.RowDefinitions>
  1432. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1433. <Grid Grid.Row="1" >
  1434. <Grid.ColumnDefinitions>
  1435. <ColumnDefinition/>
  1436. <ColumnDefinition/>
  1437. </Grid.ColumnDefinitions>
  1438. <Grid.RowDefinitions>
  1439. <RowDefinition Height="4*"/>
  1440. <RowDefinition Height="6*"/>
  1441. </Grid.RowDefinitions>
  1442. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1443. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1444. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[0]}"/>
  1445. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[0]}"/>
  1446. <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">
  1447. <ComboBox.ItemTemplate>
  1448. <DataTemplate>
  1449. <Grid Margin="2,0">
  1450. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1451. </Grid>
  1452. </DataTemplate>
  1453. </ComboBox.ItemTemplate>
  1454. <i:Interaction.Triggers>
  1455. <i:EventTrigger EventName="SelectionChanged">
  1456. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1457. </i:EventTrigger>
  1458. </i:Interaction.Triggers>
  1459. </ComboBox>
  1460. </Grid>
  1461. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1462. </Grid>
  1463. </Grid>
  1464. </TabItem>
  1465. <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]}">
  1466. <Grid x:Name="Door_1F_C" Grid.Row="1" Margin="0,6,0,0" >
  1467. <Grid.RowDefinitions>
  1468. <RowDefinition Height="72"/>
  1469. <RowDefinition Height="72"/>
  1470. <RowDefinition Height="72"/>
  1471. <RowDefinition Height="82"/>
  1472. </Grid.RowDefinitions>
  1473. <Grid Grid.Row="0" >
  1474. <Grid.RowDefinitions>
  1475. <RowDefinition Height="1*"/>
  1476. <RowDefinition Height="1*"/>
  1477. <RowDefinition Height="4"/>
  1478. </Grid.RowDefinitions>
  1479. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1480. <Grid Grid.Row="1" Margin="0" Height="28" >
  1481. <Grid.ColumnDefinitions>
  1482. <ColumnDefinition Width="80"/>
  1483. <ColumnDefinition Width="80"/>
  1484. <ColumnDefinition Width="92"/>
  1485. <ColumnDefinition Width="1*"/>
  1486. </Grid.ColumnDefinitions>
  1487. <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"/>
  1488. <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"/>
  1489. <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"/>
  1490. </Grid>
  1491. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1492. </Grid>
  1493. <Grid Grid.Row="1" >
  1494. <Grid.RowDefinitions>
  1495. <RowDefinition Height="1*"/>
  1496. <RowDefinition Height="1*"/>
  1497. <RowDefinition Height="4"/>
  1498. </Grid.RowDefinitions>
  1499. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1500. <Grid Grid.Row="1" Height="28">
  1501. <Grid.ColumnDefinitions>
  1502. <ColumnDefinition Width="70"/>
  1503. <ColumnDefinition Width="70"/>
  1504. <ColumnDefinition Width="4*"/>
  1505. </Grid.ColumnDefinitions>
  1506. <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"/>
  1507. <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"/>
  1508. </Grid>
  1509. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1510. </Grid>
  1511. <Grid Grid.Row="2" >
  1512. <Grid.RowDefinitions>
  1513. <RowDefinition Height="1*"/>
  1514. <RowDefinition Height="1*"/>
  1515. <RowDefinition Height="4"/>
  1516. </Grid.RowDefinitions>
  1517. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1518. <Grid Grid.Row="1" Height="28">
  1519. <Grid.ColumnDefinitions>
  1520. <ColumnDefinition Width="80"/>
  1521. <ColumnDefinition Width="80"/>
  1522. <ColumnDefinition Width="80"/>
  1523. <ColumnDefinition Width="1*"/>
  1524. </Grid.ColumnDefinitions>
  1525. <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"/>
  1526. <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"/>
  1527. <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"/>
  1528. </Grid>
  1529. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1530. </Grid>
  1531. <Grid Grid.Row="3" >
  1532. <Grid.RowDefinitions>
  1533. <RowDefinition Height="1*"/>
  1534. <RowDefinition Height="1.5*"/>
  1535. <RowDefinition Height="4"/>
  1536. </Grid.RowDefinitions>
  1537. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1538. <Grid Grid.Row="1" >
  1539. <Grid.ColumnDefinitions>
  1540. <ColumnDefinition/>
  1541. <ColumnDefinition/>
  1542. </Grid.ColumnDefinitions>
  1543. <Grid.RowDefinitions>
  1544. <RowDefinition Height="4*"/>
  1545. <RowDefinition Height="6*"/>
  1546. </Grid.RowDefinitions>
  1547. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1548. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[0]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1549. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[0]}" />
  1550. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[0]}" />
  1551. <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">
  1552. <ComboBox.ItemTemplate>
  1553. <DataTemplate>
  1554. <Grid Margin="2,0">
  1555. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1556. </Grid>
  1557. </DataTemplate>
  1558. </ComboBox.ItemTemplate>
  1559. <i:Interaction.Triggers>
  1560. <i:EventTrigger EventName="SelectionChanged">
  1561. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1562. </i:EventTrigger>
  1563. </i:Interaction.Triggers>
  1564. </ComboBox>
  1565. </Grid>
  1566. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1567. </Grid>
  1568. </Grid>
  1569. </TabItem>
  1570. </TabControl>
  1571. </Grid>
  1572. <Grid x:Name="door_2F" Grid.Row="2" Visibility="{Binding Door_2F_Vis}" Margin="0,48,0,0" Background="Black">
  1573. <Grid.RowDefinitions>
  1574. <RowDefinition/>
  1575. <RowDefinition Height="302"/>
  1576. <RowDefinition Height="0"/>
  1577. </Grid.RowDefinitions>
  1578. <Grid Grid.Row="0">
  1579. <Grid.RowDefinitions>
  1580. <RowDefinition Height="9*"/>
  1581. <RowDefinition Height="1*"/>
  1582. <RowDefinition Height="2*"/>
  1583. </Grid.RowDefinitions>
  1584. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  1585. <Grid.RowDefinitions>
  1586. <RowDefinition Height="34*"/>
  1587. <RowDefinition Height="69*"/>
  1588. <RowDefinition Height="80*"/>
  1589. <RowDefinition Height="74*"/>
  1590. </Grid.RowDefinitions>
  1591. <Grid.ColumnDefinitions>
  1592. <ColumnDefinition Width="94*"/>
  1593. <ColumnDefinition Width="72*"/>
  1594. <ColumnDefinition Width="92*"/>
  1595. <ColumnDefinition Width="72*"/>
  1596. <ColumnDefinition Width="94*"/>
  1597. </Grid.ColumnDefinitions>
  1598. <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" >
  1599. <Grid>
  1600. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1601. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1602. </Grid>
  1603. </Button>
  1604. <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" >
  1605. <Grid>
  1606. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1607. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1608. </Grid>
  1609. </Button>
  1610. <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" >
  1611. <Grid>
  1612. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1613. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  1614. </Grid>
  1615. </Button>
  1616. </Grid>
  1617. <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"/>
  1618. <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"/>
  1619. <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"/>
  1620. <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"/>
  1621. <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"/>
  1622. <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"/>
  1623. <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"/>
  1624. <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"/>
  1625. <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"/>
  1626. <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"/>
  1627. <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"/>
  1628. <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"/>
  1629. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  1630. <!--<Rectangle Grid.Row="1" Height="2" Fill="#272727" Margin="32,0"/>
  1631. <Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[1]}" >
  1632. <Grid.ColumnDefinitions>
  1633. <ColumnDefinition/>
  1634. <ColumnDefinition/>
  1635. <ColumnDefinition/>
  1636. <ColumnDefinition/>
  1637. <ColumnDefinition Width="7*"/>
  1638. </Grid.ColumnDefinitions>
  1639. <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Content="A" Command="{Binding set_door_page}" CommandParameter="A"/>
  1640. <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Content="B" Command="{Binding set_door_page}" CommandParameter="B"/>
  1641. <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Content="C" Command="{Binding set_door_page}" CommandParameter="C"/>
  1642. </Grid>-->
  1643. </Grid>
  1644. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[1]}"/>
  1645. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[1]}" Panel.ZIndex="1"/>-->
  1646. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[1]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  1647. <TabControl.Resources>
  1648. <Style TargetType="{x:Type TabPanel}">
  1649. <Setter Property="HorizontalAlignment" Value="Left"/>
  1650. </Style>
  1651. </TabControl.Resources>
  1652. <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]}" >
  1653. <Grid x:Name="Door_2F_A" Grid.Row="1" Margin="0,6,0,0" >
  1654. <Grid.RowDefinitions>
  1655. <RowDefinition Height="72"/>
  1656. <RowDefinition Height="72"/>
  1657. <RowDefinition Height="72"/>
  1658. <RowDefinition Height="82"/>
  1659. </Grid.RowDefinitions>
  1660. <Grid Grid.Row="0" >
  1661. <Grid.RowDefinitions>
  1662. <RowDefinition Height="1*"/>
  1663. <RowDefinition Height="1*"/>
  1664. <RowDefinition Height="4"/>
  1665. </Grid.RowDefinitions>
  1666. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1667. <Grid Grid.Row="1" Margin="0" Height="28" >
  1668. <Grid.ColumnDefinitions>
  1669. <ColumnDefinition Width="80"/>
  1670. <ColumnDefinition Width="80"/>
  1671. <ColumnDefinition Width="92"/>
  1672. <ColumnDefinition Width="1*"/>
  1673. </Grid.ColumnDefinitions>
  1674. <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"/>
  1675. <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"/>
  1676. <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"/>
  1677. </Grid>
  1678. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1679. </Grid>
  1680. <Grid Grid.Row="1" >
  1681. <Grid.RowDefinitions>
  1682. <RowDefinition Height="1*"/>
  1683. <RowDefinition Height="1*"/>
  1684. <RowDefinition Height="4"/>
  1685. </Grid.RowDefinitions>
  1686. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1687. <Grid Grid.Row="1" Height="28">
  1688. <Grid.ColumnDefinitions>
  1689. <ColumnDefinition Width="70"/>
  1690. <ColumnDefinition Width="70"/>
  1691. <ColumnDefinition Width="4*"/>
  1692. </Grid.ColumnDefinitions>
  1693. <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"/>
  1694. <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"/>
  1695. </Grid>
  1696. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1697. </Grid>
  1698. <Grid Grid.Row="2" >
  1699. <Grid.RowDefinitions>
  1700. <RowDefinition Height="1*"/>
  1701. <RowDefinition Height="1*"/>
  1702. <RowDefinition Height="4"/>
  1703. </Grid.RowDefinitions>
  1704. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1705. <Grid Grid.Row="1" Height="28">
  1706. <Grid.ColumnDefinitions>
  1707. <ColumnDefinition Width="80"/>
  1708. <ColumnDefinition Width="80"/>
  1709. <ColumnDefinition Width="80"/>
  1710. <ColumnDefinition Width="1*"/>
  1711. </Grid.ColumnDefinitions>
  1712. <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"/>
  1713. <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"/>
  1714. <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"/>
  1715. </Grid>
  1716. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1717. </Grid>
  1718. <Grid Grid.Row="3" >
  1719. <Grid.RowDefinitions>
  1720. <RowDefinition Height="1*"/>
  1721. <RowDefinition Height="1.5*"/>
  1722. <RowDefinition Height="4"/>
  1723. </Grid.RowDefinitions>
  1724. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1725. <Grid Grid.Row="1" >
  1726. <Grid.ColumnDefinitions>
  1727. <ColumnDefinition/>
  1728. <ColumnDefinition/>
  1729. </Grid.ColumnDefinitions>
  1730. <Grid.RowDefinitions>
  1731. <RowDefinition Height="4*"/>
  1732. <RowDefinition Height="6*"/>
  1733. </Grid.RowDefinitions>
  1734. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1735. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1736. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[1]}"/>
  1737. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[1]}" />
  1738. <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">
  1739. <ComboBox.ItemTemplate>
  1740. <DataTemplate>
  1741. <Grid Margin="2,0">
  1742. <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1743. </Grid>
  1744. </DataTemplate>
  1745. </ComboBox.ItemTemplate>
  1746. <i:Interaction.Triggers>
  1747. <i:EventTrigger EventName="SelectionChanged">
  1748. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1749. </i:EventTrigger>
  1750. </i:Interaction.Triggers>
  1751. </ComboBox>
  1752. </Grid>
  1753. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1754. </Grid>
  1755. </Grid>
  1756. </TabItem>
  1757. <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]}">
  1758. <Grid x:Name="Door_2F_B" Grid.Row="1" Margin="0,6,0,0">
  1759. <Grid.RowDefinitions>
  1760. <RowDefinition Height="72"/>
  1761. <RowDefinition Height="72"/>
  1762. <RowDefinition Height="72"/>
  1763. <RowDefinition Height="82"/>
  1764. </Grid.RowDefinitions>
  1765. <Grid Grid.Row="0" >
  1766. <Grid.RowDefinitions>
  1767. <RowDefinition Height="1*"/>
  1768. <RowDefinition Height="1*"/>
  1769. <RowDefinition Height="4"/>
  1770. </Grid.RowDefinitions>
  1771. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1772. <Grid Grid.Row="1" Margin="0" Height="28" >
  1773. <Grid.ColumnDefinitions>
  1774. <ColumnDefinition Width="80"/>
  1775. <ColumnDefinition Width="80"/>
  1776. <ColumnDefinition Width="92"/>
  1777. <ColumnDefinition Width="1*"/>
  1778. </Grid.ColumnDefinitions>
  1779. <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"/>
  1780. <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"/>
  1781. <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"/>
  1782. </Grid>
  1783. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1784. </Grid>
  1785. <Grid Grid.Row="1" >
  1786. <Grid.RowDefinitions>
  1787. <RowDefinition Height="1*"/>
  1788. <RowDefinition Height="1*"/>
  1789. <RowDefinition Height="4"/>
  1790. </Grid.RowDefinitions>
  1791. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1792. <Grid Grid.Row="1" Height="28">
  1793. <Grid.ColumnDefinitions>
  1794. <ColumnDefinition Width="70"/>
  1795. <ColumnDefinition Width="70"/>
  1796. <ColumnDefinition Width="4*"/>
  1797. </Grid.ColumnDefinitions>
  1798. <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"/>
  1799. <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"/>
  1800. </Grid>
  1801. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1802. </Grid>
  1803. <Grid Grid.Row="2" >
  1804. <Grid.RowDefinitions>
  1805. <RowDefinition Height="1*"/>
  1806. <RowDefinition Height="1*"/>
  1807. <RowDefinition Height="4"/>
  1808. </Grid.RowDefinitions>
  1809. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1810. <Grid Grid.Row="1" Height="28">
  1811. <Grid.ColumnDefinitions>
  1812. <ColumnDefinition Width="80"/>
  1813. <ColumnDefinition Width="80"/>
  1814. <ColumnDefinition Width="80"/>
  1815. <ColumnDefinition Width="1*"/>
  1816. </Grid.ColumnDefinitions>
  1817. <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"/>
  1818. <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"/>
  1819. <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"/>
  1820. </Grid>
  1821. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1822. </Grid>
  1823. <Grid Grid.Row="3" >
  1824. <Grid.RowDefinitions>
  1825. <RowDefinition Height="1*"/>
  1826. <RowDefinition Height="1.5*"/>
  1827. <RowDefinition Height="4"/>
  1828. </Grid.RowDefinitions>
  1829. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1830. <Grid Grid.Row="1" >
  1831. <Grid.ColumnDefinitions>
  1832. <ColumnDefinition/>
  1833. <ColumnDefinition/>
  1834. </Grid.ColumnDefinitions>
  1835. <Grid.RowDefinitions>
  1836. <RowDefinition Height="4*"/>
  1837. <RowDefinition Height="6*"/>
  1838. </Grid.RowDefinitions>
  1839. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1840. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1841. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[1]}"/>
  1842. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[1]}"/>
  1843. <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">
  1844. <ComboBox.ItemTemplate>
  1845. <DataTemplate>
  1846. <Grid Margin="2,0">
  1847. <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1848. </Grid>
  1849. </DataTemplate>
  1850. </ComboBox.ItemTemplate>
  1851. <i:Interaction.Triggers>
  1852. <i:EventTrigger EventName="SelectionChanged">
  1853. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1854. </i:EventTrigger>
  1855. </i:Interaction.Triggers>
  1856. </ComboBox>
  1857. </Grid>
  1858. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1859. </Grid>
  1860. </Grid>
  1861. </TabItem>
  1862. <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]}">
  1863. <Grid x:Name="Door_2F_C" Grid.Row="1" Margin="0,6,0,0" >
  1864. <Grid.RowDefinitions>
  1865. <RowDefinition Height="72"/>
  1866. <RowDefinition Height="72"/>
  1867. <RowDefinition Height="72"/>
  1868. <RowDefinition Height="82"/>
  1869. </Grid.RowDefinitions>
  1870. <Grid Grid.Row="0" >
  1871. <Grid.RowDefinitions>
  1872. <RowDefinition Height="1*"/>
  1873. <RowDefinition Height="1*"/>
  1874. <RowDefinition Height="4"/>
  1875. </Grid.RowDefinitions>
  1876. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1877. <Grid Grid.Row="1" Margin="0" Height="28" >
  1878. <Grid.ColumnDefinitions>
  1879. <ColumnDefinition Width="80"/>
  1880. <ColumnDefinition Width="80"/>
  1881. <ColumnDefinition Width="92"/>
  1882. <ColumnDefinition Width="1*"/>
  1883. </Grid.ColumnDefinitions>
  1884. <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"/>
  1885. <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"/>
  1886. <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"/>
  1887. </Grid>
  1888. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1889. </Grid>
  1890. <Grid Grid.Row="1" >
  1891. <Grid.RowDefinitions>
  1892. <RowDefinition Height="1*"/>
  1893. <RowDefinition Height="1*"/>
  1894. <RowDefinition Height="4"/>
  1895. </Grid.RowDefinitions>
  1896. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1897. <Grid Grid.Row="1" Height="28">
  1898. <Grid.ColumnDefinitions>
  1899. <ColumnDefinition Width="70"/>
  1900. <ColumnDefinition Width="70"/>
  1901. <ColumnDefinition Width="4*"/>
  1902. </Grid.ColumnDefinitions>
  1903. <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"/>
  1904. <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"/>
  1905. </Grid>
  1906. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1907. </Grid>
  1908. <Grid Grid.Row="2" >
  1909. <Grid.RowDefinitions>
  1910. <RowDefinition Height="1*"/>
  1911. <RowDefinition Height="1*"/>
  1912. <RowDefinition Height="4"/>
  1913. </Grid.RowDefinitions>
  1914. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1915. <Grid Grid.Row="1" Height="28">
  1916. <Grid.ColumnDefinitions>
  1917. <ColumnDefinition Width="80"/>
  1918. <ColumnDefinition Width="80"/>
  1919. <ColumnDefinition Width="80"/>
  1920. <ColumnDefinition Width="1*"/>
  1921. </Grid.ColumnDefinitions>
  1922. <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"/>
  1923. <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"/>
  1924. <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"/>
  1925. </Grid>
  1926. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1927. </Grid>
  1928. <Grid Grid.Row="3">
  1929. <Grid.RowDefinitions>
  1930. <RowDefinition Height="1*"/>
  1931. <RowDefinition Height="1.5*"/>
  1932. <RowDefinition Height="4"/>
  1933. </Grid.RowDefinitions>
  1934. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  1935. <Grid Grid.Row="1" >
  1936. <Grid.ColumnDefinitions>
  1937. <ColumnDefinition/>
  1938. <ColumnDefinition/>
  1939. </Grid.ColumnDefinitions>
  1940. <Grid.RowDefinitions>
  1941. <RowDefinition Height="4*"/>
  1942. <RowDefinition Height="6*"/>
  1943. </Grid.RowDefinitions>
  1944. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1945. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[1]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  1946. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[1]}"/>
  1947. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[1]}" />
  1948. <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">
  1949. <ComboBox.ItemTemplate>
  1950. <DataTemplate>
  1951. <Grid Margin="2,0">
  1952. <TextBlock Text="{Binding value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  1953. </Grid>
  1954. </DataTemplate>
  1955. </ComboBox.ItemTemplate>
  1956. <i:Interaction.Triggers>
  1957. <i:EventTrigger EventName="SelectionChanged">
  1958. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  1959. </i:EventTrigger>
  1960. </i:Interaction.Triggers>
  1961. </ComboBox>
  1962. </Grid>
  1963. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  1964. </Grid>
  1965. </Grid>
  1966. </TabItem>
  1967. </TabControl>
  1968. </Grid>
  1969. <Grid x:Name="door_3F" Grid.Row="2" Visibility="{Binding Door_3F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
  1970. <Grid.RowDefinitions>
  1971. <RowDefinition/>
  1972. <RowDefinition Height="302"/>
  1973. <RowDefinition Height="0"/>
  1974. </Grid.RowDefinitions>
  1975. <Grid Grid.Row="0">
  1976. <Grid.RowDefinitions>
  1977. <RowDefinition Height="9*"/>
  1978. <RowDefinition Height="1*"/>
  1979. <RowDefinition Height="2*"/>
  1980. </Grid.RowDefinitions>
  1981. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  1982. <Grid.RowDefinitions>
  1983. <RowDefinition Height="34*"/>
  1984. <RowDefinition Height="69*"/>
  1985. <RowDefinition Height="80*"/>
  1986. <RowDefinition Height="74*"/>
  1987. </Grid.RowDefinitions>
  1988. <Grid.ColumnDefinitions>
  1989. <ColumnDefinition Width="94*"/>
  1990. <ColumnDefinition Width="72*"/>
  1991. <ColumnDefinition Width="92*"/>
  1992. <ColumnDefinition Width="72*"/>
  1993. <ColumnDefinition Width="94*"/>
  1994. </Grid.ColumnDefinitions>
  1995. <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" >
  1996. <Button.Content>
  1997. <Grid>
  1998. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  1999. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2000. </Grid>
  2001. </Button.Content>
  2002. </Button>
  2003. <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" >
  2004. <Button.Content>
  2005. <Grid>
  2006. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2007. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2008. </Grid>
  2009. </Button.Content>
  2010. </Button>
  2011. <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" >
  2012. <Button.Content>
  2013. <Grid>
  2014. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2015. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2016. </Grid>
  2017. </Button.Content>
  2018. </Button>
  2019. </Grid>
  2020. <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"/>
  2021. <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"/>
  2022. <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"/>
  2023. <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"/>
  2024. <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"/>
  2025. <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"/>
  2026. <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"/>
  2027. <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"/>
  2028. <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"/>
  2029. <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"/>
  2030. <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"/>
  2031. <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"/>
  2032. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  2033. <!--<Rectangle Grid.Row="1" Height="2" Fill="#272727" Margin="32,0"/>
  2034. <Grid Grid.Row="2" Background="#1B1B1B" Height="32" Visibility="{Binding StateModel.isThereDoors[2]}">
  2035. <Grid.ColumnDefinitions>
  2036. <ColumnDefinition/>
  2037. <ColumnDefinition/>
  2038. <ColumnDefinition/>
  2039. <ColumnDefinition/>
  2040. <ColumnDefinition Width="7*"/>
  2041. </Grid.ColumnDefinitions>
  2042. <Button Grid.Column="1" Background="{x:Null}" BorderBrush="{x:Null}" Content="A" Command="{Binding set_door_page}" CommandParameter="A"/>
  2043. <Button Grid.Column="2" Background="{x:Null}" BorderBrush="{x:Null}" Content="B" Command="{Binding set_door_page}" CommandParameter="B"/>
  2044. <Button Grid.Column="3" Background="{x:Null}" BorderBrush="{x:Null}" Content="C" Command="{Binding set_door_page}" CommandParameter="C"/>
  2045. </Grid>-->
  2046. </Grid>
  2047. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[2]}"/>
  2048. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[2]}" Panel.ZIndex="1"/>-->
  2049. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[2]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  2050. <TabControl.Resources>
  2051. <Style TargetType="{x:Type TabPanel}">
  2052. <Setter Property="HorizontalAlignment" Value="Left"/>
  2053. </Style>
  2054. </TabControl.Resources>
  2055. <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]}">
  2056. <Grid x:Name="Door_3F_A" Grid.Row="1" Margin="0,6,0,0" >
  2057. <Grid.RowDefinitions>
  2058. <RowDefinition Height="72"/>
  2059. <RowDefinition Height="72"/>
  2060. <RowDefinition Height="72"/>
  2061. <RowDefinition Height="82"/>
  2062. </Grid.RowDefinitions>
  2063. <Grid Grid.Row="0" >
  2064. <Grid.RowDefinitions>
  2065. <RowDefinition Height="1*"/>
  2066. <RowDefinition Height="1*"/>
  2067. <RowDefinition Height="4"/>
  2068. </Grid.RowDefinitions>
  2069. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2070. <Grid Grid.Row="1" Margin="0" Height="28" >
  2071. <Grid.ColumnDefinitions>
  2072. <ColumnDefinition Width="80"/>
  2073. <ColumnDefinition Width="80"/>
  2074. <ColumnDefinition Width="92"/>
  2075. <ColumnDefinition Width="1*"/>
  2076. </Grid.ColumnDefinitions>
  2077. <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"/>
  2078. <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"/>
  2079. <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"/>
  2080. </Grid>
  2081. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2082. </Grid>
  2083. <Grid Grid.Row="1" >
  2084. <Grid.RowDefinitions>
  2085. <RowDefinition Height="1*"/>
  2086. <RowDefinition Height="1*"/>
  2087. <RowDefinition Height="4"/>
  2088. </Grid.RowDefinitions>
  2089. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2090. <Grid Grid.Row="1" Height="28">
  2091. <Grid.ColumnDefinitions>
  2092. <ColumnDefinition Width="70"/>
  2093. <ColumnDefinition Width="70"/>
  2094. <ColumnDefinition Width="4*"/>
  2095. </Grid.ColumnDefinitions>
  2096. <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"/>
  2097. <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"/>
  2098. </Grid>
  2099. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2100. </Grid>
  2101. <Grid Grid.Row="2" >
  2102. <Grid.RowDefinitions>
  2103. <RowDefinition Height="1*"/>
  2104. <RowDefinition Height="1*"/>
  2105. <RowDefinition Height="4"/>
  2106. </Grid.RowDefinitions>
  2107. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2108. <Grid Grid.Row="1" Height="28">
  2109. <Grid.ColumnDefinitions>
  2110. <ColumnDefinition Width="80"/>
  2111. <ColumnDefinition Width="80"/>
  2112. <ColumnDefinition Width="80"/>
  2113. <ColumnDefinition Width="1*"/>
  2114. </Grid.ColumnDefinitions>
  2115. <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"/>
  2116. <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"/>
  2117. <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"/>
  2118. </Grid>
  2119. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2120. </Grid>
  2121. <Grid Grid.Row="3">
  2122. <Grid.RowDefinitions>
  2123. <RowDefinition Height="1*"/>
  2124. <RowDefinition Height="1.5*"/>
  2125. <RowDefinition Height="4"/>
  2126. </Grid.RowDefinitions>
  2127. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2128. <Grid Grid.Row="1" >
  2129. <Grid.ColumnDefinitions>
  2130. <ColumnDefinition/>
  2131. <ColumnDefinition/>
  2132. </Grid.ColumnDefinitions>
  2133. <Grid.RowDefinitions>
  2134. <RowDefinition Height="4*"/>
  2135. <RowDefinition Height="6*"/>
  2136. </Grid.RowDefinitions>
  2137. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2138. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2139. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[2]}"/>
  2140. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[2]}" />
  2141. <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">
  2142. <ComboBox.ItemTemplate>
  2143. <DataTemplate>
  2144. <Grid Margin="2,0">
  2145. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2146. </Grid>
  2147. </DataTemplate>
  2148. </ComboBox.ItemTemplate>
  2149. <i:Interaction.Triggers>
  2150. <i:EventTrigger EventName="SelectionChanged">
  2151. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2152. </i:EventTrigger>
  2153. </i:Interaction.Triggers>
  2154. </ComboBox>
  2155. </Grid>
  2156. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2157. </Grid>
  2158. </Grid>
  2159. </TabItem>
  2160. <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]}">
  2161. <Grid x:Name="Door_3F_B" Grid.Row="1" Margin="0,6,0,0">
  2162. <Grid.RowDefinitions>
  2163. <RowDefinition Height="72"/>
  2164. <RowDefinition Height="72"/>
  2165. <RowDefinition Height="72"/>
  2166. <RowDefinition Height="82"/>
  2167. </Grid.RowDefinitions>
  2168. <Grid Grid.Row="0" >
  2169. <Grid.RowDefinitions>
  2170. <RowDefinition Height="1*"/>
  2171. <RowDefinition Height="1*"/>
  2172. <RowDefinition Height="4"/>
  2173. </Grid.RowDefinitions>
  2174. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2175. <Grid Grid.Row="1" Margin="0" Height="28" >
  2176. <Grid.ColumnDefinitions>
  2177. <ColumnDefinition Width="80"/>
  2178. <ColumnDefinition Width="80"/>
  2179. <ColumnDefinition Width="92"/>
  2180. <ColumnDefinition Width="1*"/>
  2181. </Grid.ColumnDefinitions>
  2182. <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"/>
  2183. <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"/>
  2184. <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"/>
  2185. </Grid>
  2186. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2187. </Grid>
  2188. <Grid Grid.Row="1" >
  2189. <Grid.RowDefinitions>
  2190. <RowDefinition Height="1*"/>
  2191. <RowDefinition Height="1*"/>
  2192. <RowDefinition Height="4"/>
  2193. </Grid.RowDefinitions>
  2194. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2195. <Grid Grid.Row="1" Height="28">
  2196. <Grid.ColumnDefinitions>
  2197. <ColumnDefinition Width="70"/>
  2198. <ColumnDefinition Width="70"/>
  2199. <ColumnDefinition Width="4*"/>
  2200. </Grid.ColumnDefinitions>
  2201. <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"/>
  2202. <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"/>
  2203. </Grid>
  2204. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2205. </Grid>
  2206. <Grid Grid.Row="2" >
  2207. <Grid.RowDefinitions>
  2208. <RowDefinition Height="1*"/>
  2209. <RowDefinition Height="1*"/>
  2210. <RowDefinition Height="4"/>
  2211. </Grid.RowDefinitions>
  2212. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2213. <Grid Grid.Row="1" Height="28">
  2214. <Grid.ColumnDefinitions>
  2215. <ColumnDefinition Width="80"/>
  2216. <ColumnDefinition Width="80"/>
  2217. <ColumnDefinition Width="80"/>
  2218. <ColumnDefinition Width="1*"/>
  2219. </Grid.ColumnDefinitions>
  2220. <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"/>
  2221. <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"/>
  2222. <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"/>
  2223. </Grid>
  2224. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2225. </Grid>
  2226. <Grid Grid.Row="3">
  2227. <Grid.RowDefinitions>
  2228. <RowDefinition Height="1*"/>
  2229. <RowDefinition Height="1.5*"/>
  2230. <RowDefinition Height="4"/>
  2231. </Grid.RowDefinitions>
  2232. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2233. <Grid Grid.Row="1" >
  2234. <Grid.ColumnDefinitions>
  2235. <ColumnDefinition/>
  2236. <ColumnDefinition/>
  2237. </Grid.ColumnDefinitions>
  2238. <Grid.RowDefinitions>
  2239. <RowDefinition Height="4*"/>
  2240. <RowDefinition Height="6*"/>
  2241. </Grid.RowDefinitions>
  2242. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2243. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2244. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[2]}"/>
  2245. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[2]}"/>
  2246. <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">
  2247. <ComboBox.ItemTemplate>
  2248. <DataTemplate>
  2249. <Grid Margin="2,0">
  2250. <TextBlock Text="{Binding Value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2251. </Grid>
  2252. </DataTemplate>
  2253. </ComboBox.ItemTemplate>
  2254. <i:Interaction.Triggers>
  2255. <i:EventTrigger EventName="SelectionChanged">
  2256. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2257. </i:EventTrigger>
  2258. </i:Interaction.Triggers>
  2259. </ComboBox>
  2260. </Grid>
  2261. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2262. </Grid>
  2263. </Grid>
  2264. </TabItem>
  2265. <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]}">
  2266. <Grid x:Name="Door_3F_C" Grid.Row="1" Margin="0,6,0,0" >
  2267. <Grid.RowDefinitions>
  2268. <RowDefinition Height="72"/>
  2269. <RowDefinition Height="72"/>
  2270. <RowDefinition Height="72"/>
  2271. <RowDefinition Height="82"/>
  2272. </Grid.RowDefinitions>
  2273. <Grid Grid.Row="0" >
  2274. <Grid.RowDefinitions>
  2275. <RowDefinition Height="1*"/>
  2276. <RowDefinition Height="1*"/>
  2277. <RowDefinition Height="4"/>
  2278. </Grid.RowDefinitions>
  2279. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2280. <Grid Grid.Row="1" Margin="0" Height="28" >
  2281. <Grid.ColumnDefinitions>
  2282. <ColumnDefinition Width="80"/>
  2283. <ColumnDefinition Width="80"/>
  2284. <ColumnDefinition Width="92"/>
  2285. <ColumnDefinition Width="1*"/>
  2286. </Grid.ColumnDefinitions>
  2287. <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"/>
  2288. <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"/>
  2289. <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"/>
  2290. </Grid>
  2291. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2292. </Grid>
  2293. <Grid Grid.Row="1" >
  2294. <Grid.RowDefinitions>
  2295. <RowDefinition Height="1*"/>
  2296. <RowDefinition Height="1*"/>
  2297. <RowDefinition Height="4"/>
  2298. </Grid.RowDefinitions>
  2299. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2300. <Grid Grid.Row="1" Height="28">
  2301. <Grid.ColumnDefinitions>
  2302. <ColumnDefinition Width="70"/>
  2303. <ColumnDefinition Width="70"/>
  2304. <ColumnDefinition Width="4*"/>
  2305. </Grid.ColumnDefinitions>
  2306. <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"/>
  2307. <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"/>
  2308. </Grid>
  2309. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2310. </Grid>
  2311. <Grid Grid.Row="2" >
  2312. <Grid.RowDefinitions>
  2313. <RowDefinition Height="1*"/>
  2314. <RowDefinition Height="1*"/>
  2315. <RowDefinition Height="4"/>
  2316. </Grid.RowDefinitions>
  2317. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2318. <Grid Grid.Row="1" Height="28">
  2319. <Grid.ColumnDefinitions>
  2320. <ColumnDefinition Width="80"/>
  2321. <ColumnDefinition Width="80"/>
  2322. <ColumnDefinition Width="80"/>
  2323. <ColumnDefinition Width="1*"/>
  2324. </Grid.ColumnDefinitions>
  2325. <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"/>
  2326. <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"/>
  2327. <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"/>
  2328. </Grid>
  2329. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2330. </Grid>
  2331. <Grid Grid.Row="3">
  2332. <Grid.RowDefinitions>
  2333. <RowDefinition Height="1*"/>
  2334. <RowDefinition Height="1.5*"/>
  2335. <RowDefinition Height="4"/>
  2336. </Grid.RowDefinitions>
  2337. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2338. <Grid Grid.Row="1" >
  2339. <Grid.ColumnDefinitions>
  2340. <ColumnDefinition/>
  2341. <ColumnDefinition/>
  2342. </Grid.ColumnDefinitions>
  2343. <Grid.RowDefinitions>
  2344. <RowDefinition Height="4*"/>
  2345. <RowDefinition Height="6*"/>
  2346. </Grid.RowDefinitions>
  2347. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2348. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[2]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2349. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[2]}"/>
  2350. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[2]}" />
  2351. <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">
  2352. <ComboBox.ItemTemplate>
  2353. <DataTemplate>
  2354. <Grid Margin="2,0">
  2355. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2356. </Grid>
  2357. </DataTemplate>
  2358. </ComboBox.ItemTemplate>
  2359. <i:Interaction.Triggers>
  2360. <i:EventTrigger EventName="SelectionChanged">
  2361. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2362. </i:EventTrigger>
  2363. </i:Interaction.Triggers>
  2364. </ComboBox>
  2365. </Grid>
  2366. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2367. </Grid>
  2368. </Grid>
  2369. </TabItem>
  2370. </TabControl>
  2371. </Grid>
  2372. <Grid x:Name="door_4F" Grid.Row="2" Visibility="{Binding Door_4F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
  2373. <Grid.RowDefinitions>
  2374. <RowDefinition/>
  2375. <RowDefinition Height="302"/>
  2376. <RowDefinition Height="0"/>
  2377. </Grid.RowDefinitions>
  2378. <Grid Grid.Row="0">
  2379. <Grid.RowDefinitions>
  2380. <RowDefinition Height="9*"/>
  2381. <RowDefinition Height="1*"/>
  2382. <RowDefinition Height="2*"/>
  2383. </Grid.RowDefinitions>
  2384. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  2385. <Grid.RowDefinitions>
  2386. <RowDefinition Height="34*"/>
  2387. <RowDefinition Height="69*"/>
  2388. <RowDefinition Height="80*"/>
  2389. <RowDefinition Height="74*"/>
  2390. </Grid.RowDefinitions>
  2391. <Grid.ColumnDefinitions>
  2392. <ColumnDefinition Width="94*"/>
  2393. <ColumnDefinition Width="72*"/>
  2394. <ColumnDefinition Width="92*"/>
  2395. <ColumnDefinition Width="72*"/>
  2396. <ColumnDefinition Width="94*"/>
  2397. </Grid.ColumnDefinitions>
  2398. <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" >
  2399. <Button.Content>
  2400. <Grid>
  2401. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2402. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2403. </Grid>
  2404. </Button.Content>
  2405. </Button>
  2406. <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" >
  2407. <Button.Content>
  2408. <Grid>
  2409. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2410. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2411. </Grid>
  2412. </Button.Content>
  2413. </Button>
  2414. <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" >
  2415. <Button.Content>
  2416. <Grid>
  2417. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2418. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2419. </Grid>
  2420. </Button.Content>
  2421. </Button>
  2422. </Grid>
  2423. <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"/>
  2424. <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"/>
  2425. <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"/>
  2426. <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"/>
  2427. <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"/>
  2428. <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"/>
  2429. <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"/>
  2430. <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"/>
  2431. <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"/>
  2432. <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"/>
  2433. <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"/>
  2434. <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"/>
  2435. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  2436. </Grid>
  2437. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[3]}"/>
  2438. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[3]}" Panel.ZIndex="1"/>-->
  2439. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[3]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  2440. <TabControl.Resources>
  2441. <Style TargetType="{x:Type TabPanel}">
  2442. <Setter Property="HorizontalAlignment" Value="Left"/>
  2443. </Style>
  2444. </TabControl.Resources>
  2445. <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]}">
  2446. <Grid x:Name="Door_4F_A" Grid.Row="1" Margin="0,6,0,0" >
  2447. <Grid.RowDefinitions>
  2448. <RowDefinition Height="72"/>
  2449. <RowDefinition Height="72"/>
  2450. <RowDefinition Height="72"/>
  2451. <RowDefinition Height="82"/>
  2452. </Grid.RowDefinitions>
  2453. <Grid Grid.Row="0" >
  2454. <Grid.RowDefinitions>
  2455. <RowDefinition Height="1*"/>
  2456. <RowDefinition Height="1*"/>
  2457. <RowDefinition Height="4"/>
  2458. </Grid.RowDefinitions>
  2459. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2460. <Grid Grid.Row="1" Margin="0" Height="28" >
  2461. <Grid.ColumnDefinitions>
  2462. <ColumnDefinition Width="80"/>
  2463. <ColumnDefinition Width="80"/>
  2464. <ColumnDefinition Width="92"/>
  2465. <ColumnDefinition Width="1*"/>
  2466. </Grid.ColumnDefinitions>
  2467. <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"/>
  2468. <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"/>
  2469. <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"/>
  2470. </Grid>
  2471. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2472. </Grid>
  2473. <Grid Grid.Row="1" >
  2474. <Grid.RowDefinitions>
  2475. <RowDefinition Height="1*"/>
  2476. <RowDefinition Height="1*"/>
  2477. <RowDefinition Height="4"/>
  2478. </Grid.RowDefinitions>
  2479. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2480. <Grid Grid.Row="1" Height="28">
  2481. <Grid.ColumnDefinitions>
  2482. <ColumnDefinition Width="70"/>
  2483. <ColumnDefinition Width="70"/>
  2484. <ColumnDefinition Width="4*"/>
  2485. </Grid.ColumnDefinitions>
  2486. <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"/>
  2487. <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"/>
  2488. </Grid>
  2489. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2490. </Grid>
  2491. <Grid Grid.Row="2" >
  2492. <Grid.RowDefinitions>
  2493. <RowDefinition Height="1*"/>
  2494. <RowDefinition Height="1*"/>
  2495. <RowDefinition Height="4"/>
  2496. </Grid.RowDefinitions>
  2497. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2498. <Grid Grid.Row="1" Height="28">
  2499. <Grid.ColumnDefinitions>
  2500. <ColumnDefinition Width="80"/>
  2501. <ColumnDefinition Width="80"/>
  2502. <ColumnDefinition Width="80"/>
  2503. <ColumnDefinition Width="1*"/>
  2504. </Grid.ColumnDefinitions>
  2505. <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"/>
  2506. <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"/>
  2507. <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"/>
  2508. </Grid>
  2509. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2510. </Grid>
  2511. <Grid Grid.Row="3">
  2512. <Grid.RowDefinitions>
  2513. <RowDefinition Height="1*"/>
  2514. <RowDefinition Height="1.5*"/>
  2515. <RowDefinition Height="4"/>
  2516. </Grid.RowDefinitions>
  2517. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2518. <Grid Grid.Row="1" >
  2519. <Grid.ColumnDefinitions>
  2520. <ColumnDefinition/>
  2521. <ColumnDefinition/>
  2522. </Grid.ColumnDefinitions>
  2523. <Grid.RowDefinitions>
  2524. <RowDefinition Height="4*"/>
  2525. <RowDefinition Height="6*"/>
  2526. </Grid.RowDefinitions>
  2527. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2528. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2529. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[3]}"/>
  2530. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[3]}" />
  2531. <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">
  2532. <ComboBox.ItemTemplate>
  2533. <DataTemplate>
  2534. <Grid Margin="2,0">
  2535. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2536. </Grid>
  2537. </DataTemplate>
  2538. </ComboBox.ItemTemplate>
  2539. <i:Interaction.Triggers>
  2540. <i:EventTrigger EventName="SelectionChanged">
  2541. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2542. </i:EventTrigger>
  2543. </i:Interaction.Triggers>
  2544. </ComboBox>
  2545. </Grid>
  2546. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2547. </Grid>
  2548. </Grid>
  2549. </TabItem>
  2550. <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]}">
  2551. <Grid x:Name="Door_4F_B" Grid.Row="1" Margin="0,6,0,0">
  2552. <Grid.RowDefinitions>
  2553. <RowDefinition Height="72"/>
  2554. <RowDefinition Height="72"/>
  2555. <RowDefinition Height="72"/>
  2556. <RowDefinition Height="82"/>
  2557. </Grid.RowDefinitions>
  2558. <Grid Grid.Row="0" >
  2559. <Grid.RowDefinitions>
  2560. <RowDefinition Height="1*"/>
  2561. <RowDefinition Height="1*"/>
  2562. <RowDefinition Height="4"/>
  2563. </Grid.RowDefinitions>
  2564. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2565. <Grid Grid.Row="1" Margin="0" Height="28" >
  2566. <Grid.ColumnDefinitions>
  2567. <ColumnDefinition Width="80"/>
  2568. <ColumnDefinition Width="80"/>
  2569. <ColumnDefinition Width="92"/>
  2570. <ColumnDefinition Width="1*"/>
  2571. </Grid.ColumnDefinitions>
  2572. <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"/>
  2573. <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"/>
  2574. <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"/>
  2575. </Grid>
  2576. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2577. </Grid>
  2578. <Grid Grid.Row="1" >
  2579. <Grid.RowDefinitions>
  2580. <RowDefinition Height="1*"/>
  2581. <RowDefinition Height="1*"/>
  2582. <RowDefinition Height="4"/>
  2583. </Grid.RowDefinitions>
  2584. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2585. <Grid Grid.Row="1" Height="28">
  2586. <Grid.ColumnDefinitions>
  2587. <ColumnDefinition Width="70"/>
  2588. <ColumnDefinition Width="70"/>
  2589. <ColumnDefinition Width="4*"/>
  2590. </Grid.ColumnDefinitions>
  2591. <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"/>
  2592. <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"/>
  2593. </Grid>
  2594. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2595. </Grid>
  2596. <Grid Grid.Row="2" >
  2597. <Grid.RowDefinitions>
  2598. <RowDefinition Height="1*"/>
  2599. <RowDefinition Height="1*"/>
  2600. <RowDefinition Height="4"/>
  2601. </Grid.RowDefinitions>
  2602. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2603. <Grid Grid.Row="1" Height="28">
  2604. <Grid.ColumnDefinitions>
  2605. <ColumnDefinition Width="80"/>
  2606. <ColumnDefinition Width="80"/>
  2607. <ColumnDefinition Width="80"/>
  2608. <ColumnDefinition Width="1*"/>
  2609. </Grid.ColumnDefinitions>
  2610. <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"/>
  2611. <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"/>
  2612. <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"/>
  2613. </Grid>
  2614. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2615. </Grid>
  2616. <Grid Grid.Row="3">
  2617. <Grid.RowDefinitions>
  2618. <RowDefinition Height="1*"/>
  2619. <RowDefinition Height="1.5*"/>
  2620. <RowDefinition Height="4"/>
  2621. </Grid.RowDefinitions>
  2622. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2623. <Grid Grid.Row="1" >
  2624. <Grid.ColumnDefinitions>
  2625. <ColumnDefinition/>
  2626. <ColumnDefinition/>
  2627. </Grid.ColumnDefinitions>
  2628. <Grid.RowDefinitions>
  2629. <RowDefinition Height="4*"/>
  2630. <RowDefinition Height="6*"/>
  2631. </Grid.RowDefinitions>
  2632. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2633. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2634. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[3]}"/>
  2635. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[3]}"/>
  2636. <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">
  2637. <ComboBox.ItemTemplate>
  2638. <DataTemplate>
  2639. <Grid Margin="2,0">
  2640. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2641. </Grid>
  2642. </DataTemplate>
  2643. </ComboBox.ItemTemplate>
  2644. <i:Interaction.Triggers>
  2645. <i:EventTrigger EventName="SelectionChanged">
  2646. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2647. </i:EventTrigger>
  2648. </i:Interaction.Triggers>
  2649. </ComboBox>
  2650. </Grid>
  2651. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2652. </Grid>
  2653. </Grid>
  2654. </TabItem>
  2655. <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]}">
  2656. <Grid x:Name="Door_4F_C" Grid.Row="1" Margin="0,6,0,0" >
  2657. <Grid.RowDefinitions>
  2658. <RowDefinition Height="72"/>
  2659. <RowDefinition Height="72"/>
  2660. <RowDefinition Height="72"/>
  2661. <RowDefinition Height="82"/>
  2662. </Grid.RowDefinitions>
  2663. <Grid Grid.Row="0" >
  2664. <Grid.RowDefinitions>
  2665. <RowDefinition Height="1*"/>
  2666. <RowDefinition Height="1*"/>
  2667. <RowDefinition Height="4"/>
  2668. </Grid.RowDefinitions>
  2669. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2670. <Grid Grid.Row="1" Margin="0" Height="28" >
  2671. <Grid.ColumnDefinitions>
  2672. <ColumnDefinition Width="80"/>
  2673. <ColumnDefinition Width="80"/>
  2674. <ColumnDefinition Width="92"/>
  2675. <ColumnDefinition Width="1*"/>
  2676. </Grid.ColumnDefinitions>
  2677. <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"/>
  2678. <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"/>
  2679. <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"/>
  2680. </Grid>
  2681. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2682. </Grid>
  2683. <Grid Grid.Row="1" >
  2684. <Grid.RowDefinitions>
  2685. <RowDefinition Height="1*"/>
  2686. <RowDefinition Height="1*"/>
  2687. <RowDefinition Height="4"/>
  2688. </Grid.RowDefinitions>
  2689. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2690. <Grid Grid.Row="1" Height="28">
  2691. <Grid.ColumnDefinitions>
  2692. <ColumnDefinition Width="70"/>
  2693. <ColumnDefinition Width="70"/>
  2694. <ColumnDefinition Width="4*"/>
  2695. </Grid.ColumnDefinitions>
  2696. <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"/>
  2697. <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"/>
  2698. </Grid>
  2699. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2700. </Grid>
  2701. <Grid Grid.Row="2" >
  2702. <Grid.RowDefinitions>
  2703. <RowDefinition Height="1*"/>
  2704. <RowDefinition Height="1*"/>
  2705. <RowDefinition Height="4"/>
  2706. </Grid.RowDefinitions>
  2707. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2708. <Grid Grid.Row="1" Height="28">
  2709. <Grid.ColumnDefinitions>
  2710. <ColumnDefinition Width="80"/>
  2711. <ColumnDefinition Width="80"/>
  2712. <ColumnDefinition Width="80"/>
  2713. <ColumnDefinition Width="1*"/>
  2714. </Grid.ColumnDefinitions>
  2715. <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"/>
  2716. <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"/>
  2717. <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"/>
  2718. </Grid>
  2719. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2720. </Grid>
  2721. <Grid Grid.Row="3">
  2722. <Grid.RowDefinitions>
  2723. <RowDefinition Height="1*"/>
  2724. <RowDefinition Height="1.5*"/>
  2725. <RowDefinition Height="4"/>
  2726. </Grid.RowDefinitions>
  2727. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2728. <Grid Grid.Row="1" >
  2729. <Grid.ColumnDefinitions>
  2730. <ColumnDefinition/>
  2731. <ColumnDefinition/>
  2732. </Grid.ColumnDefinitions>
  2733. <Grid.RowDefinitions>
  2734. <RowDefinition Height="4*"/>
  2735. <RowDefinition Height="6*"/>
  2736. </Grid.RowDefinitions>
  2737. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2738. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[3]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2739. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[3]}"/>
  2740. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[3]}" />
  2741. <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">
  2742. <ComboBox.ItemTemplate>
  2743. <DataTemplate>
  2744. <Grid Margin="2,0">
  2745. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2746. </Grid>
  2747. </DataTemplate>
  2748. </ComboBox.ItemTemplate>
  2749. <i:Interaction.Triggers>
  2750. <i:EventTrigger EventName="SelectionChanged">
  2751. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2752. </i:EventTrigger>
  2753. </i:Interaction.Triggers>
  2754. </ComboBox>
  2755. </Grid>
  2756. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2757. </Grid>
  2758. </Grid>
  2759. </TabItem>
  2760. </TabControl>
  2761. </Grid>
  2762. <Grid x:Name="door_5F" Grid.Row="2" Visibility="{Binding Door_5F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
  2763. <Grid.RowDefinitions>
  2764. <RowDefinition/>
  2765. <RowDefinition Height="302"/>
  2766. <RowDefinition Height="0"/>
  2767. </Grid.RowDefinitions>
  2768. <Grid Grid.Row="0">
  2769. <Grid.RowDefinitions>
  2770. <RowDefinition Height="9*"/>
  2771. <RowDefinition Height="1*"/>
  2772. <RowDefinition Height="2*"/>
  2773. </Grid.RowDefinitions>
  2774. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  2775. <Grid.RowDefinitions>
  2776. <RowDefinition Height="34*"/>
  2777. <RowDefinition Height="69*"/>
  2778. <RowDefinition Height="80*"/>
  2779. <RowDefinition Height="74*"/>
  2780. </Grid.RowDefinitions>
  2781. <Grid.ColumnDefinitions>
  2782. <ColumnDefinition Width="94*"/>
  2783. <ColumnDefinition Width="72*"/>
  2784. <ColumnDefinition Width="92*"/>
  2785. <ColumnDefinition Width="72*"/>
  2786. <ColumnDefinition Width="94*"/>
  2787. </Grid.ColumnDefinitions>
  2788. <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" >
  2789. <Button.Content>
  2790. <Grid>
  2791. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2792. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2793. </Grid>
  2794. </Button.Content>
  2795. </Button>
  2796. <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" >
  2797. <Button.Content>
  2798. <Grid>
  2799. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2800. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2801. </Grid>
  2802. </Button.Content>
  2803. </Button>
  2804. <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" >
  2805. <Button.Content>
  2806. <Grid>
  2807. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  2808. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  2809. </Grid>
  2810. </Button.Content>
  2811. </Button>
  2812. </Grid>
  2813. <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"/>
  2814. <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"/>
  2815. <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"/>
  2816. <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"/>
  2817. <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"/>
  2818. <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"/>
  2819. <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"/>
  2820. <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"/>
  2821. <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"/>
  2822. <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"/>
  2823. <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"/>
  2824. <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"/>
  2825. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  2826. </Grid>
  2827. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[4]}"/>
  2828. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[4]}" Panel.ZIndex="1"/>-->
  2829. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[4]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  2830. <TabControl.Resources>
  2831. <Style TargetType="{x:Type TabPanel}">
  2832. <Setter Property="HorizontalAlignment" Value="Left"/>
  2833. </Style>
  2834. </TabControl.Resources>
  2835. <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]}">
  2836. <Grid x:Name="Door_5F_A" Grid.Row="1" Margin="0,6,0,0" >
  2837. <Grid.RowDefinitions>
  2838. <RowDefinition Height="72"/>
  2839. <RowDefinition Height="72"/>
  2840. <RowDefinition Height="72"/>
  2841. <RowDefinition Height="82"/>
  2842. </Grid.RowDefinitions>
  2843. <Grid Grid.Row="0" >
  2844. <Grid.RowDefinitions>
  2845. <RowDefinition Height="1*"/>
  2846. <RowDefinition Height="1*"/>
  2847. <RowDefinition Height="4"/>
  2848. </Grid.RowDefinitions>
  2849. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2850. <Grid Grid.Row="1" Margin="0" Height="28" >
  2851. <Grid.ColumnDefinitions>
  2852. <ColumnDefinition Width="80"/>
  2853. <ColumnDefinition Width="80"/>
  2854. <ColumnDefinition Width="92"/>
  2855. <ColumnDefinition Width="1*"/>
  2856. </Grid.ColumnDefinitions>
  2857. <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"/>
  2858. <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"/>
  2859. <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"/>
  2860. </Grid>
  2861. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2862. </Grid>
  2863. <Grid Grid.Row="1" >
  2864. <Grid.RowDefinitions>
  2865. <RowDefinition Height="1*"/>
  2866. <RowDefinition Height="1*"/>
  2867. <RowDefinition Height="4"/>
  2868. </Grid.RowDefinitions>
  2869. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2870. <Grid Grid.Row="1" Height="28">
  2871. <Grid.ColumnDefinitions>
  2872. <ColumnDefinition Width="70"/>
  2873. <ColumnDefinition Width="70"/>
  2874. <ColumnDefinition Width="4*"/>
  2875. </Grid.ColumnDefinitions>
  2876. <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"/>
  2877. <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"/>
  2878. </Grid>
  2879. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2880. </Grid>
  2881. <Grid Grid.Row="2" >
  2882. <Grid.RowDefinitions>
  2883. <RowDefinition Height="1*"/>
  2884. <RowDefinition Height="1*"/>
  2885. <RowDefinition Height="4"/>
  2886. </Grid.RowDefinitions>
  2887. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2888. <Grid Grid.Row="1" Height="28">
  2889. <Grid.ColumnDefinitions>
  2890. <ColumnDefinition Width="80"/>
  2891. <ColumnDefinition Width="80"/>
  2892. <ColumnDefinition Width="80"/>
  2893. <ColumnDefinition Width="1*"/>
  2894. </Grid.ColumnDefinitions>
  2895. <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"/>
  2896. <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"/>
  2897. <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"/>
  2898. </Grid>
  2899. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2900. </Grid>
  2901. <Grid Grid.Row="3">
  2902. <Grid.RowDefinitions>
  2903. <RowDefinition Height="1*"/>
  2904. <RowDefinition Height="1.5*"/>
  2905. <RowDefinition Height="4"/>
  2906. </Grid.RowDefinitions>
  2907. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2908. <Grid Grid.Row="1" >
  2909. <Grid.ColumnDefinitions>
  2910. <ColumnDefinition/>
  2911. <ColumnDefinition/>
  2912. </Grid.ColumnDefinitions>
  2913. <Grid.RowDefinitions>
  2914. <RowDefinition Height="4*"/>
  2915. <RowDefinition Height="6*"/>
  2916. </Grid.RowDefinitions>
  2917. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2918. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  2919. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[4]}"/>
  2920. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[4]}" />
  2921. <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">
  2922. <ComboBox.ItemTemplate>
  2923. <DataTemplate>
  2924. <Grid Margin="2,0">
  2925. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  2926. </Grid>
  2927. </DataTemplate>
  2928. </ComboBox.ItemTemplate>
  2929. <i:Interaction.Triggers>
  2930. <i:EventTrigger EventName="SelectionChanged">
  2931. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  2932. </i:EventTrigger>
  2933. </i:Interaction.Triggers>
  2934. </ComboBox>
  2935. </Grid>
  2936. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2937. </Grid>
  2938. </Grid>
  2939. </TabItem>
  2940. <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]}">
  2941. <Grid x:Name="Door_5F_B" Grid.Row="1" Margin="0,6,0,0">
  2942. <Grid.RowDefinitions>
  2943. <RowDefinition Height="72"/>
  2944. <RowDefinition Height="72"/>
  2945. <RowDefinition Height="72"/>
  2946. <RowDefinition Height="82"/>
  2947. </Grid.RowDefinitions>
  2948. <Grid Grid.Row="0" >
  2949. <Grid.RowDefinitions>
  2950. <RowDefinition Height="1*"/>
  2951. <RowDefinition Height="1*"/>
  2952. <RowDefinition Height="4"/>
  2953. </Grid.RowDefinitions>
  2954. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2955. <Grid Grid.Row="1" Margin="0" Height="28" >
  2956. <Grid.ColumnDefinitions>
  2957. <ColumnDefinition Width="80"/>
  2958. <ColumnDefinition Width="80"/>
  2959. <ColumnDefinition Width="92"/>
  2960. <ColumnDefinition Width="1*"/>
  2961. </Grid.ColumnDefinitions>
  2962. <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"/>
  2963. <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"/>
  2964. <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"/>
  2965. </Grid>
  2966. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2967. </Grid>
  2968. <Grid Grid.Row="1" >
  2969. <Grid.RowDefinitions>
  2970. <RowDefinition Height="1*"/>
  2971. <RowDefinition Height="1*"/>
  2972. <RowDefinition Height="4"/>
  2973. </Grid.RowDefinitions>
  2974. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2975. <Grid Grid.Row="1" Height="28">
  2976. <Grid.ColumnDefinitions>
  2977. <ColumnDefinition Width="70"/>
  2978. <ColumnDefinition Width="70"/>
  2979. <ColumnDefinition Width="4*"/>
  2980. </Grid.ColumnDefinitions>
  2981. <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"/>
  2982. <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"/>
  2983. </Grid>
  2984. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  2985. </Grid>
  2986. <Grid Grid.Row="2" >
  2987. <Grid.RowDefinitions>
  2988. <RowDefinition Height="1*"/>
  2989. <RowDefinition Height="1*"/>
  2990. <RowDefinition Height="4"/>
  2991. </Grid.RowDefinitions>
  2992. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  2993. <Grid Grid.Row="1" Height="28">
  2994. <Grid.ColumnDefinitions>
  2995. <ColumnDefinition Width="80"/>
  2996. <ColumnDefinition Width="80"/>
  2997. <ColumnDefinition Width="80"/>
  2998. <ColumnDefinition Width="1*"/>
  2999. </Grid.ColumnDefinitions>
  3000. <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"/>
  3001. <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"/>
  3002. <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"/>
  3003. </Grid>
  3004. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3005. </Grid>
  3006. <Grid Grid.Row="3">
  3007. <Grid.RowDefinitions>
  3008. <RowDefinition Height="1*"/>
  3009. <RowDefinition Height="1.5*"/>
  3010. <RowDefinition Height="4"/>
  3011. </Grid.RowDefinitions>
  3012. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3013. <Grid Grid.Row="1" >
  3014. <Grid.ColumnDefinitions>
  3015. <ColumnDefinition/>
  3016. <ColumnDefinition/>
  3017. </Grid.ColumnDefinitions>
  3018. <Grid.RowDefinitions>
  3019. <RowDefinition Height="4*"/>
  3020. <RowDefinition Height="6*"/>
  3021. </Grid.RowDefinitions>
  3022. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3023. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3024. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[4]}"/>
  3025. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[4]}"/>
  3026. <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">
  3027. <ComboBox.ItemTemplate>
  3028. <DataTemplate>
  3029. <Grid Margin="2,0">
  3030. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  3031. </Grid>
  3032. </DataTemplate>
  3033. </ComboBox.ItemTemplate>
  3034. <i:Interaction.Triggers>
  3035. <i:EventTrigger EventName="SelectionChanged">
  3036. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  3037. </i:EventTrigger>
  3038. </i:Interaction.Triggers>
  3039. </ComboBox>
  3040. </Grid>
  3041. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3042. </Grid>
  3043. </Grid>
  3044. </TabItem>
  3045. <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]}">
  3046. <Grid x:Name="Door_5F_C" Grid.Row="1" Margin="0,6,0,0" >
  3047. <Grid.RowDefinitions>
  3048. <RowDefinition Height="72"/>
  3049. <RowDefinition Height="72"/>
  3050. <RowDefinition Height="72"/>
  3051. <RowDefinition Height="82"/>
  3052. </Grid.RowDefinitions>
  3053. <Grid Grid.Row="0" >
  3054. <Grid.RowDefinitions>
  3055. <RowDefinition Height="1*"/>
  3056. <RowDefinition Height="1*"/>
  3057. <RowDefinition Height="4"/>
  3058. </Grid.RowDefinitions>
  3059. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3060. <Grid Grid.Row="1" Margin="0" Height="28" >
  3061. <Grid.ColumnDefinitions>
  3062. <ColumnDefinition Width="80"/>
  3063. <ColumnDefinition Width="80"/>
  3064. <ColumnDefinition Width="92"/>
  3065. <ColumnDefinition Width="1*"/>
  3066. </Grid.ColumnDefinitions>
  3067. <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"/>
  3068. <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"/>
  3069. <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"/>
  3070. </Grid>
  3071. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3072. </Grid>
  3073. <Grid Grid.Row="1" >
  3074. <Grid.RowDefinitions>
  3075. <RowDefinition Height="1*"/>
  3076. <RowDefinition Height="1*"/>
  3077. <RowDefinition Height="4"/>
  3078. </Grid.RowDefinitions>
  3079. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3080. <Grid Grid.Row="1" Height="28">
  3081. <Grid.ColumnDefinitions>
  3082. <ColumnDefinition Width="70"/>
  3083. <ColumnDefinition Width="70"/>
  3084. <ColumnDefinition Width="4*"/>
  3085. </Grid.ColumnDefinitions>
  3086. <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"/>
  3087. <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"/>
  3088. </Grid>
  3089. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3090. </Grid>
  3091. <Grid Grid.Row="2" >
  3092. <Grid.RowDefinitions>
  3093. <RowDefinition Height="1*"/>
  3094. <RowDefinition Height="1*"/>
  3095. <RowDefinition Height="4"/>
  3096. </Grid.RowDefinitions>
  3097. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3098. <Grid Grid.Row="1" Height="28">
  3099. <Grid.ColumnDefinitions>
  3100. <ColumnDefinition Width="80"/>
  3101. <ColumnDefinition Width="80"/>
  3102. <ColumnDefinition Width="80"/>
  3103. <ColumnDefinition Width="1*"/>
  3104. </Grid.ColumnDefinitions>
  3105. <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"/>
  3106. <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"/>
  3107. <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"/>
  3108. </Grid>
  3109. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3110. </Grid>
  3111. <Grid Grid.Row="3">
  3112. <Grid.RowDefinitions>
  3113. <RowDefinition Height="1*"/>
  3114. <RowDefinition Height="1.5*"/>
  3115. <RowDefinition Height="4"/>
  3116. </Grid.RowDefinitions>
  3117. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3118. <Grid Grid.Row="1" >
  3119. <Grid.ColumnDefinitions>
  3120. <ColumnDefinition/>
  3121. <ColumnDefinition/>
  3122. </Grid.ColumnDefinitions>
  3123. <Grid.RowDefinitions>
  3124. <RowDefinition Height="4*"/>
  3125. <RowDefinition Height="6*"/>
  3126. </Grid.RowDefinitions>
  3127. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3128. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_c_saloon_selected[4]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3129. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[4]}"/>
  3130. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[4]}" />
  3131. <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">
  3132. <ComboBox.ItemTemplate>
  3133. <DataTemplate>
  3134. <Grid Margin="2,0">
  3135. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  3136. </Grid>
  3137. </DataTemplate>
  3138. </ComboBox.ItemTemplate>
  3139. <i:Interaction.Triggers>
  3140. <i:EventTrigger EventName="SelectionChanged">
  3141. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  3142. </i:EventTrigger>
  3143. </i:Interaction.Triggers>
  3144. </ComboBox>
  3145. </Grid>
  3146. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3147. </Grid>
  3148. </Grid>
  3149. </TabItem>
  3150. </TabControl>
  3151. </Grid>
  3152. <Grid x:Name="door_6F" Grid.Row="2" Visibility="{Binding Door_6F_Vis}" Margin="0,48,0,0" d:IsHidden="True">
  3153. <Grid.RowDefinitions>
  3154. <RowDefinition/>
  3155. <RowDefinition Height="302"/>
  3156. <RowDefinition Height="0"/>
  3157. </Grid.RowDefinitions>
  3158. <Grid Grid.Row="0">
  3159. <Grid.RowDefinitions>
  3160. <RowDefinition Height="9*"/>
  3161. <RowDefinition Height="1*"/>
  3162. <RowDefinition Height="2*"/>
  3163. </Grid.RowDefinitions>
  3164. <Grid Grid.Row="0" Margin="0,0,0,5" Grid.RowSpan="3">
  3165. <Grid.RowDefinitions>
  3166. <RowDefinition Height="34*"/>
  3167. <RowDefinition Height="69*"/>
  3168. <RowDefinition Height="80*"/>
  3169. <RowDefinition Height="74*"/>
  3170. </Grid.RowDefinitions>
  3171. <Grid.ColumnDefinitions>
  3172. <ColumnDefinition Width="94*"/>
  3173. <ColumnDefinition Width="72*"/>
  3174. <ColumnDefinition Width="92*"/>
  3175. <ColumnDefinition Width="72*"/>
  3176. <ColumnDefinition Width="94*"/>
  3177. </Grid.ColumnDefinitions>
  3178. <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" >
  3179. <Button.Content>
  3180. <Grid>
  3181. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  3182. <TextBlock Text="C" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  3183. </Grid>
  3184. </Button.Content>
  3185. </Button>
  3186. <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" >
  3187. <Button.Content>
  3188. <Grid>
  3189. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  3190. <TextBlock Text="A" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  3191. </Grid>
  3192. </Button.Content>
  3193. </Button>
  3194. <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" >
  3195. <Button.Content>
  3196. <Grid>
  3197. <Ellipse Width="24" Height="24" Fill="#1B1B1B" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  3198. <TextBlock Text="B" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="12"/>
  3199. </Grid>
  3200. </Button.Content>
  3201. </Button>
  3202. </Grid>
  3203. <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"/>
  3204. <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"/>
  3205. <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"/>
  3206. <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"/>
  3207. <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"/>
  3208. <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"/>
  3209. <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"/>
  3210. <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"/>
  3211. <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"/>
  3212. <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"/>
  3213. <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"/>
  3214. <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"/>
  3215. <Image Grid.Row="0" Source="image/bg/shaft_doors_bg.png" Margin="0,0,0,5" Grid.RowSpan="3" Panel.ZIndex="-1"/>
  3216. </Grid>
  3217. <Rectangle Margin="0,300,0,0" Height="32" VerticalAlignment="Top" Fill="#1B1B1B" Visibility="{Binding StateModel.isThereDoors[5]}"/>
  3218. <!--<Rectangle Grid.Row="1" Height="2" Fill="#707070" VerticalAlignment="Top" Visibility="{Binding StateModel.isThereDoors[5]}" Panel.ZIndex="1"/>-->
  3219. <TabControl Background="Black" BorderBrush="{x:Null}" Visibility="{Binding StateModel.isThereDoors[5]}" Foreground="{x:Null}" Margin="32,300,32,0" Grid.RowSpan="2">
  3220. <TabControl.Resources>
  3221. <Style TargetType="{x:Type TabPanel}">
  3222. <Setter Property="HorizontalAlignment" Value="Left"/>
  3223. </Style>
  3224. </TabControl.Resources>
  3225. <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]}">
  3226. <Grid x:Name="Door_6F_A" Grid.Row="1" Margin="0,6,0,0" >
  3227. <Grid.RowDefinitions>
  3228. <RowDefinition Height="72"/>
  3229. <RowDefinition Height="72"/>
  3230. <RowDefinition Height="72"/>
  3231. <RowDefinition Height="82"/>
  3232. </Grid.RowDefinitions>
  3233. <Grid Grid.Row="0" >
  3234. <Grid.RowDefinitions>
  3235. <RowDefinition Height="1*"/>
  3236. <RowDefinition Height="1*"/>
  3237. <RowDefinition Height="4"/>
  3238. </Grid.RowDefinitions>
  3239. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3240. <Grid Grid.Row="1" Margin="0" Height="28" >
  3241. <Grid.ColumnDefinitions>
  3242. <ColumnDefinition Width="80"/>
  3243. <ColumnDefinition Width="80"/>
  3244. <ColumnDefinition Width="92"/>
  3245. <ColumnDefinition Width="1*"/>
  3246. </Grid.ColumnDefinitions>
  3247. <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"/>
  3248. <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"/>
  3249. <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"/>
  3250. </Grid>
  3251. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3252. </Grid>
  3253. <Grid Grid.Row="1" >
  3254. <Grid.RowDefinitions>
  3255. <RowDefinition Height="1*"/>
  3256. <RowDefinition Height="1*"/>
  3257. <RowDefinition Height="4"/>
  3258. </Grid.RowDefinitions>
  3259. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3260. <Grid Grid.Row="1" Height="28">
  3261. <Grid.ColumnDefinitions>
  3262. <ColumnDefinition Width="70"/>
  3263. <ColumnDefinition Width="70"/>
  3264. <ColumnDefinition Width="4*"/>
  3265. </Grid.ColumnDefinitions>
  3266. <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"/>
  3267. <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"/>
  3268. </Grid>
  3269. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3270. </Grid>
  3271. <Grid Grid.Row="2" >
  3272. <Grid.RowDefinitions>
  3273. <RowDefinition Height="1*"/>
  3274. <RowDefinition Height="1*"/>
  3275. <RowDefinition Height="4"/>
  3276. </Grid.RowDefinitions>
  3277. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3278. <Grid Grid.Row="1" Height="28">
  3279. <Grid.ColumnDefinitions>
  3280. <ColumnDefinition Width="80"/>
  3281. <ColumnDefinition Width="80"/>
  3282. <ColumnDefinition Width="80"/>
  3283. <ColumnDefinition Width="1*"/>
  3284. </Grid.ColumnDefinitions>
  3285. <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"/>
  3286. <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"/>
  3287. <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"/>
  3288. </Grid>
  3289. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3290. </Grid>
  3291. <Grid Grid.Row="3">
  3292. <Grid.RowDefinitions>
  3293. <RowDefinition Height="1*"/>
  3294. <RowDefinition Height="1.5*"/>
  3295. <RowDefinition Height="4"/>
  3296. </Grid.RowDefinitions>
  3297. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3298. <Grid Grid.Row="1" >
  3299. <Grid.ColumnDefinitions>
  3300. <ColumnDefinition/>
  3301. <ColumnDefinition/>
  3302. </Grid.ColumnDefinitions>
  3303. <Grid.RowDefinitions>
  3304. <RowDefinition Height="4*"/>
  3305. <RowDefinition Height="6*"/>
  3306. </Grid.RowDefinitions>
  3307. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3308. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_a_saloon_selected[5]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3309. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_selected[5]}"/>
  3310. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_a_saloon_unselected[5]}" />
  3311. <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">
  3312. <ComboBox.ItemTemplate>
  3313. <DataTemplate>
  3314. <Grid Margin="2,0">
  3315. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  3316. </Grid>
  3317. </DataTemplate>
  3318. </ComboBox.ItemTemplate>
  3319. <i:Interaction.Triggers>
  3320. <i:EventTrigger EventName="SelectionChanged">
  3321. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  3322. </i:EventTrigger>
  3323. </i:Interaction.Triggers>
  3324. </ComboBox>
  3325. </Grid>
  3326. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3327. </Grid>
  3328. </Grid>
  3329. </TabItem>
  3330. <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]}">
  3331. <Grid x:Name="Door_6F_B" Grid.Row="1" Margin="0,6,0,0">
  3332. <Grid.RowDefinitions>
  3333. <RowDefinition Height="72"/>
  3334. <RowDefinition Height="72"/>
  3335. <RowDefinition Height="72"/>
  3336. <RowDefinition Height="82"/>
  3337. </Grid.RowDefinitions>
  3338. <Grid Grid.Row="0" >
  3339. <Grid.RowDefinitions>
  3340. <RowDefinition Height="1*"/>
  3341. <RowDefinition Height="1*"/>
  3342. <RowDefinition Height="4"/>
  3343. </Grid.RowDefinitions>
  3344. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3345. <Grid Grid.Row="1" Margin="0" Height="28" >
  3346. <Grid.ColumnDefinitions>
  3347. <ColumnDefinition Width="80"/>
  3348. <ColumnDefinition Width="80"/>
  3349. <ColumnDefinition Width="92"/>
  3350. <ColumnDefinition Width="1*"/>
  3351. </Grid.ColumnDefinitions>
  3352. <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"/>
  3353. <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"/>
  3354. <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"/>
  3355. </Grid>
  3356. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3357. </Grid>
  3358. <Grid Grid.Row="1" >
  3359. <Grid.RowDefinitions>
  3360. <RowDefinition Height="1*"/>
  3361. <RowDefinition Height="1*"/>
  3362. <RowDefinition Height="4"/>
  3363. </Grid.RowDefinitions>
  3364. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3365. <Grid Grid.Row="1" Height="28">
  3366. <Grid.ColumnDefinitions>
  3367. <ColumnDefinition Width="70"/>
  3368. <ColumnDefinition Width="70"/>
  3369. <ColumnDefinition Width="4*"/>
  3370. </Grid.ColumnDefinitions>
  3371. <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"/>
  3372. <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"/>
  3373. </Grid>
  3374. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3375. </Grid>
  3376. <Grid Grid.Row="2" >
  3377. <Grid.RowDefinitions>
  3378. <RowDefinition Height="1*"/>
  3379. <RowDefinition Height="1*"/>
  3380. <RowDefinition Height="4"/>
  3381. </Grid.RowDefinitions>
  3382. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3383. <Grid Grid.Row="1" Height="28">
  3384. <Grid.ColumnDefinitions>
  3385. <ColumnDefinition Width="80"/>
  3386. <ColumnDefinition Width="80"/>
  3387. <ColumnDefinition Width="80"/>
  3388. <ColumnDefinition Width="1*"/>
  3389. </Grid.ColumnDefinitions>
  3390. <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"/>
  3391. <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"/>
  3392. <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"/>
  3393. </Grid>
  3394. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3395. </Grid>
  3396. <Grid Grid.Row="3">
  3397. <Grid.RowDefinitions>
  3398. <RowDefinition Height="1*"/>
  3399. <RowDefinition Height="1.5*"/>
  3400. <RowDefinition Height="4"/>
  3401. </Grid.RowDefinitions>
  3402. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3403. <Grid Grid.Row="1" >
  3404. <Grid.ColumnDefinitions>
  3405. <ColumnDefinition/>
  3406. <ColumnDefinition/>
  3407. </Grid.ColumnDefinitions>
  3408. <Grid.RowDefinitions>
  3409. <RowDefinition Height="4*"/>
  3410. <RowDefinition Height="6*"/>
  3411. </Grid.RowDefinitions>
  3412. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3413. <Label Grid.Row="0" Grid.Column="1" Content="Custom" Visibility="{Binding door_b_saloon_selected[5]}" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3414. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_selected[5]}"/>
  3415. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_bd}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_b_saloon_unselected[5]}"/>
  3416. <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">
  3417. <ComboBox.ItemTemplate>
  3418. <DataTemplate>
  3419. <Grid Margin="2,0">
  3420. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  3421. </Grid>
  3422. </DataTemplate>
  3423. </ComboBox.ItemTemplate>
  3424. <i:Interaction.Triggers>
  3425. <i:EventTrigger EventName="SelectionChanged">
  3426. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  3427. </i:EventTrigger>
  3428. </i:Interaction.Triggers>
  3429. </ComboBox>
  3430. </Grid>
  3431. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3432. </Grid>
  3433. </Grid>
  3434. </TabItem>
  3435. <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]}">
  3436. <Grid x:Name="Door_6F_C" Grid.Row="1" Margin="0,6,0,0" >
  3437. <Grid.RowDefinitions>
  3438. <RowDefinition Height="72"/>
  3439. <RowDefinition Height="72"/>
  3440. <RowDefinition Height="72"/>
  3441. <RowDefinition Height="82"/>
  3442. </Grid.RowDefinitions>
  3443. <Grid Grid.Row="0" >
  3444. <Grid.RowDefinitions>
  3445. <RowDefinition Height="1*"/>
  3446. <RowDefinition Height="1*"/>
  3447. <RowDefinition Height="4"/>
  3448. </Grid.RowDefinitions>
  3449. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorTypeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3450. <Grid Grid.Row="1" Margin="0" Height="28" >
  3451. <Grid.ColumnDefinitions>
  3452. <ColumnDefinition Width="80"/>
  3453. <ColumnDefinition Width="80"/>
  3454. <ColumnDefinition Width="92"/>
  3455. <ColumnDefinition Width="1*"/>
  3456. </Grid.ColumnDefinitions>
  3457. <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"/>
  3458. <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"/>
  3459. <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"/>
  3460. </Grid>
  3461. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3462. </Grid>
  3463. <Grid Grid.Row="1" >
  3464. <Grid.RowDefinitions>
  3465. <RowDefinition Height="1*"/>
  3466. <RowDefinition Height="1*"/>
  3467. <RowDefinition Height="4"/>
  3468. </Grid.RowDefinitions>
  3469. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHingeLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3470. <Grid Grid.Row="1" Height="28">
  3471. <Grid.ColumnDefinitions>
  3472. <ColumnDefinition Width="70"/>
  3473. <ColumnDefinition Width="70"/>
  3474. <ColumnDefinition Width="4*"/>
  3475. </Grid.ColumnDefinitions>
  3476. <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"/>
  3477. <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"/>
  3478. </Grid>
  3479. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3480. </Grid>
  3481. <Grid Grid.Row="2" >
  3482. <Grid.RowDefinitions>
  3483. <RowDefinition Height="1*"/>
  3484. <RowDefinition Height="1*"/>
  3485. <RowDefinition Height="4"/>
  3486. </Grid.RowDefinitions>
  3487. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorHeightLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3488. <Grid Grid.Row="1" Height="28">
  3489. <Grid.ColumnDefinitions>
  3490. <ColumnDefinition Width="80"/>
  3491. <ColumnDefinition Width="80"/>
  3492. <ColumnDefinition Width="80"/>
  3493. <ColumnDefinition Width="1*"/>
  3494. </Grid.ColumnDefinitions>
  3495. <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"/>
  3496. <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"/>
  3497. <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"/>
  3498. </Grid>
  3499. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3500. </Grid>
  3501. <Grid Grid.Row="3">
  3502. <Grid.RowDefinitions>
  3503. <RowDefinition Height="1*"/>
  3504. <RowDefinition Height="1.5*"/>
  3505. <RowDefinition Height="4"/>
  3506. </Grid.RowDefinitions>
  3507. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[DoorWidthLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3508. <Grid Grid.Row="1" >
  3509. <Grid.ColumnDefinitions>
  3510. <ColumnDefinition/>
  3511. <ColumnDefinition/>
  3512. </Grid.ColumnDefinitions>
  3513. <Grid.RowDefinitions>
  3514. <RowDefinition Height="4*"/>
  3515. <RowDefinition Height="6*"/>
  3516. </Grid.RowDefinitions>
  3517. <Label Grid.Row="0" Grid.Column="0" Content="Standard Width" FontSize="14" VerticalAlignment="Center" Foreground="#FF707070"/>
  3518. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_standard_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_selected[5]}"/>
  3519. <Label Grid.Row="1" Grid.Column="0" Content="{Binding door_saloon_width_ac}" FontSize="14" VerticalAlignment="Center" Visibility="{Binding door_c_saloon_unselected[5]}"/>
  3520. <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">
  3521. <ComboBox.ItemTemplate>
  3522. <DataTemplate>
  3523. <Grid Margin="2,0">
  3524. <TextBlock Text="{Binding Path=value}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  3525. </Grid>
  3526. </DataTemplate>
  3527. </ComboBox.ItemTemplate>
  3528. <i:Interaction.Triggers>
  3529. <i:EventTrigger EventName="SelectionChanged">
  3530. <i:InvokeCommandAction Command="{Binding set_door_width}"/>
  3531. </i:EventTrigger>
  3532. </i:Interaction.Triggers>
  3533. </ComboBox>
  3534. </Grid>
  3535. <Rectangle Grid.Row="2" Height="2" Fill="#272727"/>
  3536. </Grid>
  3537. </Grid>
  3538. </TabItem>
  3539. </TabControl>
  3540. </Grid>
  3541. </Grid>
  3542. <Grid x:Name="color_page" Grid.Column="1" Visibility="{Binding Color_Vis}" Margin="12,0" d:IsHidden="True">
  3543. <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
  3544. <Grid>
  3545. <Grid.RowDefinitions>
  3546. <RowDefinition Height="64"/>
  3547. <RowDefinition Height="5*"/>
  3548. <RowDefinition Height="1*"/>
  3549. <RowDefinition Height="4*"/>
  3550. <RowDefinition Height="10*"/>
  3551. </Grid.RowDefinitions>
  3552. <Grid Grid.Row="0">
  3553. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[ColorsLabel]}" FontSize="22" VerticalAlignment="Center"/>
  3554. <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="92" HorizontalAlignment="Left" Margin="0,6"/>
  3555. </Grid>
  3556. <Grid x:Name="Standard_Color" Grid.Row="1" Margin="0,12,0,0" >
  3557. <Grid.RowDefinitions>
  3558. <RowDefinition Height="1*"/>
  3559. <RowDefinition Height="8*"/>
  3560. <RowDefinition Height="1*"/>
  3561. </Grid.RowDefinitions>
  3562. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[StandardColorLabel]}" FontSize="18"/>
  3563. <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">
  3564. <ItemsControl.ItemsPanel>
  3565. <ItemsPanelTemplate>
  3566. <WrapPanel/>
  3567. </ItemsPanelTemplate>
  3568. </ItemsControl.ItemsPanel>
  3569. <ItemsControl.ItemTemplate>
  3570. <DataTemplate>
  3571. <Grid Height="112" Width="80" HorizontalAlignment="Left">
  3572. <Grid.RowDefinitions>
  3573. <RowDefinition Height="72"/>
  3574. <RowDefinition Height="1*"/>
  3575. </Grid.RowDefinitions>
  3576. <Button Grid.Row="0" Height="80" Command="{Binding ElementName=standard_colors, Path=DataContext.set_shaft_standard_color}" CommandParameter="{Binding Code}">
  3577. <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
  3578. <Image Source="{Binding icon_texture}"/>
  3579. </Border>
  3580. </Button>
  3581. <Label Grid.Row="1" Content="{Binding name}" Margin="0,4" FontSize="12" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  3582. </Grid>
  3583. </DataTemplate>
  3584. </ItemsControl.ItemTemplate>
  3585. </ItemsControl>
  3586. </Grid>
  3587. <Grid Grid.Row="3" Margin="6,0,0,0" Height="128">
  3588. <Grid.RowDefinitions>
  3589. <RowDefinition Height="3*"/>
  3590. <RowDefinition Height="6*"/>
  3591. <RowDefinition Height="1*"/>
  3592. </Grid.RowDefinitions>
  3593. <Label Grid.Row="0" Content="CUSTOMIZED RAL COLORS" FontSize="18" VerticalAlignment="Center"/>
  3594. <Grid Grid.Row="1" Height="54" VerticalAlignment="Bottom" Margin="0,0,0,12">
  3595. <Grid.ColumnDefinitions>
  3596. <ColumnDefinition Width="2*"/>
  3597. <ColumnDefinition Width="4*"/>
  3598. <ColumnDefinition Width="4*"/>
  3599. </Grid.ColumnDefinitions>
  3600. <Border BorderThickness="1" Height="54" Width="54" CornerRadius="0" HorizontalAlignment="Left" Margin="2,-2,0,0">
  3601. <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}" />
  3602. </Border>
  3603. <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" />
  3604. <Rectangle Grid.Column="1" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="200" HorizontalAlignment="Left" />
  3605. <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" >
  3606. <Image Source="image/btn/outline_format_paint_black_36dp.png" Height="57" Width="57" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  3607. </Button>
  3608. </Grid>
  3609. </Grid>
  3610. <Grid x:Name="RAL_Color" Grid.Row="4" Margin="6,0,0,0" >
  3611. <ItemsControl x:Name="RAL_colors" Background="{x:Null}" ItemsSource="{Binding RAL_Color_List}" Width="425">
  3612. <ItemsControl.ItemsPanel>
  3613. <ItemsPanelTemplate>
  3614. <WrapPanel/>
  3615. </ItemsPanelTemplate>
  3616. </ItemsControl.ItemsPanel>
  3617. <ItemsControl.ItemTemplate>
  3618. <DataTemplate>
  3619. <Grid Height="54" Width="54" >
  3620. <Border BorderThickness="1" BorderBrush="{Binding btn_bg_color}" CornerRadius="0">
  3621. <Grid>
  3622. <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}" />
  3623. <Label Content="{Binding color}" FontSize="10" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
  3624. </Grid>
  3625. </Border>
  3626. </Grid>
  3627. </DataTemplate>
  3628. </ItemsControl.ItemTemplate>
  3629. </ItemsControl>
  3630. </Grid>
  3631. </Grid>
  3632. </ScrollViewer>
  3633. </Grid>
  3634. </Grid>
  3635. </Grid>
  3636. </TabItem>
  3637. <TabItem x:Name="enclosure_tab" Header="{Binding SelectedLanguage.Resources[EnclosureLabel]}" BorderBrush="{x:Null}" Foreground="White" Height="48" FontSize="18" Background="{x:Null}">
  3638. <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
  3639. <Grid x:Name="enclosure_mat" Margin="12,0">
  3640. <Grid.RowDefinitions>
  3641. <RowDefinition Height="64"/>
  3642. <RowDefinition Height="{Binding StateModel.Cabin_Walls_Height}"/>
  3643. <RowDefinition Height="116"/>
  3644. <RowDefinition Height="286"/>
  3645. <RowDefinition Height="188"/>
  3646. <RowDefinition Height="168"/>
  3647. </Grid.RowDefinitions>
  3648. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[BuildLabel]}" FontSize="22" VerticalAlignment="Center"/>
  3649. <Rectangle Grid.Row="0" Height="1" Fill="#707070" VerticalAlignment="Bottom" Width="72" HorizontalAlignment="Left" Margin="0,6"/>
  3650. <Grid Grid.Row="1" Margin="0,12">
  3651. <Grid.RowDefinitions>
  3652. <RowDefinition Height="32"/>
  3653. <RowDefinition Height="12"/>
  3654. <RowDefinition Height="246"/>
  3655. <RowDefinition Height="0"/>
  3656. </Grid.RowDefinitions>
  3657. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CabinWallsLabel]}"/>
  3658. <Grid Grid.Row="2" >
  3659. <Grid.RowDefinitions>
  3660. <RowDefinition/>
  3661. <RowDefinition/>
  3662. </Grid.RowDefinitions>
  3663. <Grid.ColumnDefinitions>
  3664. <ColumnDefinition/>
  3665. <ColumnDefinition/>
  3666. <ColumnDefinition/>
  3667. </Grid.ColumnDefinitions>
  3668. <Border Grid.Row="0" Grid.Column="0" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
  3669. <Grid>
  3670. <Grid.RowDefinitions>
  3671. <RowDefinition Height="1*"/>
  3672. <RowDefinition Height="2*"/>
  3673. </Grid.RowDefinitions>
  3674. <Label Content="C" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  3675. <Border Grid.Row="1" Background="#363636" Width="128" Height="48" CornerRadius="6,6,6,6" >
  3676. <ComboBox x:Name="set_enclosure_mat_c" ItemsSource="{Binding Enclosure_Mat_C}" SelectedItem="{Binding Selected_Enclosure_Mat_C}" Width="122" >
  3677. <ComboBox.ItemTemplate>
  3678. <DataTemplate>
  3679. <Grid Margin="2,0">
  3680. <Grid.ColumnDefinitions>
  3681. <ColumnDefinition Width="24"/>
  3682. <ColumnDefinition Width="70"/>
  3683. </Grid.ColumnDefinitions>
  3684. <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
  3685. <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}"/>
  3686. <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}"/>
  3687. </Grid>
  3688. </DataTemplate>
  3689. </ComboBox.ItemTemplate>
  3690. <i:Interaction.Triggers>
  3691. <i:EventTrigger EventName="SelectionChanged">
  3692. <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_c, ElementName=set_enclosure_mat_c}"/>
  3693. </i:EventTrigger>
  3694. </i:Interaction.Triggers>
  3695. </ComboBox>
  3696. </Border>
  3697. </Grid>
  3698. </Border>
  3699. <Grid Grid.Column="1" Grid.Row="0" Margin="-10">
  3700. <Image Source="image/bg/lift_build_icon.png"/>
  3701. </Grid>
  3702. <Border Grid.Row="0" Grid.Column="2" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
  3703. <Grid>
  3704. <Grid.RowDefinitions>
  3705. <RowDefinition Height="1*"/>
  3706. <RowDefinition Height="2*"/>
  3707. </Grid.RowDefinitions>
  3708. <Label Content="A" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  3709. <Border Grid.Row="1" Background="#363636" Width="122" Height="48" CornerRadius="6,6,6,6" >
  3710. <ComboBox x:Name="set_enclosure_mat_a" ItemsSource="{Binding Enclosure_Mat_A}" SelectedItem="{Binding Selected_Enclosure_Mat_A}" Width="122" >
  3711. <ComboBox.ItemTemplate>
  3712. <DataTemplate>
  3713. <Grid Margin="2,0">
  3714. <Grid.ColumnDefinitions>
  3715. <ColumnDefinition Width="24"/>
  3716. <ColumnDefinition Width="70"/>
  3717. </Grid.ColumnDefinitions>
  3718. <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
  3719. <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}"/>
  3720. <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}"/>
  3721. </Grid>
  3722. </DataTemplate>
  3723. </ComboBox.ItemTemplate>
  3724. <i:Interaction.Triggers>
  3725. <i:EventTrigger EventName="SelectionChanged">
  3726. <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_a, ElementName=set_enclosure_mat_a}"/>
  3727. </i:EventTrigger>
  3728. </i:Interaction.Triggers>
  3729. </ComboBox>
  3730. </Border>
  3731. </Grid>
  3732. </Border>
  3733. <Border Grid.Row="1" Grid.Column="1" Background="#1B1B1B" Height="86" Width="128" CornerRadius="6,6,6,6" >
  3734. <Grid>
  3735. <Grid.RowDefinitions>
  3736. <RowDefinition Height="1*"/>
  3737. <RowDefinition Height="2*"/>
  3738. </Grid.RowDefinitions>
  3739. <Label Content="B" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"/>
  3740. <Border Grid.Row="1" Background="#363636" Width="122" Height="48" CornerRadius="6,6,6,6" >
  3741. <ComboBox x:Name="set_enclosure_mat_b" ItemsSource="{Binding Enclosure_Mat_B}" SelectedItem="{Binding Selected_Enclosure_Mat_B}" Width="122" >
  3742. <ComboBox.ItemTemplate>
  3743. <DataTemplate>
  3744. <Grid Margin="2,0">
  3745. <Grid.ColumnDefinitions>
  3746. <ColumnDefinition Width="24"/>
  3747. <ColumnDefinition Width="70"/>
  3748. </Grid.ColumnDefinitions>
  3749. <!--<Image Grid.Column="0" Height="24" Source="{Binding icon_texture}" Margin="0,0,4,0"/>-->
  3750. <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}"/>
  3751. <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}"/>
  3752. </Grid>
  3753. </DataTemplate>
  3754. </ComboBox.ItemTemplate>
  3755. <i:Interaction.Triggers>
  3756. <i:EventTrigger EventName="SelectionChanged">
  3757. <i:InvokeCommandAction Command="{Binding DataContext.set_enclosure_mat_b, ElementName=set_enclosure_mat_b}"/>
  3758. </i:EventTrigger>
  3759. </i:Interaction.Triggers>
  3760. </ComboBox>
  3761. </Border>
  3762. </Grid>
  3763. </Border>
  3764. </Grid>
  3765. <Grid Grid.Row="3">
  3766. <ItemsControl x:Name="cabin_walls_mat" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Cabin_Walls_Mat_List}">
  3767. <ItemsControl.ItemsPanel>
  3768. <ItemsPanelTemplate>
  3769. <WrapPanel/>
  3770. </ItemsPanelTemplate>
  3771. </ItemsControl.ItemsPanel>
  3772. <ItemsControl.ItemTemplate>
  3773. <DataTemplate>
  3774. <Grid Height="38" Width="168" Margin="10" Background="#1B1B1B">
  3775. <Grid.ColumnDefinitions>
  3776. <ColumnDefinition Width="8*"/>
  3777. <ColumnDefinition Width="2*"/>
  3778. </Grid.ColumnDefinitions>
  3779. <Button Grid.Column="0" Content="{Binding name}" Height="60" Command="{Binding DataContext.set_shaft_standard_color, ElementName=standard_colors}" CommandParameter="{Binding name}" VerticalAlignment="Center"/>
  3780. <Image Grid.Column="1" Source="{Binding icon_texture}"/>
  3781. </Grid>
  3782. </DataTemplate>
  3783. </ItemsControl.ItemTemplate>
  3784. </ItemsControl>
  3785. </Grid>
  3786. </Grid>
  3787. <Grid Grid.Row="2">
  3788. <Grid.RowDefinitions>
  3789. <RowDefinition Height="32"/>
  3790. <RowDefinition/>
  3791. </Grid.RowDefinitions>
  3792. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CabinDoorLabel]}" FontSize="18" VerticalAlignment="Center"/>
  3793. <Grid Grid.Row="1">
  3794. <Grid.ColumnDefinitions>
  3795. <ColumnDefinition/>
  3796. <ColumnDefinition/>
  3797. <ColumnDefinition/>
  3798. </Grid.ColumnDefinitions>
  3799. <Button Height="46" Width="128" FontSize="14" Grid.Column="0" Content="{Binding SelectedLanguage.Resources[LightCurtainLabel]}" Margin="4,0" Background="#1B1B1B"/>
  3800. <Button Height="46" Width="128" FontSize="14" Grid.Column="1" Content="{Binding SelectedLanguage.Resources[BiFoldingLabel]}" Margin="4,0" Background="#1B1B1B" IsEnabled="False"/>
  3801. </Grid>
  3802. <Rectangle Height="1" Fill="#272727" Grid.Row="1" VerticalAlignment="Bottom"/>
  3803. </Grid>
  3804. <Grid Grid.Row="3" Margin="0,12" >
  3805. <Grid.RowDefinitions>
  3806. <RowDefinition Height="32"/>
  3807. <RowDefinition/>
  3808. </Grid.RowDefinitions>
  3809. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[SevicePannelLabel]}" Margin="0,6" />
  3810. <ItemsControl x:Name="service_panel_mat" Grid.Row="1" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Service_Panel_Mat_List}">
  3811. <ItemsControl.ItemsPanel>
  3812. <ItemsPanelTemplate>
  3813. <WrapPanel/>
  3814. </ItemsPanelTemplate>
  3815. </ItemsControl.ItemsPanel>
  3816. <ItemsControl.ItemTemplate>
  3817. <DataTemplate>
  3818. <Grid Margin="4,0" >
  3819. <Grid.RowDefinitions>
  3820. <RowDefinition/>
  3821. <RowDefinition Height="4"/>
  3822. <RowDefinition Height="32"/>
  3823. </Grid.RowDefinitions>
  3824. <Button Grid.Row="0" Command="{Binding DataContext.set_service_panel_mat, ElementName=service_panel_mat}" CommandParameter="{Binding code}" VerticalAlignment="Center" >
  3825. <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
  3826. <Image Width="60" Height="60" Source="{Binding icon_texture}"/>
  3827. </Border>
  3828. </Button>
  3829. <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}"/>
  3830. <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}"/>
  3831. </Grid>
  3832. </DataTemplate>
  3833. </ItemsControl.ItemTemplate>
  3834. </ItemsControl>
  3835. <Rectangle Height="1" Fill="#272727" Grid.Row="1" VerticalAlignment="Bottom"/>
  3836. </Grid>
  3837. <Grid Grid.Row="4">
  3838. <Grid.RowDefinitions>
  3839. <RowDefinition Height="32"/>
  3840. <RowDefinition/>
  3841. </Grid.RowDefinitions>
  3842. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[CarpetLabel]}"/>
  3843. <ItemsControl x:Name="carpet_panel_mat" Grid.Row="1" Width="425" Background="{x:Null}" BorderBrush="{x:Null}" ItemsSource="{Binding Carpet_Mat_List}">
  3844. <ItemsControl.ItemsPanel>
  3845. <ItemsPanelTemplate>
  3846. <WrapPanel/>
  3847. </ItemsPanelTemplate>
  3848. </ItemsControl.ItemsPanel>
  3849. <ItemsControl.ItemTemplate>
  3850. <DataTemplate>
  3851. <Grid Margin="4,0" >
  3852. <Grid.RowDefinitions>
  3853. <RowDefinition/>
  3854. <RowDefinition Height="4"/>
  3855. <RowDefinition Height="32"/>
  3856. </Grid.RowDefinitions>
  3857. <Button Grid.Row="0" Command="{Binding DataContext.set_carpet_panel_mat, ElementName=carpet_panel_mat}" CommandParameter="{Binding code}" VerticalAlignment="Center" >
  3858. <Border BorderThickness="2" BorderBrush="{Binding btn_bg_color}">
  3859. <Image Width="60" Height="60" Source="{Binding icon_texture}"/>
  3860. </Border>
  3861. </Button>
  3862. <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}"/>
  3863. <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}"/>
  3864. </Grid>
  3865. </DataTemplate>
  3866. </ItemsControl.ItemTemplate>
  3867. </ItemsControl>
  3868. </Grid>
  3869. <Grid Grid.Row="5" Visibility="{Binding show_ambient_light}">
  3870. <Grid.RowDefinitions>
  3871. <RowDefinition Height="24"/>
  3872. <RowDefinition Height="48"/>
  3873. <RowDefinition Height="48"/>
  3874. </Grid.RowDefinitions>
  3875. <Label Grid.Row="0" Content="{Binding SelectedLanguage.Resources[AmbientLabel]}"/>
  3876. <Grid Grid.Row="1" Margin="24,0">
  3877. <Grid.ColumnDefinitions>
  3878. <ColumnDefinition Width="28"/>
  3879. <ColumnDefinition/>
  3880. </Grid.ColumnDefinitions>
  3881. <CheckBox x:Name="ambient_color" Grid.Column="0" VerticalAlignment="Center" IsChecked="{Binding ambient_color_ischecked}" Command="{Binding trigger_ambient_light}">
  3882. <CheckBox.LayoutTransform>
  3883. <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
  3884. </CheckBox.LayoutTransform>
  3885. </CheckBox>
  3886. <TextBlock Grid.Column="1" Text="{Binding SelectedLanguage.Resources[CustomAmbientLabel]}" FontSize="16" VerticalAlignment="Center" Foreground="#FFD6D6D6"/>
  3887. </Grid>
  3888. <!--{Binding ambient_custom_color ,Mode=TwoWay}-->
  3889. <Grid Grid.Row="2" Margin="32,0" x:Name="custom_ambient_light" Visibility="{Binding ambient_slider_vis}">
  3890. <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" >
  3891. <i:Interaction.Triggers>
  3892. <i:EventTrigger EventName="ValueChanged">
  3893. <i:InvokeCommandAction Command="{Binding set_ambient_color}"/>
  3894. </i:EventTrigger>
  3895. </i:Interaction.Triggers>
  3896. </Slider>
  3897. <Border BorderThickness="2" CornerRadius="2" BorderBrush="Black" Background="Transparent" Height="10" Panel.ZIndex="-1">
  3898. <Rectangle Height="8" >
  3899. <Rectangle.Fill>
  3900. <LinearGradientBrush EndPoint="0,0" StartPoint="1,0">
  3901. <GradientStop Color="White" Offset="0" />
  3902. <GradientStop Color="Red" Offset="0.2" />
  3903. <GradientStop Color="Yellow" Offset="0.4" />
  3904. <GradientStop Color="Green" Offset="0.6" />
  3905. <GradientStop Color="Blue" Offset="0.8" />
  3906. <GradientStop Color="White" Offset="1" />
  3907. </LinearGradientBrush>
  3908. </Rectangle.Fill>
  3909. </Rectangle>
  3910. </Border>
  3911. </Grid>
  3912. </Grid>
  3913. </Grid>
  3914. </ScrollViewer>
  3915. </TabItem>
  3916. <i:Interaction.Triggers>
  3917. <i:EventTrigger EventName="SelectionChanged">
  3918. <i:InvokeCommandAction Command="{Binding SetCurrentTab}" CommandParameter="{Binding ElementName=main_tab, Path=SelectedValue}"/>
  3919. </i:EventTrigger>
  3920. </i:Interaction.Triggers>
  3921. </TabControl>
  3922. <Grid Grid.Row="1" Background="Black">
  3923. <Grid.ColumnDefinitions>
  3924. <ColumnDefinition Width="1*"/>
  3925. <ColumnDefinition Width="1*"/>
  3926. <ColumnDefinition Width="2*"/>
  3927. <ColumnDefinition Width="1*"/>
  3928. <ColumnDefinition Width="1*"/>
  3929. </Grid.ColumnDefinitions>
  3930. <!--<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"/>-->
  3931. <Button Grid.Column="2" x:Name="btn_preview" Content="{Binding SelectedLanguage.Resources[PreviewLabel]}" Background="#F49811" Height="44" Command="{Binding make_preview}" Margin="0"/>
  3932. </Grid>
  3933. </Grid>
  3934. </Viewbox>
  3935. </Grid>
  3936. </UserControl>