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