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