|  |  |  | <UserControl x:Class="DyeingComputer.View.TechnologicalProcessView" | 
					
						
							|  |  |  |              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | 
					
						
							|  |  |  |              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | 
					
						
							|  |  |  |              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  | 
					
						
							|  |  |  |              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  | 
					
						
							|  |  |  |              xmlns:local="clr-namespace:DyeingComputer.View" | 
					
						
							|  |  |  |              xmlns:lang="clr-namespace:DyeingComputer.Properties"  | 
					
						
							|  |  |  |              xmlns:viewmodel="clr-namespace:DyeingComputer.ViewModel"  | 
					
						
							|  |  |  |              xmlns:ConvertMoels="clr-namespace:DyeingComputer.ConvertMoels" | 
					
						
							|  |  |  |              d:DataContext="{d:DesignInstance Type=viewmodel:MainWindowViewModel}" | 
					
						
							|  |  |  |              mc:Ignorable="d" Loaded="UserControl_Loaded" | 
					
						
							|  |  |  |              d:DesignHeight="1080" d:DesignWidth="1920"> | 
					
						
							|  |  |  |     <UserControl.Resources> | 
					
						
							|  |  |  |         <ConvertMoels:StatenConvert x:Key="StatenConvert"/> | 
					
						
							|  |  |  |         <ConvertMoels:StatenToImageConvert x:Key="StatenToImageConvert"/> | 
					
						
							|  |  |  |     </UserControl.Resources> | 
					
						
							|  |  |  |     <Grid> | 
					
						
							|  |  |  |         <DataGrid x:Name="GridSTEP" AlternationCount="2" IsReadOnly="True" SelectionChanged="Grid_SelectionChanged"      | 
					
						
							|  |  |  |                   Margin="630,40,0,0" d:ItemsSource="{d:SampleData ItemCount=90}" AutoGenerateColumns="False"  | 
					
						
							|  |  |  |                   ItemsSource="{Binding Path=TechnologicalProcess_View,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"     | 
					
						
							|  |  |  |                   HorizontalGridLinesBrush="#FFC9C9C9" VerticalGridLinesBrush="#FFC9C9C9" GridLinesVisibility="All"          | 
					
						
							|  |  |  |                   BorderThickness="1,1,1,1" ColumnHeaderHeight="40" HorizontalContentAlignment="Right" Grid.ColumnSpan="2" | 
					
						
							|  |  |  |                   AllowDrop="False" BorderBrush="{x:Null}" MinColumnWidth="30" CanUserResizeColumns="False"   | 
					
						
							|  |  |  |                   CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeRows="False"   | 
					
						
							|  |  |  |                   CanUserAddRows="True" CanUserDeleteRows="False" HeadersVisibility ="Column"  | 
					
						
							|  |  |  |                   Background="White" SelectionMode="Single" FontSize="15" MinHeight="632" TabIndex="1" Focusable="True" > | 
					
						
							|  |  |  |             <DataGrid.RowStyle > | 
					
						
							|  |  |  |                 <Style TargetType="{x:Type DataGridRow}"> | 
					
						
							|  |  |  |                     <Setter Property="IsHitTestVisible" Value="{Binding DataContext.IsInteractive,     | 
					
						
							|  |  |  |                         RelativeSource={RelativeSource AncestorType=DataGrid}}"/> | 
					
						
							|  |  |  |                     <Setter Property="Height" Value="100" /> | 
					
						
							|  |  |  |                     <Setter Property="FontSize" Value="25" /> | 
					
						
							|  |  |  |                     <Style.Triggers> | 
					
						
							|  |  |  |                         <Trigger Property="ItemsControl.AlternationIndex" Value="0"> | 
					
						
							|  |  |  |                             <Setter Property="Background" Value="#FFFFFFFF" /> | 
					
						
							|  |  |  |                         </Trigger> | 
					
						
							|  |  |  |                         <Trigger Property="ItemsControl.AlternationIndex" Value="1"> | 
					
						
							|  |  |  |                             <Setter Property="Background" Value="#FFF0F0F0" /> | 
					
						
							|  |  |  |                         </Trigger> | 
					
						
							|  |  |  |                         <Trigger Property="IsMouseOver" Value="False"/> | 
					
						
							|  |  |  |                         <DataTrigger Binding="{Binding RUN}" Value="1"> | 
					
						
							|  |  |  |                             <Setter Property="Background" Value="#FF00D6FF"/> | 
					
						
							|  |  |  |                         </DataTrigger> | 
					
						
							|  |  |  |                         <DataTrigger Binding="{Binding RUN}" Value="2"> | 
					
						
							|  |  |  |                             <Setter Property="Background" Value="Yellow"/> | 
					
						
							|  |  |  |                         </DataTrigger> | 
					
						
							|  |  |  |                         <DataTrigger Binding="{Binding RUN}" Value="9"> | 
					
						
							|  |  |  |                             <Setter Property="Background" Value="Red"/> | 
					
						
							|  |  |  |                         </DataTrigger> | 
					
						
							|  |  |  |                     </Style.Triggers> | 
					
						
							|  |  |  |                 </Style> | 
					
						
							|  |  |  |             </DataGrid.RowStyle> | 
					
						
							|  |  |  |             <DataGrid.CellStyle> | 
					
						
							|  |  |  |                 <Style TargetType="DataGridCell"> | 
					
						
							|  |  |  |                     <Setter Property="BorderThickness" Value="0"/> | 
					
						
							|  |  |  |                     <Setter Property="MinWidth" Value="20"/> | 
					
						
							|  |  |  |                     <Style.Triggers> | 
					
						
							|  |  |  |                         <Trigger Property="IsSelected" Value="True"> | 
					
						
							|  |  |  |                             <Setter Property="Background" Value="#FFC0C0C0"/> | 
					
						
							|  |  |  |                             <Setter Property="BorderBrush" Value="#FFC0C0C0"/> | 
					
						
							|  |  |  |                             <Setter Property="Foreground" Value="Black"/> | 
					
						
							|  |  |  |                         </Trigger> | 
					
						
							|  |  |  |                     </Style.Triggers> | 
					
						
							|  |  |  |                 </Style> | 
					
						
							|  |  |  |             </DataGrid.CellStyle> | 
					
						
							|  |  |  |             <DataGrid.Columns> | 
					
						
							|  |  |  |                 <!--列信息绑定--> | 
					
						
							|  |  |  |                 <DataGridTextColumn Binding="{Binding ProgramID}" Width="0" MinWidth="0" MaxWidth="0"/> | 
					
						
							|  |  |  |                 <DataGridTextColumn Binding="{Binding Program}" Width="0" MinWidth="0" MaxWidth="0"/> | 
					
						
							|  |  |  |                 <DataGridTextColumn Header="{x:Static lang:Resources.Step}" Binding="{Binding Step}"  | 
					
						
							|  |  |  |                                     Width="60" IsReadOnly="True"> | 
					
						
							|  |  |  |                     <DataGridTextColumn.ElementStyle> | 
					
						
							|  |  |  |                         <Style TargetType="TextBlock"> | 
					
						
							|  |  |  |                             <Setter Property="VerticalAlignment" Value="Center"/> | 
					
						
							|  |  |  |                             <Setter Property="HorizontalAlignment" Value="Center"/> | 
					
						
							|  |  |  |                         </Style> | 
					
						
							|  |  |  |                     </DataGridTextColumn.ElementStyle> | 
					
						
							|  |  |  |                 </DataGridTextColumn> | 
					
						
							|  |  |  |                 <DataGridTextColumn Header="{x:Static lang:Resources.Code}" Width="0" MinWidth="0"  | 
					
						
							|  |  |  |                                     MaxWidth="0" Binding="{Binding StepID}" IsReadOnly="True"/> | 
					
						
							|  |  |  |                 <DataGridTextColumn Header="{x:Static lang:Resources.Directives}"  Width="0" MinWidth="0" | 
					
						
							|  |  |  |                                     MaxWidth="0" Binding="{Binding StepName}" IsReadOnly="True"/> | 
					
						
							|  |  |  |                 <DataGridTextColumn Header="{x:Static lang:Resources.ParameterSet}"  Width="0" MinWidth="0"  | 
					
						
							|  |  |  |                                     MaxWidth="0" Binding="{Binding ParameterName}" IsReadOnly="True"/> | 
					
						
							|  |  |  |                 <DataGridTextColumn Binding="{Binding Parameter1}" Width="0" MinWidth="0" MaxWidth="0"/> | 
					
						
							|  |  |  |                 <DataGridTextColumn Binding="{Binding Parameter2}" Width="0" MinWidth="0" MaxWidth="0"/> | 
					
						
							|  |  |  |                 <DataGridTextColumn Binding="{Binding Parameter3}" Width="0" MinWidth="0" MaxWidth="0"/> | 
					
						
							|  |  |  |                 <DataGridTextColumn Binding="{Binding Parameter4}" Width="0" MinWidth="0" MaxWidth="0"/> | 
					
						
							|  |  |  |                 <DataGridTextColumn Binding="{Binding Parameter5}" Width="0" MinWidth="0" MaxWidth="0"/> | 
					
						
							|  |  |  |                 <DataGridTemplateColumn Header="{x:Static lang:Resources.Directives}" Width="100" IsReadOnly="True"> | 
					
						
							|  |  |  |                     <DataGridTemplateColumn.CellTemplate> | 
					
						
							|  |  |  |                         <DataTemplate> | 
					
						
							|  |  |  |                             <Image Source="{Binding Path=StepID,Converter={StaticResource StatenToImageConvert}}" Height="100" Width="100"/> | 
					
						
							|  |  |  |                         </DataTemplate> | 
					
						
							|  |  |  |                     </DataGridTemplateColumn.CellTemplate> | 
					
						
							|  |  |  |                 </DataGridTemplateColumn> | 
					
						
							|  |  |  |                 <DataGridTemplateColumn Header="{x:Static lang:Resources.Directives}" Width="600"  IsReadOnly="True"> | 
					
						
							|  |  |  |                     <DataGridTemplateColumn.CellTemplate> | 
					
						
							|  |  |  |                         <DataTemplate> | 
					
						
							|  |  |  |                             <StackPanel> | 
					
						
							|  |  |  |                                 <Border BorderBrush="#FFC9C9C9" BorderThickness="0,0,0,0.5"> | 
					
						
							|  |  |  |                                     <TextBlock Height="50" >                          | 
					
						
							|  |  |  |                                         <Run Text="{x:Static lang:Resources.Function}"/>         | 
					
						
							|  |  |  |                                         <Run Text=":"/>                        | 
					
						
							|  |  |  |                                         <Run Text="{Binding StepName}"/> | 
					
						
							|  |  |  |                                     </TextBlock> | 
					
						
							|  |  |  |                                 </Border> | 
					
						
							|  |  |  |                                 <Border BorderBrush="#FFC9C9C9" BorderThickness="0,0.5,0,0"> | 
					
						
							|  |  |  |                                     <TextBlock Height="50" >                          | 
					
						
							|  |  |  |                                         <Run Text="{x:Static lang:Resources.ParameterSet}"/>                            | 
					
						
							|  |  |  |                                         <Run Text=":"/>                       | 
					
						
							|  |  |  |                                         <Run Text="{Binding ParameterName}"/> | 
					
						
							|  |  |  |                                     </TextBlock> | 
					
						
							|  |  |  |                                 </Border> | 
					
						
							|  |  |  |                             </StackPanel> | 
					
						
							|  |  |  |                         </DataTemplate> | 
					
						
							|  |  |  |                     </DataGridTemplateColumn.CellTemplate> | 
					
						
							|  |  |  |                 </DataGridTemplateColumn> | 
					
						
							|  |  |  |                 <DataGridTemplateColumn Header="{x:Static lang:Resources.Subroutine}" Width="100" IsReadOnly="True"> | 
					
						
							|  |  |  |                     <DataGridTemplateColumn.CellTemplate> | 
					
						
							|  |  |  |                         <DataTemplate> | 
					
						
							|  |  |  |                             <Image Source="{Binding Path=StepID_S1,Converter={StaticResource StatenToImageConvert}}" Height="100" Width="100"/> | 
					
						
							|  |  |  |                         </DataTemplate> | 
					
						
							|  |  |  |                     </DataGridTemplateColumn.CellTemplate> | 
					
						
							|  |  |  |                 </DataGridTemplateColumn> | 
					
						
							|  |  |  |                 <DataGridTemplateColumn Header="{x:Static lang:Resources.Subroutine}" Width="100" IsReadOnly="True"> | 
					
						
							|  |  |  |                     <DataGridTemplateColumn.CellTemplate> | 
					
						
							|  |  |  |                         <DataTemplate> | 
					
						
							|  |  |  |                             <Image Source="{Binding Path=StepID_S2,Converter={StaticResource StatenToImageConvert}}" Height="100" Width="100"/> | 
					
						
							|  |  |  |                         </DataTemplate> | 
					
						
							|  |  |  |                     </DataGridTemplateColumn.CellTemplate> | 
					
						
							|  |  |  |                 </DataGridTemplateColumn> | 
					
						
							|  |  |  |                 <DataGridTemplateColumn Header="{x:Static lang:Resources.Subroutine}" Width="100" IsReadOnly="True"> | 
					
						
							|  |  |  |                     <DataGridTemplateColumn.CellTemplate> | 
					
						
							|  |  |  |                         <DataTemplate> | 
					
						
							|  |  |  |                             <Image Source="{Binding Path=StepID_S3  ,Converter={StaticResource StatenToImageConvert}}" Height="100" Width="100"/> | 
					
						
							|  |  |  |                         </DataTemplate> | 
					
						
							|  |  |  |                     </DataGridTemplateColumn.CellTemplate> | 
					
						
							|  |  |  |                 </DataGridTemplateColumn> | 
					
						
							|  |  |  |                 <DataGridTextColumn Header="{x:Static lang:Resources.Remark}" Binding="{Binding Remark}"  | 
					
						
							|  |  |  |                                     Width="*" IsReadOnly="True"> | 
					
						
							|  |  |  |                     <DataGridTextColumn.ElementStyle> | 
					
						
							|  |  |  |                         <Style TargetType="TextBlock"> | 
					
						
							|  |  |  |                             <Setter Property="VerticalAlignment" Value="Center"/> | 
					
						
							|  |  |  |                             <Setter Property="HorizontalAlignment" Value="Center"/> | 
					
						
							|  |  |  |                             <Setter Property="TextWrapping" Value="Wrap"/> | 
					
						
							|  |  |  |                             <Setter Property="TextTrimming" Value="CharacterEllipsis"/> | 
					
						
							|  |  |  |                         </Style> | 
					
						
							|  |  |  |                     </DataGridTextColumn.ElementStyle> | 
					
						
							|  |  |  |                 </DataGridTextColumn> | 
					
						
							|  |  |  |             </DataGrid.Columns> | 
					
						
							|  |  |  |         </DataGrid> | 
					
						
							|  |  |  |         <Grid Width="600" Margin="0,40,0,0" HorizontalAlignment="Left" > | 
					
						
							|  |  |  |             <ScrollViewer VerticalScrollBarVisibility="Auto" PanningMode="VerticalOnly"> | 
					
						
							|  |  |  |                 <TextBlock x:Name="log" FontSize="25" Background="White" Text="{Binding Sys_log}" /> | 
					
						
							|  |  |  |             </ScrollViewer> | 
					
						
							|  |  |  |             <DataGrid x:Name="Receip" IsHitTestVisible="False" Visibility="Collapsed" | 
					
						
							|  |  |  |                AutoGenerateColumns="False" FontSize="15" AlternationCount="2"  | 
					
						
							|  |  |  |                HorizontalGridLinesBrush="#FFC9C9C9" VerticalGridLinesBrush="#FFC9C9C9"                              | 
					
						
							|  |  |  |                ColumnHeaderHeight="40" > | 
					
						
							|  |  |  |                 <DataGrid.RowStyle > | 
					
						
							|  |  |  |                     <Style TargetType="{x:Type DataGridRow}"> | 
					
						
							|  |  |  |                         <Setter Property="IsHitTestVisible" Value="False"/> | 
					
						
							|  |  |  |                         <Setter Property="Height" Value="30" /> | 
					
						
							|  |  |  |                         <Setter Property="FontSize" Value="25" /> | 
					
						
							|  |  |  |                         <Style.Triggers> | 
					
						
							|  |  |  |                             <Trigger Property="ItemsControl.AlternationIndex" Value="0"> | 
					
						
							|  |  |  |                                 <Setter Property="Background" Value="#FFFFFFFF" /> | 
					
						
							|  |  |  |                             </Trigger> | 
					
						
							|  |  |  |                             <Trigger Property="ItemsControl.AlternationIndex" Value="1"> | 
					
						
							|  |  |  |                                 <Setter Property="Background" Value="#FFF0F0F0" /> | 
					
						
							|  |  |  |                             </Trigger> | 
					
						
							|  |  |  |                             <Trigger Property="IsMouseOver" Value="False"/> | 
					
						
							|  |  |  |                             <DataTrigger Binding="{Binding Amount}" Value="{x:Null}"> | 
					
						
							|  |  |  |                                 <Setter Property="Foreground" Value="#FFADADAD"/> | 
					
						
							|  |  |  |                             </DataTrigger> | 
					
						
							|  |  |  |                             <DataTrigger Binding="{Binding State}" Value="309"> | 
					
						
							|  |  |  |                                 <Setter Property="Foreground" Value="Red"/> | 
					
						
							|  |  |  |                             </DataTrigger> | 
					
						
							|  |  |  |                         </Style.Triggers> | 
					
						
							|  |  |  |                     </Style> | 
					
						
							|  |  |  |                 </DataGrid.RowStyle> | 
					
						
							|  |  |  |                 <DataGrid.CellStyle> | 
					
						
							|  |  |  |                     <Style TargetType="DataGridCell"> | 
					
						
							|  |  |  |                         <Setter Property="BorderThickness" Value="0"/> | 
					
						
							|  |  |  |                         <Setter Property="MinWidth" Value="20"/> | 
					
						
							|  |  |  |                         <Style.Triggers> | 
					
						
							|  |  |  |                             <Trigger Property="IsSelected" Value="True"> | 
					
						
							|  |  |  |                                 <Setter Property="Background" Value="#FFC0C0C0"/> | 
					
						
							|  |  |  |                                 <Setter Property="BorderBrush" Value="#FFC0C0C0"/> | 
					
						
							|  |  |  |                                 <Setter Property="Foreground" Value="Black"/> | 
					
						
							|  |  |  |                             </Trigger> | 
					
						
							|  |  |  |                         </Style.Triggers> | 
					
						
							|  |  |  |                     </Style> | 
					
						
							|  |  |  |                 </DataGrid.CellStyle> | 
					
						
							|  |  |  |                 <DataGrid.Columns> | 
					
						
							|  |  |  |                     <!--列信息绑定--> | 
					
						
							|  |  |  |                     <DataGridTextColumn Header="{x:Static lang:Resources.Step}" Binding="{Binding Step}" Width="80"/> | 
					
						
							|  |  |  |                     <DataGridTextColumn Header="{x:Static lang:Resources.State}" Width="80" > | 
					
						
							|  |  |  |                         <DataGridTextColumn.ElementStyle> | 
					
						
							|  |  |  |                             <Style TargetType="{x:Type TextBlock}"> | 
					
						
							|  |  |  |                                 <Setter Property="Text" Value="{Binding Path=State,Converter={StaticResource StatenConvert}}"/> | 
					
						
							|  |  |  |                             </Style> | 
					
						
							|  |  |  |                         </DataGridTextColumn.ElementStyle> | 
					
						
							|  |  |  |                     </DataGridTextColumn> | 
					
						
							|  |  |  |                     <DataGridTextColumn Header="{x:Static lang:Resources.ProductName}" Width="180" Binding="{Binding ProductName}"/> | 
					
						
							|  |  |  |                     <DataGridTextColumn Header="{x:Static lang:Resources.Grams}" Width="*" Binding="{Binding Grams}"/> | 
					
						
							|  |  |  |                     <DataGridTextColumn Header="{x:Static lang:Resources.Amount}" Width="*" Binding="{Binding Amount}"/> | 
					
						
							|  |  |  |                 </DataGrid.Columns> | 
					
						
							|  |  |  |             </DataGrid> | 
					
						
							|  |  |  |             <DataGrid x:Name="Parameter_set" Visibility="Collapsed" AutoGenerateColumns="False" FontSize="15" AlternationCount="2"     | 
					
						
							|  |  |  |                       HorizontalGridLinesBrush="#FFC9C9C9" VerticalGridLinesBrush="#FFC9C9C9" ColumnHeaderHeight="40"  | 
					
						
							|  |  |  |                       CellEditEnding="Parameter_set_CellEditEnding" BeginningEdit="Parameter_set_BeginningEdit"  > | 
					
						
							|  |  |  |                 <DataGrid.RowStyle > | 
					
						
							|  |  |  |                     <Style TargetType="{x:Type DataGridRow}"> | 
					
						
							|  |  |  |                         <Setter Property="Height" Value="30" /> | 
					
						
							|  |  |  |                         <Setter Property="FontSize" Value="25" /> | 
					
						
							|  |  |  |                         <Style.Triggers> | 
					
						
							|  |  |  |                             <Trigger Property="ItemsControl.AlternationIndex" Value="0"> | 
					
						
							|  |  |  |                                 <Setter Property="Background" Value="#FFFFFFFF" /> | 
					
						
							|  |  |  |                             </Trigger> | 
					
						
							|  |  |  |                             <Trigger Property="ItemsControl.AlternationIndex" Value="1"> | 
					
						
							|  |  |  |                                 <Setter Property="Background" Value="#FFF0F0F0" /> | 
					
						
							|  |  |  |                             </Trigger> | 
					
						
							|  |  |  |                             <Trigger Property="IsMouseOver" Value="False"/> | 
					
						
							|  |  |  |                         </Style.Triggers> | 
					
						
							|  |  |  |                     </Style> | 
					
						
							|  |  |  |                 </DataGrid.RowStyle> | 
					
						
							|  |  |  |                 <DataGrid.CellStyle> | 
					
						
							|  |  |  |                     <Style TargetType="DataGridCell"> | 
					
						
							|  |  |  |                         <Setter Property="BorderThickness" Value="0"/> | 
					
						
							|  |  |  |                         <Setter Property="MinWidth" Value="20"/> | 
					
						
							|  |  |  |                         <Style.Triggers> | 
					
						
							|  |  |  |                             <Trigger Property="IsSelected" Value="True"> | 
					
						
							|  |  |  |                                 <Setter Property="Background" Value="#FFC0C0C0"/> | 
					
						
							|  |  |  |                                 <Setter Property="BorderBrush" Value="#FFC0C0C0"/> | 
					
						
							|  |  |  |                                 <Setter Property="Foreground" Value="Black"/> | 
					
						
							|  |  |  |                             </Trigger> | 
					
						
							|  |  |  |                         </Style.Triggers> | 
					
						
							|  |  |  |                     </Style> | 
					
						
							|  |  |  |                 </DataGrid.CellStyle> | 
					
						
							|  |  |  |                 <DataGrid.Columns> | 
					
						
							|  |  |  |                     <!--列信息绑定--> | 
					
						
							|  |  |  |                     <DataGridTextColumn Header="{x:Static lang:Resources.ParameterSet}" Binding="{Binding ParameterSet}" Width="*" IsReadOnly="True"/> | 
					
						
							|  |  |  |                     <DataGridTextColumn Header="{x:Static lang:Resources.Value}" Width="*" Binding="{Binding Value}"/> | 
					
						
							|  |  |  |                     <DataGridTextColumn MaxWidth="0" Binding="{Binding ID}"/> | 
					
						
							|  |  |  |                 </DataGrid.Columns> | 
					
						
							|  |  |  |             </DataGrid> | 
					
						
							|  |  |  |         </Grid> | 
					
						
							|  |  |  |         <TextBlock x:Name="name" HorizontalAlignment="Left" Margin="600,0,0,0" TextWrapping="Wrap"  | 
					
						
							|  |  |  |                    FontSize="24" Background="#FFD0D0D0" Text="{Binding Program_Name}" Height="30"  | 
					
						
							|  |  |  |                    Block.TextAlignment="Center"> | 
					
						
							|  |  |  |             <TextBlock.LayoutTransform> | 
					
						
							|  |  |  |                 <!--文字同样旋转90度--> | 
					
						
							|  |  |  |                 <RotateTransform Angle="270"/> | 
					
						
							|  |  |  |             </TextBlock.LayoutTransform> | 
					
						
							|  |  |  |         </TextBlock> | 
					
						
							|  |  |  |         <WrapPanel Orientation="Horizontal" Background="#FFCCCCCC" VerticalAlignment="Top"> | 
					
						
							|  |  |  |             <Button Content="{x:Static lang:Resources.DyeingMachine}" FontSize="20" | 
					
						
							|  |  |  |                     HorizontalAlignment="Left" Height="40" VerticalAlignment="Top"  | 
					
						
							|  |  |  |                     Width="200" Background="White" Click="DyeingMachine_Click"/> | 
					
						
							|  |  |  |             <Button Content="{x:Static lang:Resources.Receipt}" FontSize="20" | 
					
						
							|  |  |  |                     HorizontalAlignment="Left" Height="40" VerticalAlignment="Top" | 
					
						
							|  |  |  |                     Width="200" Background="White" Click="Receipt_Click"/> | 
					
						
							|  |  |  |             <Button Content="{x:Static lang:Resources.ParameterSet}" FontSize="20"  | 
					
						
							|  |  |  |                     HorizontalAlignment="Left" Height="40" VerticalAlignment="Top"  | 
					
						
							|  |  |  |                     Width="200" Background="White" Click="ParameterSet_Click"/> | 
					
						
							|  |  |  |         </WrapPanel> | 
					
						
							|  |  |  |         <WrapPanel Orientation="Horizontal" Background="#FFCCCCCC" VerticalAlignment="Top" Margin="630,0,0,0"> | 
					
						
							|  |  |  |             <Button Content="{x:Static lang:Resources.edit}" x:Name="ProgramgroupView_edit" FontSize="20" | 
					
						
							|  |  |  |                     HorizontalAlignment="Left" Height="40" VerticalAlignment="Top" Width="200" Background="White"  | 
					
						
							|  |  |  |                     Click="ProgramgroupView_edit_Click" IsEnabled="{Binding UserButton}"/> | 
					
						
							|  |  |  |             <Button Content="{x:Static lang:Resources.Delete}" x:Name="ProgramgroupView_del" FontSize="20"  | 
					
						
							|  |  |  |                     HorizontalAlignment="Left" Height="40" VerticalAlignment="Top" Width="200" Background="White"  | 
					
						
							|  |  |  |                     Click="ProgramgroupView_del_Click" IsEnabled="{Binding UserButton}"/> | 
					
						
							|  |  |  |             <Button Content="{x:Static lang:Resources.Insert}" x:Name="ProgramgroupView_Insert" FontSize="20" | 
					
						
							|  |  |  |                     HorizontalAlignment="Left" Height="40" VerticalAlignment="Top" Width="200" Background="White"  | 
					
						
							|  |  |  |                     Click="ProgramgroupView_Insert_Click" IsEnabled="{Binding UserButton}"/> | 
					
						
							|  |  |  |             <Button Content="{x:Static lang:Resources.Jump}" x:Name="ProgramgroupView_Jump" FontSize="20"  | 
					
						
							|  |  |  |                     HorizontalAlignment="Left" Height="40" VerticalAlignment="Top" Width="200" Background="White"  | 
					
						
							|  |  |  |                     Click="ProgramgroupView_Jump_Click"  IsEnabled="{Binding UserButton}"/> | 
					
						
							|  |  |  |             <Button Content="{x:Static lang:Resources.R_P}" x:Name="ProgramgroupView_run" FontSize="20"  | 
					
						
							|  |  |  |                     HorizontalAlignment="Left" Height="40" VerticalAlignment="Top" Width="200" Background="White"  | 
					
						
							|  |  |  |                     Command="{Binding ProgramgroupView_run}"/> | 
					
						
							|  |  |  |             <Button Content="{x:Static lang:Resources.StopProcess}" x:Name="ProgramgroupView_stop" FontSize="20"  | 
					
						
							|  |  |  |                     HorizontalAlignment="Left" Height="40" VerticalAlignment="Top" Width="200" Background="White"  | 
					
						
							|  |  |  |                     IsEnabled="{Binding UserButton}" Command="{Binding ProgramgroupView_stop}"/> | 
					
						
							|  |  |  |         </WrapPanel> | 
					
						
							|  |  |  |     </Grid> | 
					
						
							|  |  |  | </UserControl> |