| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392 | 
							- <UserControl
 
-     x:Class="FurnaceUI.Views.Recipes.RecipesCompareView"
 
-     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 
-     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
-     xmlns:cal="http://www.caliburn.org"
 
-     xmlns:controls="clr-namespace:OpenSEMI.Controls.Controls;assembly=MECF.Framework.UI.Client"
 
-     xmlns:converter="clr-namespace:MECF.Framework.UI.Client.Ctrlib.Converter;assembly=MECF.Framework.UI.Client"
 
-     xmlns:converter1="clr-namespace:FurnaceUI.Converter"
 
-     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 
-     xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
 
-     xmlns:interop="clr-namespace:Microsoft.DwayneNeed.Interop;assembly=Microsoft.DwayneNeed"
 
-     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 
-     xmlns:wf="[wf ]clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
 
-     d:DesignHeight="900"
 
-     d:DesignWidth="1500"
 
-     FontFamily="Segoe"
 
-     mc:Ignorable="d">
 
-     <UserControl.Resources>
 
-         <converter1:StringShowNameConvert x:Key="stringConvert" />
 
-     </UserControl.Resources>
 
-     <Grid Margin="-5">
 
-         <Grid.RowDefinitions>
 
-             <RowDefinition Height="70" />
 
-             <RowDefinition Height="40" />
 
-             <RowDefinition Height="*" />
 
-         </Grid.RowDefinitions>
 
-         <Border
 
-             Grid.Row="0"
 
-             Background="{DynamicResource Table_BG_Content}"
 
-             BorderBrush="{DynamicResource Table_BD}"
 
-             BorderThickness="1"
 
-             CornerRadius="5,5,0,0">
 
-             <Grid>
 
-                 <Grid.ColumnDefinitions>
 
-                     <ColumnDefinition Width="200" />
 
-                     <ColumnDefinition Width="200" />
 
-                     <ColumnDefinition Width="200" />
 
-                     <ColumnDefinition Width="200" />
 
-                     <ColumnDefinition Width="200" />
 
-                     <ColumnDefinition Width="*" />
 
-                 </Grid.ColumnDefinitions>
 
-                 <Border
 
-                     Grid.Column="0"
 
-                     Width="180"
 
-                     Margin="5"
 
-                     Padding="3"
 
-                     HorizontalAlignment="Left"
 
-                     BorderBrush="{DynamicResource Table_BD}"
 
-                     BorderThickness="1"
 
-                     IsEnabled="{Binding Path=IsStepModel}">
 
-                     <Grid>
 
-                         <Grid.RowDefinitions>
 
-                             <RowDefinition Height="*" />
 
-                             <RowDefinition Height="*" />
 
-                         </Grid.RowDefinitions>
 
-                         <CheckBox
 
-                             VerticalAlignment="Center"
 
-                             VerticalContentAlignment="Center"
 
-                             Content="Show Differing Steps"
 
-                             IsChecked="{Binding Path=IsShowDiffSteps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
 
-                         <CheckBox
 
-                             Grid.Row="1"
 
-                             VerticalAlignment="Center"
 
-                             VerticalContentAlignment="Center"
 
-                             Content="Show All Steps"
 
-                             IsChecked="{Binding Path=IsShowAllSteps, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
 
-                     </Grid>
 
-                 </Border>
 
-                 <Border
 
-                     Grid.Column="1"
 
-                     Width="180"
 
-                     Margin="5"
 
-                     Padding="3"
 
-                     HorizontalAlignment="Left"
 
-                     BorderBrush="{DynamicResource Table_BD}"
 
-                     BorderThickness="1"
 
-                     IsEnabled="{Binding Path=IsStepModel}">
 
-                     <Grid>
 
-                         <Grid.RowDefinitions>
 
-                             <RowDefinition Height="*" />
 
-                             <RowDefinition Height="*" />
 
-                         </Grid.RowDefinitions>
 
-                         <CheckBox
 
-                             VerticalAlignment="Center"
 
-                             VerticalContentAlignment="Center"
 
-                             Content="Show Differing Parameters"
 
-                             IsChecked="{Binding Path=IsShowDiffParams, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
 
-                         <CheckBox
 
-                             Grid.Row="1"
 
-                             VerticalAlignment="Center"
 
-                             VerticalContentAlignment="Center"
 
-                             Content="Show All Parameters"
 
-                             IsChecked="{Binding Path=IsShowAllParams, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
 
-                     </Grid>
 
-                 </Border>
 
-                 <Border
 
-                     Grid.Column="2"
 
-                     Width="180"
 
-                     Margin="5"
 
-                     Padding="3"
 
-                     HorizontalAlignment="Left"
 
-                     BorderBrush="{DynamicResource Table_BD}"
 
-                     BorderThickness="1"
 
-                     IsEnabled="{Binding Path=IsStepModel}">
 
-                     <Grid>
 
-                         <Grid.RowDefinitions>
 
-                             <RowDefinition Height="*" />
 
-                             <RowDefinition Height="*" />
 
-                         </Grid.RowDefinitions>
 
-                         <CheckBox
 
-                             VerticalAlignment="Center"
 
-                             VerticalContentAlignment="Center"
 
-                             Content="Compare By Step #"
 
-                             IsChecked="{Binding Path=IsCompareByStep, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
 
-                         <CheckBox
 
-                             Grid.Row="1"
 
-                             VerticalAlignment="Center"
 
-                             VerticalContentAlignment="Center"
 
-                             Content="Compare By Step Name"
 
-                             IsChecked="{Binding Path=IsCompareBySName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
 
-                     </Grid>
 
-                 </Border>
 
-                 <Border
 
-                     Grid.Column="3"
 
-                     Width="180"
 
-                     Margin="5"
 
-                     Padding="3"
 
-                     HorizontalAlignment="Left"
 
-                     BorderBrush="{DynamicResource Table_BD}"
 
-                     BorderThickness="1">
 
-                     <Grid>
 
-                         <Grid.RowDefinitions>
 
-                             <RowDefinition Height="*" />
 
-                             <RowDefinition Height="*" />
 
-                         </Grid.RowDefinitions>
 
-                         <CheckBox
 
-                             VerticalAlignment="Center"
 
-                             VerticalContentAlignment="Center"
 
-                             Content="Step Mode"
 
-                             IsChecked="{Binding Path=IsStepModel, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
 
-                         <CheckBox
 
-                             Grid.Row="1"
 
-                             VerticalAlignment="Center"
 
-                             VerticalContentAlignment="Center"
 
-                             Content="Whole Mode"
 
-                             IsChecked="{Binding Path=IsWholeModel, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
 
-                     </Grid>
 
-                 </Border>
 
-                 <Border
 
-                     Grid.Column="4"
 
-                     Width="180"
 
-                     Margin="5"
 
-                     Padding="3"
 
-                     HorizontalAlignment="Left"
 
-                     BorderBrush="{DynamicResource Table_BD}"
 
-                     BorderThickness="1">
 
-                     <Grid>
 
-                         <Grid.RowDefinitions>
 
-                             <RowDefinition Height="*" />
 
-                             <RowDefinition Height="*" />
 
-                         </Grid.RowDefinitions>
 
-                         <Grid.ColumnDefinitions>
 
-                             <ColumnDefinition Width="Auto" />
 
-                             <ColumnDefinition Width="5" />
 
-                             <ColumnDefinition />
 
-                         </Grid.ColumnDefinitions>
 
-                         <Rectangle
 
-                             Width="50"
 
-                             Height="12"
 
-                             VerticalAlignment="Center"
 
-                             Fill="Tomato"
 
-                             Stroke="Black"
 
-                             StrokeThickness="1" />
 
-                         <TextBlock
 
-                             Grid.Column="2"
 
-                             VerticalAlignment="Center"
 
-                             FontSize="14"
 
-                             Text="Difference" />
 
-                         <Rectangle
 
-                             Grid.Row="1"
 
-                             Width="50"
 
-                             Height="12"
 
-                             VerticalAlignment="Center"
 
-                             Fill="Gold"
 
-                             Stroke="Black"
 
-                             StrokeThickness="1" />
 
-                         <TextBlock
 
-                             Grid.Row="1"
 
-                             Grid.Column="2"
 
-                             VerticalAlignment="Center"
 
-                             FontSize="14"
 
-                             Text="Omit/Skip" />
 
-                     </Grid>
 
-                 </Border>
 
-             </Grid>
 
-         </Border>
 
-         <Grid Grid.Row="1" Margin="0,8,0,0">
 
-             <Grid.ColumnDefinitions>
 
-                 <ColumnDefinition Width="100" />
 
-                 <ColumnDefinition Width="200*" />
 
-                 <ColumnDefinition Width="430" />
 
-                 <ColumnDefinition Width="100" />
 
-                 <ColumnDefinition Width="200*" />
 
-                 <ColumnDefinition Width="400" />
 
-             </Grid.ColumnDefinitions>
 
-             <Border
 
-                 Grid.Column="0"
 
-                 Padding="5,1,0,1"
 
-                 Background="{DynamicResource Table_BG_Title}"
 
-                 BorderBrush="{DynamicResource Table_BD}"
 
-                 BorderThickness="1,1,1,1">
 
-                 <TextBlock
 
-                     VerticalAlignment="Center"
 
-                     FontSize="13"
 
-                     Foreground="{DynamicResource FG_Black}"
 
-                     Text="Recipe Name"
 
-                     TextWrapping="Wrap" />
 
-             </Border>
 
-             <Border
 
-                 Grid.Column="1"
 
-                 Padding="5,1"
 
-                 Background="{DynamicResource Table_BG_Content}"
 
-                 BorderBrush="{DynamicResource Table_BD}"
 
-                 BorderThickness="0,1,1,1">
 
-                 <TextBlock
 
-                     HorizontalAlignment="Left"
 
-                     VerticalAlignment="Center"
 
-                     FontSize="13"
 
-                     Foreground="{DynamicResource FG_Black}"
 
-                     Text="{Binding RecipeA, Converter={StaticResource stringConvert}, ConverterParameter=15}"
 
-                     TextWrapping="Wrap"
 
-                     ToolTip="{Binding RecipeA}" />
 
-             </Border>
 
-             <StackPanel
 
-                 Grid.Column="2"
 
-                 Width="400"
 
-                 Orientation="Horizontal">
 
-                 <Button
 
-                     Width="80"
 
-                     Height="25"
 
-                     Margin="5,0,0,0"
 
-                     Padding="5,1"
 
-                     HorizontalAlignment="Left"
 
-                     Content="Select"
 
-                     FontSize="13">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="SelectA" />
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-                 <Button
 
-                     Width="80"
 
-                     Height="25"
 
-                     Margin="5,0,0,0"
 
-                     Padding="5,1"
 
-                     HorizontalAlignment="Left"
 
-                     Content="Remove"
 
-                     FontSize="13"
 
-                     IsEnabled="{Binding EnableButtonRemoveA}">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="RemoveA" />
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-                 <!--<Button
 
-                     Width="70"
 
-                     Height="25"
 
-                     Margin="35,0,0,0"
 
-                     Padding="5,1"
 
-                     HorizontalAlignment="Left"
 
-                     Content="Undo"
 
-                     FontSize="13"
 
-                     IsEnabled="{Binding IsSelectButtonEnable}">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="UndoB" />
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-                 <Button
 
-                     Width="70"
 
-                     Height="25"
 
-                     Margin="15,0,0,0"
 
-                     Padding="5,1"
 
-                     HorizontalAlignment="Left"
 
-                     Content="Save"
 
-                     FontSize="13"
 
-                     IsEnabled="{Binding IsSelectButtonEnable}">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="SaveA" />
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>-->
 
-             </StackPanel>
 
-             <Border
 
-                 Grid.Column="3"
 
-                 Padding="5,1,0,1"
 
-                 Background="{DynamicResource Table_BG_Title}"
 
-                 BorderBrush="{DynamicResource Table_BD}"
 
-                 BorderThickness="1,1,1,1">
 
-                 <TextBlock
 
-                     VerticalAlignment="Center"
 
-                     FontSize="13"
 
-                     Foreground="{DynamicResource FG_Black}"
 
-                     Text="Recipe Name"
 
-                     TextWrapping="Wrap" />
 
-             </Border>
 
-             <Border
 
-                 Grid.Column="4"
 
-                 Padding="5,1"
 
-                 Background="{DynamicResource Table_BG_Content}"
 
-                 BorderBrush="{DynamicResource Table_BD}"
 
-                 BorderThickness="0,1,1,1">
 
-                 <TextBlock
 
-                     HorizontalAlignment="Left"
 
-                     VerticalAlignment="Center"
 
-                     FontSize="13"
 
-                     Foreground="{DynamicResource FG_Black}"
 
-                     Text="{Binding RecipeB, Converter={StaticResource stringConvert}, ConverterParameter=15}"
 
-                     TextWrapping="Wrap"
 
-                     ToolTip="{Binding RecipeB}" />
 
-             </Border>
 
-             <StackPanel
 
-                 Grid.Column="5"
 
-                 Width="400"
 
-                 Orientation="Horizontal">
 
-                 <Button
 
-                     Width="80"
 
-                     Height="25"
 
-                     Margin="15,0,0,0"
 
-                     Padding="5,1"
 
-                     HorizontalAlignment="Left"
 
-                     Content="Select"
 
-                     FontSize="13">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="SelectB" />
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-                 <Button
 
-                     Width="80"
 
-                     Height="25"
 
-                     Margin="5,0,0,0"
 
-                     Padding="5,1"
 
-                     HorizontalAlignment="Left"
 
-                     Content="Remove"
 
-                     FontSize="13"
 
-                     IsEnabled="{Binding EnableButtonRemoveB}">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="RemoveB" />
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-                 <!--<Button
 
-                     Width="70"
 
-                     Height="25"
 
-                     Margin="35,0,0,0"
 
-                     Padding="5,1"
 
-                     HorizontalAlignment="Left"
 
-                     Content="Undo"
 
-                     FontSize="13"
 
-                     IsEnabled="{Binding IsSelectButtonEnable}">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="UndoA" />
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-                 <Button
 
-                     Width="70"
 
-                     Height="25"
 
-                     Margin="15,0,0,0"
 
-                     Padding="5,1"
 
-                     HorizontalAlignment="Left"
 
-                     Content="Save"
 
-                     FontSize="13"
 
-                     IsEnabled="{Binding IsSelectButtonEnable}">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="SaveB" />
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>-->
 
-             </StackPanel>
 
-         </Grid>
 
-         <Grid Grid.Row="2" Visibility="{Binding WholeVisibility}">
 
-             <Grid.ColumnDefinitions>
 
-                 <ColumnDefinition Width="100*" />
 
-                 <ColumnDefinition Width="100*" />
 
-             </Grid.ColumnDefinitions>
 
-             <Border
 
-                 Grid.Column="0"
 
-                 Margin="0,1,15,0"
 
-                 HorizontalAlignment="Stretch"
 
-                 Background="{DynamicResource Table_BG_Content}"
 
-                 BorderBrush="{DynamicResource Table_BD}"
 
-                 BorderThickness="1"
 
-                 CornerRadius=" 0">
 
-                 <Grid>
 
-                     <Grid.RowDefinitions>
 
-                         <RowDefinition Height="0" />
 
-                         <RowDefinition Height="0" />
 
-                         <RowDefinition Height="774*" />
 
-                     </Grid.RowDefinitions>
 
-                     <!--<Grid
 
-                         Grid.Row="0"
 
-                         Grid.RowSpan="2"
 
-                         Grid.Column="0">
 
-                         <Grid.RowDefinitions>
 
-                             <RowDefinition Height="20" />
 
-                             <RowDefinition Height="20" />
 
-                         </Grid.RowDefinitions>
 
-                         <Grid.ColumnDefinitions>
 
-                             <ColumnDefinition Width="50" />
 
-                             <ColumnDefinition Width="50" />
 
-                             <ColumnDefinition Width="*" />
 
-                             <ColumnDefinition Width="100" />
 
-                         </Grid.ColumnDefinitions>
 
-                         <TextBlock
 
-                             Grid.Column="0"
 
-                             Margin="10,5,0,0"
 
-                             Text="Line :" />
 
-                         <TextBlock
 
-                             Grid.Column="1"
 
-                             Margin="5,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding LineSelectionA.LineNumber}" />
 
-                         <TextBox
 
-                             Grid.RowSpan="2"
 
-                             Grid.Column="2"
 
-                             Height="40"
 
-                             Margin="5,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding LineSelectionA.LineText, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
 
-                             TextWrapping="Wrap" />
 
-                         <Button
 
-                             Grid.RowSpan="2"
 
-                             Grid.Column="3"
 
-                             Margin="5,2,5,0"
 
-                             Content="Modify">
 
-                             <i:Interaction.Triggers>
 
-                                 <i:EventTrigger EventName="Click">
 
-                                     <cal:ActionMessage MethodName="SaveLineA" />
 
-                                 </i:EventTrigger>
 
-                             </i:Interaction.Triggers>
 
-                         </Button>
 
-                     </Grid>-->
 
-                     <DataGrid
 
-                         x:Name="WholeGridA"
 
-                         Grid.Row="2"
 
-                         Grid.RowSpan="2"
 
-                         Grid.Column="0"
 
-                         Margin="5"
 
-                         AutoGenerateColumns="False"
 
-                         Background="White"
 
-                         BorderThickness="0.1"
 
-                         CanUserAddRows="False"
 
-                         CanUserDeleteRows="False"
 
-                         FontFamily="Segoe"
 
-                         FontSize="13"
 
-                         IsReadOnly="True"
 
-                         ItemsSource="{Binding WholeListA, Mode=OneWay}"
 
-                         SelectedItem="{Binding LineSelectionA}"
 
-                         SelectionMode="Single"
 
-                         SelectionUnit="FullRow">
 
-                         <i:Interaction.Triggers>
 
-                             <i:EventTrigger EventName="SelectionChanged">
 
-                                 <cal:ActionMessage MethodName="WholeGridSelectionChangedA" />
 
-                             </i:EventTrigger>
 
-                         </i:Interaction.Triggers>
 
-                         <DataGrid.Columns>
 
-                             <!--<DataGridTemplateColumn Width="100" Header="Copy To Left">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <Button
 
-                                             Width="60"
 
-                                             Height="20"
 
-                                             Padding="0,-3"
 
-                                             Content=">"
 
-                                             FontSize="20"
 
-                                             Visibility="{Binding CopyVisibility}">
 
-                                             <i:Interaction.Triggers>
 
-                                                 <i:EventTrigger EventName="Click">
 
-                                                     <cal:ActionMessage MethodName="LineCopyToRight">
 
-                                                         <cal:Parameter Value="{Binding}" />
 
-                                                     </cal:ActionMessage>
 
-                                                 </i:EventTrigger>
 
-                                             </i:Interaction.Triggers>
 
-                                         </Button>
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                             </DataGridTemplateColumn>-->
 
-                             <DataGridTemplateColumn
 
-                                 Width="55"
 
-                                 CanUserSort="True"
 
-                                 Header="Line #"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding LineNumber}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                             <DataGridTemplateColumn
 
-                                 Width="*"
 
-                                 CanUserSort="True"
 
-                                 Header="Line Text"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding LineText}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                         </DataGrid.Columns>
 
-                     </DataGrid>
 
-                 </Grid>
 
-             </Border>
 
-             <GridSplitter
 
-                 Grid.Column="1"
 
-                 Width="10"
 
-                 HorizontalAlignment="Left"
 
-                 Cursor="SizeWE">
 
-                 <GridSplitter.Resources>
 
-                     <Style TargetType="{x:Type GridSplitter}">
 
-                         <Setter Property="PreviewStyle">
 
-                             <Setter.Value>
 
-                                 <Style>
 
-                                     <Setter Property="Control.Template">
 
-                                         <Setter.Value>
 
-                                             <ControlTemplate>
 
-                                                 <Rectangle Fill="#80000000" />
 
-                                             </ControlTemplate>
 
-                                         </Setter.Value>
 
-                                     </Setter>
 
-                                 </Style>
 
-                             </Setter.Value>
 
-                         </Setter>
 
-                         <Setter Property="Template">
 
-                             <Setter.Value>
 
-                                 <ControlTemplate TargetType="{x:Type GridSplitter}">
 
-                                     <Border BorderThickness="{TemplateBinding BorderThickness}" />
 
-                                 </ControlTemplate>
 
-                             </Setter.Value>
 
-                         </Setter>
 
-                     </Style>
 
-                 </GridSplitter.Resources>
 
-                 <GridSplitter.Template>
 
-                     <ControlTemplate TargetType="{x:Type GridSplitter}">
 
-                         <Grid VerticalAlignment="Stretch">
 
-                             <Button
 
-                                 Margin="-0.3,0,0,0"
 
-                                 VerticalAlignment="Stretch"
 
-                                 VerticalContentAlignment="Center"
 
-                                 Background="#DDE0E3"
 
-                                 BorderBrush="Transparent"
 
-                                 BorderThickness="1"
 
-                                 Content="⁞" />
 
-                             <Rectangle VerticalAlignment="Stretch" Fill="Transparent" />
 
-                         </Grid>
 
-                     </ControlTemplate>
 
-                 </GridSplitter.Template>
 
-             </GridSplitter>
 
-             <Border
 
-                 Grid.Column="1"
 
-                 Margin="15,1,0,0"
 
-                 HorizontalAlignment="Stretch"
 
-                 Background="{DynamicResource Table_BG_Content}"
 
-                 BorderBrush="{DynamicResource Table_BD}"
 
-                 BorderThickness="1"
 
-                 CornerRadius=" 0">
 
-                 <Grid Grid.Row="2">
 
-                     <Grid.RowDefinitions>
 
-                         <RowDefinition Height="0" />
 
-                         <RowDefinition Height="0" />
 
-                         <RowDefinition Height="*" />
 
-                     </Grid.RowDefinitions>
 
-                     <!--<Grid
 
-                         Grid.Row="0"
 
-                         Grid.RowSpan="2"
 
-                         Grid.Column="0">
 
-                         <Grid.RowDefinitions>
 
-                             <RowDefinition Height="20" />
 
-                             <RowDefinition Height="20" />
 
-                         </Grid.RowDefinitions>
 
-                         <Grid.ColumnDefinitions>
 
-                             <ColumnDefinition Width="50" />
 
-                             <ColumnDefinition Width="50" />
 
-                             <ColumnDefinition Width="100*" />
 
-                             <ColumnDefinition Width="100" />
 
-                         </Grid.ColumnDefinitions>
 
-                         <TextBlock
 
-                             Grid.Column="0"
 
-                             Margin="10,5,0,0"
 
-                             Text="Line:" />
 
-                         <TextBlock
 
-                             Grid.Column="1"
 
-                             Margin="5,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding LineSelectionB.LineNumber}" />
 
-                         <TextBox
 
-                             Grid.RowSpan="2"
 
-                             Grid.Column="2"
 
-                             Height="40"
 
-                             Margin="5,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding LineSelectionB.LineText, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
 
-                             TextWrapping="Wrap" />
 
-                         <Button
 
-                             Grid.RowSpan="2"
 
-                             Grid.Column="3"
 
-                             Margin="5,2,5,0"
 
-                             Content="Modify">
 
-                             <i:Interaction.Triggers>
 
-                                 <i:EventTrigger EventName="Click">
 
-                                     <cal:ActionMessage MethodName="SaveLineB" />
 
-                                 </i:EventTrigger>
 
-                             </i:Interaction.Triggers>
 
-                         </Button>
 
-                     </Grid>-->
 
-                     <DataGrid
 
-                         x:Name="WholeGridB"
 
-                         Grid.Row="2"
 
-                         Grid.Column="0"
 
-                         Margin="5"
 
-                         AutoGenerateColumns="False"
 
-                         Background="White"
 
-                         BorderThickness="0.1"
 
-                         CanUserAddRows="False"
 
-                         CanUserDeleteRows="False"
 
-                         FontFamily="Segoe"
 
-                         FontSize="13"
 
-                         IsReadOnly="True"
 
-                         ItemsSource="{Binding WholeListB, Mode=OneWay}"
 
-                         SelectedItem="{Binding LineSelectionB}"
 
-                         SelectionMode="Single"
 
-                         SelectionUnit="FullRow">
 
-                         <i:Interaction.Triggers>
 
-                             <i:EventTrigger EventName="SelectionChanged">
 
-                                 <cal:ActionMessage MethodName="WholeGridSelectionChangedB" />
 
-                             </i:EventTrigger>
 
-                         </i:Interaction.Triggers>
 
-                         <DataGrid.Columns>
 
-                             <!--<DataGridTemplateColumn Width="100" Header="Copy To Left">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <Button
 
-                                             Width="60"
 
-                                             Height="20"
 
-                                             Padding="0,-3"
 
-                                             Content="<"
 
-                                             FontSize="20"
 
-                                             Visibility="{Binding CopyVisibility}">
 
-                                             <i:Interaction.Triggers>
 
-                                                 <i:EventTrigger EventName="Click">
 
-                                                     <cal:ActionMessage MethodName="LineCopyToLeft">
 
-                                                         <cal:Parameter Value="{Binding}" />
 
-                                                     </cal:ActionMessage>
 
-                                                 </i:EventTrigger>
 
-                                             </i:Interaction.Triggers>
 
-                                         </Button>
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                             </DataGridTemplateColumn>-->
 
-                             <DataGridTemplateColumn
 
-                                 Width="55"
 
-                                 CanUserSort="True"
 
-                                 Header="Line #"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding LineNumber}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                             <DataGridTemplateColumn
 
-                                 Width="*"
 
-                                 CanUserSort="True"
 
-                                 Header="Line Text"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding LineText}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                         </DataGrid.Columns>
 
-                     </DataGrid>
 
-                 </Grid>
 
-             </Border>
 
-         </Grid>
 
-         <Grid Grid.Row="2" Visibility="{Binding StepVisibility}">
 
-             <Grid.ColumnDefinitions>
 
-                 <ColumnDefinition Width="100*" />
 
-                 <ColumnDefinition Width="100*" />
 
-             </Grid.ColumnDefinitions>
 
-             <Border
 
-                 Grid.Column="0"
 
-                 Margin="0,1,15,0"
 
-                 HorizontalAlignment="Stretch"
 
-                 Background="{DynamicResource Table_BG_Content}"
 
-                 BorderBrush="{DynamicResource Table_BD}"
 
-                 BorderThickness="1"
 
-                 CornerRadius=" 0">
 
-                 <Grid>
 
-                     <Grid.ColumnDefinitions>
 
-                         <ColumnDefinition Width="102*" />
 
-                         <ColumnDefinition Width="100*" />
 
-                     </Grid.ColumnDefinitions>
 
-                     <Grid.RowDefinitions>
 
-                         <RowDefinition Height="20" />
 
-                         <RowDefinition Height="*" />
 
-                     </Grid.RowDefinitions>
 
-                     <StackPanel
 
-                         Grid.Row="0"
 
-                         Grid.Column="0"
 
-                         Orientation="Horizontal">
 
-                         <TextBlock Margin="20,5,0,0" Text="Step:" />
 
-                         <TextBlock
 
-                             Margin="10,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding StepSelectionA.StepNumber}" />
 
-                         <TextBlock
 
-                             Margin="10,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding StepSelectionA.StepName}" />
 
-                     </StackPanel>
 
-                     <DataGrid
 
-                         x:Name="StepGridA"
 
-                         Grid.Row="1"
 
-                         Grid.Column="0"
 
-                         Margin="5"
 
-                         AutoGenerateColumns="False"
 
-                         Background="White"
 
-                         BorderThickness="0.1"
 
-                         CanUserAddRows="False"
 
-                         CanUserDeleteRows="False"
 
-                         FontFamily="Segoe"
 
-                         FontSize="13"
 
-                         IsReadOnly="True"
 
-                         ItemsSource="{Binding StepListA, Mode=OneWay}"
 
-                         SelectedItem="{Binding StepSelectionA}"
 
-                         SelectionMode="Single"
 
-                         SelectionUnit="FullRow">
 
-                         <DataGrid.RowStyle>
 
-                             <Style TargetType="{x:Type DataGridRow}">
 
-                                 <Style.Triggers>
 
-                                     <DataTrigger Binding="{Binding IsHidden}" Value="True">
 
-                                         <Setter Property="Visibility" Value="Collapsed" />
 
-                                     </DataTrigger>
 
-                                 </Style.Triggers>
 
-                             </Style>
 
-                         </DataGrid.RowStyle>
 
-                         <i:Interaction.Triggers>
 
-                             <i:EventTrigger EventName="SelectionChanged">
 
-                                 <cal:ActionMessage MethodName="StepGridSelectionChangedA" />
 
-                             </i:EventTrigger>
 
-                         </i:Interaction.Triggers>
 
-                         <DataGrid.Columns>
 
-                             <!--<DataGridTemplateColumn Width="62" Header="Delete">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <Button
 
-                                             Width="60"
 
-                                             Height="20"
 
-                                             Padding="0,-3"
 
-                                             Content="x"
 
-                                             FontSize="20"
 
-                                             Visibility="{Binding DeleteVisibility}">
 
-                                             <i:Interaction.Triggers>
 
-                                                 <i:EventTrigger EventName="Click">
 
-                                                     <cal:ActionMessage MethodName="LeftDelete">
 
-                                                         <cal:Parameter Value="{Binding}" />
 
-                                                     </cal:ActionMessage>
 
-                                                 </i:EventTrigger>
 
-                                             </i:Interaction.Triggers>
 
-                                         </Button>
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                             </DataGridTemplateColumn>
 
-                             <DataGridTemplateColumn Width="104" Header="Copy To Right">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <Button
 
-                                             Width="60"
 
-                                             Height="20"
 
-                                             Padding="0,-3"
 
-                                             Content=">"
 
-                                             FontSize="20"
 
-                                             Visibility="{Binding CopyVisibility}">
 
-                                             <i:Interaction.Triggers>
 
-                                                 <i:EventTrigger EventName="Click">
 
-                                                     <cal:ActionMessage MethodName="StepCopyToRight">
 
-                                                         <cal:Parameter Value="{Binding}" />
 
-                                                     </cal:ActionMessage>
 
-                                                 </i:EventTrigger>
 
-                                             </i:Interaction.Triggers>
 
-                                         </Button>
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                             </DataGridTemplateColumn>-->
 
-                             <DataGridTemplateColumn
 
-                                 Width="50"
 
-                                 CanUserSort="True"
 
-                                 Header="Step#"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding StepNumber}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                             <DataGridTemplateColumn
 
-                                 Width="*"
 
-                                 CanUserSort="True"
 
-                                 Header="Step Name"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding StepName}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                         </DataGrid.Columns>
 
-                     </DataGrid>
 
-                     <StackPanel
 
-                         Grid.Row="0"
 
-                         Grid.Column="1"
 
-                         Orientation="Horizontal">
 
-                         <TextBlock Margin="20,5,0,0" Text="Step Parameter:" />
 
-                         <TextBlock
 
-                             Margin="10,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding ParamSelectionA.ParamName}" />
 
-                         <TextBlock
 
-                             Margin="10,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding ParamSelectionA.ParamValue}" />
 
-                     </StackPanel>
 
-                     <DataGrid
 
-                         x:Name="ParamGridA"
 
-                         Grid.Row="1"
 
-                         Grid.Column="1"
 
-                         Margin="5"
 
-                         AutoGenerateColumns="False"
 
-                         Background="White"
 
-                         BorderThickness="0.1"
 
-                         CanUserAddRows="False"
 
-                         CanUserDeleteRows="False"
 
-                         FontFamily="Segoe"
 
-                         FontSize="13"
 
-                         IsReadOnly="True"
 
-                         ItemsSource="{Binding ParamListA, Mode=OneWay}"
 
-                         SelectedItem="{Binding ParamSelectionA}"
 
-                         SelectionMode="Single"
 
-                         SelectionUnit="FullRow">
 
-                         <DataGrid.RowStyle>
 
-                             <Style TargetType="{x:Type DataGridRow}">
 
-                                 <Style.Triggers>
 
-                                     <DataTrigger Binding="{Binding IsHidden}" Value="True">
 
-                                         <Setter Property="Visibility" Value="Collapsed" />
 
-                                     </DataTrigger>
 
-                                 </Style.Triggers>
 
-                             </Style>
 
-                         </DataGrid.RowStyle>
 
-                         <i:Interaction.Triggers>
 
-                             <i:EventTrigger EventName="SelectionChanged">
 
-                                 <cal:ActionMessage MethodName="ParamGridSelectionChangedA" />
 
-                             </i:EventTrigger>
 
-                         </i:Interaction.Triggers>
 
-                         <DataGrid.Columns>
 
-                             <!--<DataGridTemplateColumn Width="104" Header="Copy To Right">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <Button
 
-                                             Width="60"
 
-                                             Height="25"
 
-                                             Padding="0"
 
-                                             Content=">"
 
-                                             FontSize="20"
 
-                                             Visibility="{Binding CopyVisibility}">
 
-                                             <i:Interaction.Triggers>
 
-                                                 <i:EventTrigger EventName="Click">
 
-                                                     <cal:ActionMessage MethodName="ParamCopyToRight">
 
-                                                         <cal:Parameter Value="{Binding}" />
 
-                                                     </cal:ActionMessage>
 
-                                                 </i:EventTrigger>
 
-                                             </i:Interaction.Triggers>
 
-                                         </Button>
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                             </DataGridTemplateColumn>-->
 
-                             <DataGridTemplateColumn
 
-                                 Width="130"
 
-                                 CanUserSort="True"
 
-                                 Header="Parameter Name"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding ParamName}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                             <DataGridTemplateColumn
 
-                                 Width="*"
 
-                                 CanUserSort="True"
 
-                                 Header="Parameter Value"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding ParamValue}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                         </DataGrid.Columns>
 
-                     </DataGrid>
 
-                 </Grid>
 
-             </Border>
 
-             <GridSplitter
 
-                 Grid.Column="1"
 
-                 Width="10"
 
-                 HorizontalAlignment="Left"
 
-                 Cursor="SizeWE">
 
-                 <GridSplitter.Resources>
 
-                     <Style TargetType="{x:Type GridSplitter}">
 
-                         <Setter Property="PreviewStyle">
 
-                             <Setter.Value>
 
-                                 <Style>
 
-                                     <Setter Property="Control.Template">
 
-                                         <Setter.Value>
 
-                                             <ControlTemplate>
 
-                                                 <Rectangle Fill="#80000000" />
 
-                                             </ControlTemplate>
 
-                                         </Setter.Value>
 
-                                     </Setter>
 
-                                 </Style>
 
-                             </Setter.Value>
 
-                         </Setter>
 
-                         <Setter Property="Template">
 
-                             <Setter.Value>
 
-                                 <ControlTemplate TargetType="{x:Type GridSplitter}">
 
-                                     <Border BorderThickness="{TemplateBinding BorderThickness}" />
 
-                                 </ControlTemplate>
 
-                             </Setter.Value>
 
-                         </Setter>
 
-                     </Style>
 
-                 </GridSplitter.Resources>
 
-                 <GridSplitter.Template>
 
-                     <ControlTemplate TargetType="{x:Type GridSplitter}">
 
-                         <Grid VerticalAlignment="Stretch">
 
-                             <Button
 
-                                 Margin="-0.3,0,0,0"
 
-                                 VerticalAlignment="Stretch"
 
-                                 VerticalContentAlignment="Center"
 
-                                 Background="#DDE0E3"
 
-                                 BorderBrush="Transparent"
 
-                                 BorderThickness="1"
 
-                                 Content="⁞" />
 
-                             <Rectangle VerticalAlignment="Stretch" Fill="Transparent" />
 
-                         </Grid>
 
-                     </ControlTemplate>
 
-                 </GridSplitter.Template>
 
-             </GridSplitter>
 
-             <Border
 
-                 Grid.Column="1"
 
-                 Margin="15,1,0,0"
 
-                 HorizontalAlignment="Stretch"
 
-                 Background="{DynamicResource Table_BG_Content}"
 
-                 BorderBrush="{DynamicResource Table_BD}"
 
-                 BorderThickness="1"
 
-                 CornerRadius=" 0">
 
-                 <Grid Grid.Row="2">
 
-                     <Grid.ColumnDefinitions>
 
-                         <ColumnDefinition Width="100*" />
 
-                         <ColumnDefinition Width="100*" />
 
-                     </Grid.ColumnDefinitions>
 
-                     <Grid.RowDefinitions>
 
-                         <RowDefinition Height="20" />
 
-                         <RowDefinition Height="*" />
 
-                     </Grid.RowDefinitions>
 
-                     <StackPanel
 
-                         Grid.Row="0"
 
-                         Grid.Column="0"
 
-                         Orientation="Horizontal">
 
-                         <TextBlock Margin="20,5,0,0" Text="Step:" />
 
-                         <TextBlock
 
-                             Margin="10,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding StepSelectionB.StepNumber}" />
 
-                         <TextBlock
 
-                             Margin="10,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding StepSelectionB.StepName}" />
 
-                     </StackPanel>
 
-                     <DataGrid
 
-                         x:Name="StepGridB"
 
-                         Grid.Row="1"
 
-                         Grid.Column="0"
 
-                         Margin="5"
 
-                         AutoGenerateColumns="False"
 
-                         Background="White"
 
-                         BorderThickness="0.1"
 
-                         CanUserAddRows="False"
 
-                         CanUserDeleteRows="False"
 
-                         FontFamily="Segoe"
 
-                         FontSize="13"
 
-                         IsReadOnly="True"
 
-                         ItemsSource="{Binding StepListB, Mode=OneWay}"
 
-                         SelectedItem="{Binding StepSelectionB}"
 
-                         SelectionMode="Single"
 
-                         SelectionUnit="FullRow">
 
-                         <DataGrid.RowStyle>
 
-                             <Style TargetType="{x:Type DataGridRow}">
 
-                                 <Style.Triggers>
 
-                                     <DataTrigger Binding="{Binding IsHidden}" Value="True">
 
-                                         <Setter Property="Visibility" Value="Collapsed" />
 
-                                     </DataTrigger>
 
-                                 </Style.Triggers>
 
-                             </Style>
 
-                         </DataGrid.RowStyle>
 
-                         <i:Interaction.Triggers>
 
-                             <i:EventTrigger EventName="SelectionChanged">
 
-                                 <cal:ActionMessage MethodName="StepGridSelectionChangedB" />
 
-                             </i:EventTrigger>
 
-                         </i:Interaction.Triggers>
 
-                         <DataGrid.Columns>
 
-                             <!--<DataGridTemplateColumn Width="63" Header="Delete">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <Button
 
-                                             Width="60"
 
-                                             Height="20"
 
-                                             Padding="0,-3"
 
-                                             Content="x"
 
-                                             FontSize="20"
 
-                                             Visibility="{Binding DeleteVisibility}">
 
-                                             <i:Interaction.Triggers>
 
-                                                 <i:EventTrigger EventName="Click">
 
-                                                     <cal:ActionMessage MethodName="RightDelete">
 
-                                                         <cal:Parameter Value="{Binding}" />
 
-                                                     </cal:ActionMessage>
 
-                                                 </i:EventTrigger>
 
-                                             </i:Interaction.Triggers>
 
-                                         </Button>
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                             </DataGridTemplateColumn>
 
-                             <DataGridTemplateColumn Width="95" Header="Copy To Left">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <Button
 
-                                             Width="60"
 
-                                             Height="20"
 
-                                             Padding="0,-3"
 
-                                             Content="<"
 
-                                             FontSize="20"
 
-                                             Visibility="{Binding CopyVisibility}">
 
-                                             <i:Interaction.Triggers>
 
-                                                 <i:EventTrigger EventName="Click">
 
-                                                     <cal:ActionMessage MethodName="StepCopyToLeft">
 
-                                                         <cal:Parameter Value="{Binding}" />
 
-                                                     </cal:ActionMessage>
 
-                                                 </i:EventTrigger>
 
-                                             </i:Interaction.Triggers>
 
-                                         </Button>
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                             </DataGridTemplateColumn>-->
 
-                             <DataGridTemplateColumn
 
-                                 Width="55"
 
-                                 CanUserSort="True"
 
-                                 Header="Step #"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding StepNumber}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                             <DataGridTemplateColumn
 
-                                 Width="*"
 
-                                 CanUserSort="True"
 
-                                 Header="Step Name"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding StepName}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                         </DataGrid.Columns>
 
-                     </DataGrid>
 
-                     <StackPanel
 
-                         Grid.Row="0"
 
-                         Grid.Column="1"
 
-                         Orientation="Horizontal">
 
-                         <TextBlock Margin="20,5,0,0" Text="Step Parameter:" />
 
-                         <TextBlock
 
-                             Margin="10,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding ParamSelectionB.ParamName}" />
 
-                         <TextBlock
 
-                             Margin="10,2,0,0"
 
-                             FontSize="15"
 
-                             FontWeight="Bold"
 
-                             Text="{Binding ParamSelectionB.ParamValue}" />
 
-                     </StackPanel>
 
-                     <DataGrid
 
-                         x:Name="ParamGridB"
 
-                         Grid.Row="1"
 
-                         Grid.Column="1"
 
-                         Margin="5"
 
-                         AutoGenerateColumns="False"
 
-                         Background="White"
 
-                         BorderThickness="0.1"
 
-                         CanUserAddRows="False"
 
-                         CanUserDeleteRows="False"
 
-                         FontFamily="Segoe"
 
-                         FontSize="13"
 
-                         IsReadOnly="True"
 
-                         ItemsSource="{Binding ParamListB, Mode=OneWay}"
 
-                         SelectedItem="{Binding ParamSelectionB}"
 
-                         SelectionMode="Single"
 
-                         SelectionUnit="FullRow">
 
-                         <DataGrid.RowStyle>
 
-                             <Style TargetType="{x:Type DataGridRow}">
 
-                                 <Style.Triggers>
 
-                                     <DataTrigger Binding="{Binding IsHidden}" Value="True">
 
-                                         <Setter Property="Visibility" Value="Collapsed" />
 
-                                     </DataTrigger>
 
-                                 </Style.Triggers>
 
-                             </Style>
 
-                         </DataGrid.RowStyle>
 
-                         <i:Interaction.Triggers>
 
-                             <i:EventTrigger EventName="SelectionChanged">
 
-                                 <cal:ActionMessage MethodName="ParamGridSelectionChangedB" />
 
-                             </i:EventTrigger>
 
-                         </i:Interaction.Triggers>
 
-                         <DataGrid.Columns>
 
-                             <!--<DataGridTemplateColumn Width="100" Header="Copy To Left">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <Button
 
-                                             Width="60"
 
-                                             Height="25"
 
-                                             Padding="0"
 
-                                             Content="<"
 
-                                             FontSize="20"
 
-                                             Visibility="{Binding CopyVisibility}">
 
-                                             <i:Interaction.Triggers>
 
-                                                 <i:EventTrigger EventName="Click">
 
-                                                     <cal:ActionMessage MethodName="ParamCopyToLeft">
 
-                                                         <cal:Parameter Value="{Binding}" />
 
-                                                     </cal:ActionMessage>
 
-                                                 </i:EventTrigger>
 
-                                             </i:Interaction.Triggers>
 
-                                         </Button>
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                             </DataGridTemplateColumn>-->
 
-                             <DataGridTemplateColumn
 
-                                 Width="130"
 
-                                 CanUserSort="True"
 
-                                 Header="Parameter Name"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding ParamName}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                             <DataGridTemplateColumn
 
-                                 Width="*"
 
-                                 CanUserSort="True"
 
-                                 Header="Parameter Value"
 
-                                 IsReadOnly="True">
 
-                                 <DataGridTemplateColumn.CellTemplate>
 
-                                     <DataTemplate>
 
-                                         <TextBlock
 
-                                             Margin="5,0"
 
-                                             HorizontalAlignment="Left"
 
-                                             VerticalAlignment="Center"
 
-                                             FontSize="14"
 
-                                             Foreground="{DynamicResource FG_Black}"
 
-                                             Text="{Binding ParamValue}"
 
-                                             ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
 
-                                     </DataTemplate>
 
-                                 </DataGridTemplateColumn.CellTemplate>
 
-                                 <DataGridTemplateColumn.CellStyle>
 
-                                     <Style TargetType="DataGridCell">
 
-                                         <Setter Property="Background" Value="{Binding Path=Background}" />
 
-                                     </Style>
 
-                                 </DataGridTemplateColumn.CellStyle>
 
-                             </DataGridTemplateColumn>
 
-                         </DataGrid.Columns>
 
-                     </DataGrid>
 
-                 </Grid>
 
-             </Border>
 
-         </Grid>
 
-     </Grid>
 
- </UserControl>
 
 
  |