|
|
@@ -8,8 +8,53 @@ |
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
xmlns:vm="clr-namespace:BPASmartClient.Academy.ViewModel" |
|
|
|
d:DataContext="{d:DesignInstance Type=vm:ReactionKettle50LViewModel}" |
|
|
|
d:DesignHeight="450" |
|
|
|
d:DesignWidth="800" |
|
|
|
d:DesignHeight="900" |
|
|
|
d:DesignWidth="1440" |
|
|
|
mc:Ignorable="d"> |
|
|
|
|
|
|
|
<UserControl.Resources> |
|
|
|
<Style x:Key="move" TargetType="{x:Type RadioButton}"> |
|
|
|
<Setter Property="Template"> |
|
|
|
<Setter.Value> |
|
|
|
<ControlTemplate TargetType="{x:Type RadioButton}"> |
|
|
|
<Grid Height="20" Width="45"> |
|
|
|
<Path x:Name="path" HorizontalAlignment="Center" VerticalAlignment="Center" StrokeThickness="0" Fill="Red"> |
|
|
|
<Path.Data> |
|
|
|
<GeometryGroup> |
|
|
|
<PathGeometry> |
|
|
|
<PathFigureCollection> |
|
|
|
<PathFigure StartPoint="10,6"> |
|
|
|
<BezierSegment Point1="10,6" Point2="20,15" Point3="30,6"/> |
|
|
|
<LineSegment Point="26,5.5"/> |
|
|
|
<LineSegment Point="36,0"/> |
|
|
|
<LineSegment Point="42,7.6"/> |
|
|
|
<LineSegment Point="38.2,7.1"/> |
|
|
|
<BezierSegment Point1="38.2,7.1" Point2="27,20" Point3="10,6"/> |
|
|
|
</PathFigure> |
|
|
|
</PathFigureCollection> |
|
|
|
</PathGeometry> |
|
|
|
</GeometryGroup> |
|
|
|
</Path.Data> |
|
|
|
</Path> |
|
|
|
</Grid> |
|
|
|
<ControlTemplate.Triggers> |
|
|
|
<Trigger Property="IsChecked" Value="True"> |
|
|
|
|
|
|
|
</Trigger> |
|
|
|
</ControlTemplate.Triggers> |
|
|
|
</ControlTemplate> |
|
|
|
</Setter.Value> |
|
|
|
</Setter> |
|
|
|
</Style> |
|
|
|
</UserControl.Resources> |
|
|
|
<Grid> |
|
|
|
<Grid Margin="150,100"> |
|
|
|
<Viewbox Stretch="Uniform"> |
|
|
|
<Canvas Height="450" Width="800"> |
|
|
|
<Image Height="200" Width="200" Source="../50L/Page/罐.png"/> |
|
|
|
<Image Canvas.Right="20" Canvas.Top="100" Height="200" Width="200" Source="../50L/Page/50L反应釜.png"/> |
|
|
|
<RadioButton Background="Red" Style="{StaticResource move}" Canvas.Right="110" Canvas.Top="175"/> |
|
|
|
</Canvas> |
|
|
|
</Viewbox> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</UserControl> |