Files
EgtCAM5/ProjectPage/DrawPanel/DrawPanelView.xaml
T
Emmanuele Sassi 6233d89e0f EgtCAM5 :
- primo rilascio.
2016-07-06 09:46:23 +00:00

135 lines
7.8 KiB
XML

<UserControl x:Class="DrawPanelView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid Background="DarkGray">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Expander Header="2D Draw" Grid.Row="0">
<UniformGrid Columns="2">
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding PointCommand}">
<Image Source="/Resources/DrawPanel/Point.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding Line2PCommand}">
<Image Source="/Resources/DrawPanel/Line2P.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding LinePDLCommand}">
<Image Source="/Resources/DrawPanel/LinePDL.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding CircleCommand}">
<Image Source="/Resources/DrawPanel/Circle.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ArcCSECommand}">
<Image Source="/Resources/DrawPanel/ArcCSE.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding Arc3PCommand}">
<Image Source="/Resources/DrawPanel/Arc3P.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ArcPDPCommand}">
<Image Source="/Resources/DrawPanel/ArcPDP.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding FilletCommand}">
<Image Source="/Resources/DrawPanel/Fillet.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding Rectangle2PCommand}">
<Image Source="/Resources/DrawPanel/Rectangle2P.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding PolygonCommand}">
<Image Source="/Resources/DrawPanel/Polygon.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding TextCommand}">
<Image Source="/Resources/DrawPanel/Text.png" Stretch="Uniform"/>
</Button>
</UniformGrid>
</Expander>
<Expander Header="3D Draw" Grid.Row="1">
<UniformGrid Columns="2">
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding PlaneCommand}">
<Image Source="/Resources/DrawPanel/Plane.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ExtrudeCommand}">
<Image Source="/Resources/DrawPanel/Extrude.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding RevolveCommand}">
<Image Source="/Resources/DrawPanel/Revolve.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ScrewCommand}">
<Image Source="/Resources/DrawPanel/Screw.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding RuledCommand}">
<Image Source="/Resources/DrawPanel/Ruled.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding MergeSurfCommand}">
<Image Source="/Resources/DrawPanel/MergeSurf.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ExplodeSurfCommand}">
<Image Source="/Resources/DrawPanel/ExplodeSurf.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding InvertSurfCommand}">
<Image Source="/Resources/DrawPanel/InvertSurf.png" Stretch="Uniform"/>
</Button>
</UniformGrid>
</Expander>
<Expander Header="Modify" Grid.Row="2">
<UniformGrid Columns="2">
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding DeleteCommand}">
<Image Source="/Resources/DrawPanel/Delete.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ChangeLayerCommand}">
<Image Source="/Resources/DrawPanel/ChangeLayer.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ChangeColorCommand}">
<Image Source="/Resources/DrawPanel/ChangeColor.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding InvertCurveCommand}">
<Image Source="/Resources/DrawPanel/InvertCurve.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ChangeStartCurveCommand}">
<Image Source="/Resources/DrawPanel/ChangeStart.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ExtendCurveCommand}">
<Image Source="/Resources/DrawPanel/ExtendCurve.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding BreakCurveCommand}">
<Image Source="/Resources/DrawPanel/BreakCurve.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding JoinCurveCommand}">
<Image Source="/Resources/DrawPanel/JoinCurve.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ExplodeCurveCommand}">
<Image Source="/Resources/DrawPanel/ExplodeCurve.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding SetCurveThCommand}">
<Image Source="/Resources/DrawPanel/ThickCurve.png" Stretch="Uniform"/>
</Button>
</UniformGrid>
</Expander>
<Expander Header="Transform" Grid.Row="3">
<UniformGrid Columns="2">
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding MoveCommand}">
<Image Source="/Resources/DrawPanel/Move.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding RotateCommand}">
<Image Source="/Resources/DrawPanel/Rotate.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding MirrorCommand}">
<Image Source="/Resources/DrawPanel/Mirror.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding ScaleCommand}">
<Image Source="/Resources/DrawPanel/Scale.png" Stretch="Uniform"/>
</Button>
<Button Style="{StaticResource EgtCAM5_Button}" Command="{Binding OffsetCommand}">
<Image Source="/Resources/DrawPanel/Offset.png" Stretch="Uniform"/>
</Button>
</UniformGrid>
</Expander>
</Grid>
</UserControl>