Browse Source

bendi

reconfiguration
lyw 2 months ago
parent
commit
6fa15ef3be
5 changed files with 55 additions and 3 deletions
  1. BIN
     
  2. BIN
     
  3. +7
    -0
      BPASmartClient.Academy/BPASmartClient.Academy.csproj
  4. +48
    -3
      BPASmartClient.Academy/View/ReactionKettle50LView.xaml
  5. BIN
     

BIN
View File


BIN
View File


+ 7
- 0
BPASmartClient.Academy/BPASmartClient.Academy.csproj View File

@@ -10,6 +10,8 @@
</PropertyGroup>

<ItemGroup>
<None Remove="50L\Page\50L反应釜.png" />
<None Remove="50L\Page\罐.png" />
<None Remove="hbl.ico" />
</ItemGroup>

@@ -28,6 +30,11 @@
<ProjectReference Include="..\BPASmartClient.Update\BPASmartClient.Update.csproj" />
</ItemGroup>

<ItemGroup>
<Resource Include="50L\Page\50L反应釜.png" />
<Resource Include="50L\Page\罐.png" />
</ItemGroup>

<ItemGroup>
<None Update="App.config">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>


+ 48
- 3
BPASmartClient.Academy/View/ReactionKettle50LView.xaml View File

@@ -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>

BIN
View File


Loading…
Cancel
Save