|
@@ -101,12 +101,19 @@
|
|
|
<RowDefinition Height="706*"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal">
|
|
|
- <customeControls:PathButton PathData="{StaticResource Icon_Save}" Content="Save" DefaultFillBrush="White" Command="{Binding SaveRecipeCommand}" Margin="30,4,22,0" FontSize="16" Height="30" Width="140" VerticalContentAlignment="Center" HorizontalAlignment="Right" VerticalAlignment="Top"/>
|
|
|
- <customeControls:PathButton PathData="{StaticResource Icon_Add}" Content="Add Step" DefaultFillBrush="White" Command="{Binding AddStepCommand}" Margin="30,4,22,0" FontSize="16" Height="30" Width="140" VerticalContentAlignment="Center" HorizontalAlignment="Right" VerticalAlignment="Top"/>
|
|
|
- <customeControls:PathButton PathData="{StaticResource Icon_Delete}" Content="Del Step" DefaultFillBrush="White" Command="{Binding DeleteStepCommand}" Margin="30,4,22,0" FontSize="16" Height="30" Width="140" VerticalContentAlignment="Center" HorizontalAlignment="Right" VerticalAlignment="Top"/>
|
|
|
- <customeControls:PathButton PathData="{StaticResource Icon_Refresh}" Content="Refresh" DefaultFillBrush="White" Command="{Binding RefreshCommand}" Margin="30,4,22,0" FontSize="16" Height="30" Width="140" VerticalContentAlignment="Center" HorizontalAlignment="Right" VerticalAlignment="Top"/>
|
|
|
- <RadioButton Content="Unfrozen" FontSize="15" Width="120" Height="30" Margin="30,4,10,0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding IsFrozen,Converter={StaticResource BoolToBool},Mode=TwoWay}"/>
|
|
|
- <RadioButton Content="Frozen" FontSize="15" Width="120" Height="30" Margin="0 4 30 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding IsFrozen,Mode=TwoWay}"/>
|
|
|
+ <!--<customeControls:PathButton PathData="{StaticResource Icon_Save}" Content="Save" DefaultFillBrush="White" Command="{Binding SaveRecipeCommand}" Margin="30,4,22,0" FontSize="16" Height="30" Width="130" VerticalContentAlignment="Center" HorizontalAlignment="Right" VerticalAlignment="Top"/>-->
|
|
|
+ <customeControls:SplitButton Content="Abort" Style="{StaticResource SplitButtonStyle}" Command="{Binding SaveRecipeCommand}" Cursor="Hand" Foreground="White" Margin="30,4,22,0" FontSize="16" Height="30" Width="130">
|
|
|
+ <MenuItem Header="Save as PMA" Cursor="Hand" Command="{Binding AbortRecipeCommnad}" CommandParameter="0"/>
|
|
|
+ <MenuItem Header="Save as PMB" Cursor="Hand" Command="{Binding AbortRecipeCommnad}" CommandParameter="1"/>
|
|
|
+ <MenuItem Header="Save as PMC" Cursor="Hand" Command="{Binding AbortRecipeCommnad}" CommandParameter="2"/>
|
|
|
+ <MenuItem Header="Save as PMD" Cursor="Hand" Command="{Binding AbortRecipeCommnad}" CommandParameter="2"/>
|
|
|
+ </customeControls:SplitButton>
|
|
|
+
|
|
|
+ <customeControls:PathButton PathData="{StaticResource Icon_Add}" Content="Add Step" DefaultFillBrush="White" Command="{Binding AddStepCommand}" Margin="30,4,22,0" FontSize="16" Height="30" Width="130" VerticalContentAlignment="Center" HorizontalAlignment="Right" VerticalAlignment="Top"/>
|
|
|
+ <customeControls:PathButton PathData="{StaticResource Icon_Delete}" Content="Del Step" DefaultFillBrush="White" Command="{Binding DeleteStepCommand}" Margin="30,4,22,0" FontSize="16" Height="30" Width="130" VerticalContentAlignment="Center" HorizontalAlignment="Right" VerticalAlignment="Top"/>
|
|
|
+ <customeControls:PathButton PathData="{StaticResource Icon_Refresh}" Content="Refresh" DefaultFillBrush="White" Command="{Binding RefreshCommand}" Margin="30,4,22,0" FontSize="16" Height="30" Width="130" VerticalContentAlignment="Center" HorizontalAlignment="Right" VerticalAlignment="Top"/>
|
|
|
+ <RadioButton Content="Unfrozen" FontSize="15" Width="120" Height="30" Margin="30,0,10,0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding IsFrozen,Converter={StaticResource BoolToBool},Mode=TwoWay}"/>
|
|
|
+ <RadioButton Content="Frozen" FontSize="15" Width="120" Height="30" Margin="0,0,30,0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding IsFrozen,Mode=TwoWay}"/>
|
|
|
</StackPanel>
|
|
|
<Grid x:Name="grid1" Grid.Row="1" IsEnabled="{Binding IsFrozen,Converter={StaticResource BoolToBool}}">
|
|
|
<Grid.RowDefinitions>
|