| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 | <Window x:Class="Aitex.UI.RecipeEditor.View.RecipeInfoEditor"        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"        xmlns:recipeEditor="clr-namespace:Aitex.UI.RecipeEditor"        Title="{DynamicResource GlobalLableInfoProperty}" Height="530" Width="680" ResizeMode="NoResize" Topmost="True" ShowInTaskbar="True" Background="#FFC5D0D8" WindowStartupLocation="CenterOwner">    <Window.Resources>        <recipeEditor:BoolConverter x:Key="boolConverter"/>    </Window.Resources>    <Grid>        <Grid.RowDefinitions>            <RowDefinition Height="423" />            <RowDefinition Height="45" />        </Grid.RowDefinitions>        <StackPanel>            <GroupBox Header="{DynamicResource GlobalLableInfoOwner}" FontSize="14" Height="101" VerticalAlignment="Top">                <Grid>                    <Label Content="{DynamicResource GlobalLableInfoLastModifiedBy}" Height="28" HorizontalAlignment="Left" Margin="6,10,0,0" VerticalAlignment="Top" FontSize="13" />                    <Label Content="{Binding LastModifiedBy}" HorizontalAlignment="Left" Margin="139,10,0,40" FontSize="13" />                    <Label Content="{DynamicResource GlobalLableInfoLastRevisionTime}" Height="28" HorizontalAlignment="Left" Margin="6,42,0,0" VerticalAlignment="Top" FontSize="13" />                    <Label Content="{Binding LastRevisionTime}" Height="28" HorizontalAlignment="Left" Margin="139,42,0,0" VerticalAlignment="Top" FontSize="13" />                    <!--Label Content="压力模式:" Height="28" HorizontalAlignment="Left" Margin="6,48,0,0" VerticalAlignment="Top" FontSize="13"  />                    <ComboBox Text="{Binding PressureMode,Mode=TwoWay}" IsEditable="True" Height="23" HorizontalAlignment="Left" Margin="89,51,0,0" Name="comboBox_PressureMode" VerticalAlignment="Top" Width="120" /-->                </Grid>            </GroupBox>            <GroupBox Header="{DynamicResource GlobalLableInfoLastDescription}" FontSize="14" Height="80" VerticalAlignment="Center" >                <TextBox x:Name="desc" Text="{Binding Description,Mode=OneWay}" Margin="0"  Background="#8DFFFFFF" AcceptsReturn="True" AcceptsTab="True" />            </GroupBox>            <GroupBox Header="{DynamicResource GlobalLableInfoCommonSetting}" FontSize="14" Height="227" VerticalAlignment="Bottom">                <Grid>                    <Grid.RowDefinitions>                        <RowDefinition Height="50"/>                        <RowDefinition Height="50"/>                        <RowDefinition Height="50"/>                        <RowDefinition Height="50"/>                    </Grid.RowDefinitions>                    <Grid.ColumnDefinitions>                        <ColumnDefinition Width="192" />                        <ColumnDefinition Width="138" />                        <ColumnDefinition Width="192" />                        <ColumnDefinition Width="138" />                    </Grid.ColumnDefinitions>                    <Rectangle Grid.Row="0" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBlock Grid.Row="0" Grid.Column="0" FontSize="15" Margin="5" VerticalAlignment="Center" Text="{DynamicResource GlobalLableInfoBasePressure}" Foreground="White" />                    <Rectangle Grid.Row="0" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBox  Grid.Row="0" Grid.Column="1"  PreviewTextInput="OnPreviewTextInput" Margin="5" TextAlignment="Center" FontSize="11" x:Name="basePressure" Text="{Binding BasePressure,Mode=OneWay}"/>                    <Rectangle Grid.Row="0" Grid.Column="2" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBlock Grid.Row="0" Grid.Column="2" FontSize="15" Margin="5" VerticalAlignment="Center"  Text="{DynamicResource GlobalLableInfoPumpDownLimit}" Foreground="White" />                    <Rectangle Grid.Row="0" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBox  Grid.Row="0" Grid.Column="3"  PreviewTextInput="OnPreviewTextInput" Margin="5" TextAlignment="Center" FontSize="11" x:Name="pumpDownLimit" Text="{Binding PumpDownLimit,Mode=OneWay}" />                    <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Margin="5" VerticalAlignment="Center" Text="{DynamicResource GlobalLableInfoPurgeActive}" Foreground="White" />                    <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <CheckBox  Grid.Row="1" Grid.Column="1" Margin="60 10 0 0" x:Name="purgeActive" IsChecked="{Binding Path=PurgeActive, Converter={StaticResource boolConverter}, Mode=OneWay}"/>                    <Rectangle Grid.Row="1" Grid.Column="2" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBlock Grid.Row="1" Grid.Column="2" FontSize="15" Margin="5" VerticalAlignment="Center" Text="{DynamicResource GlobalLableInfoSubstrateTemp}" Foreground="White" />                    <Rectangle Grid.Row="1" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBox  Grid.Row="1" Grid.Column="3"  PreviewTextInput="OnPreviewTextInput" Margin="5" TextAlignment="Center" FontSize="11" x:Name="substrateTemp" Text="{Binding SubstrateTemp,Mode=OneWay}" />                    <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBlock Grid.Row="2" Grid.Column="0" FontSize="15" Margin="5" VerticalAlignment="Center" Text="{DynamicResource PumpingPinState}" Foreground="White" />                    <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <ComboBox Grid.Row="2" Grid.Column="1" Name="pumpingPinState">                        <ComboBoxItem Content="Up"></ComboBoxItem>                        <ComboBoxItem Content="Down"></ComboBoxItem>                    </ComboBox>                    <Rectangle Grid.Row="2" Grid.Column="2" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBlock Grid.Row="2" Grid.Column="2" FontSize="15" Margin="5" VerticalAlignment="Center" Text="{DynamicResource GlobalLableInfoNotToPurgeOrVent}" Foreground="White" />                    <Rectangle Grid.Row="2" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <CheckBox  Grid.Row="2" Grid.Column="3" Margin="60 10 0 0" x:Name="notToPurgeOrVent" IsChecked="{Binding Path=NotToPurgeOrVent, Converter={StaticResource boolConverter}, Mode=OneWay}"/>                    <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Margin="5" VerticalAlignment="Center" Text="{DynamicResource VentingPinState}" Foreground="White" />                    <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <ComboBox Grid.Row="3" Grid.Column="1" Name="ventingPinState">                        <ComboBoxItem Content="Up"></ComboBoxItem>                        <ComboBoxItem Content="Down"></ComboBoxItem>                    </ComboBox>                    <Rectangle Grid.Row="3" Grid.Column="2" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBlock Grid.Row="3" Grid.Column="2" FontSize="15" Margin="5" VerticalAlignment="Center"  Text="{DynamicResource PinDownPressure}" Foreground="White" />                    <Rectangle Grid.Row="3" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>                    <TextBox  Grid.Row="3" Grid.Column="3"  PreviewTextInput="OnPreviewTextInput" Margin="5" TextAlignment="Center" FontSize="11" x:Name="pinDownPressure" Text="{Binding PinDownPressure,Mode=OneWay}" />                </Grid>            </GroupBox>        </StackPanel>        <Grid Grid.Row="1">            <Button Content="{DynamicResource GlobalLableButtonOk}" Margin="254,10,0,0" Width="70" Height="24" HorizontalAlignment="Left" Click="Button_OK_Click" />            <Button Content="{DynamicResource GlobalLableButtonCancel}" Margin="385,10,0,0" Width="70" Height="24" HorizontalAlignment="Left" Click="Button_Cancel_Click" />        </Grid>    </Grid></Window>
 |