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