123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <UserControl x:Class="CyberX8_Themes.UserControls.PufLoaderControl"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:CyberX8_Themes.UserControls"
- mc:Ignorable="d" Name="pufLoaderControl"
- d:DesignHeight="300" d:DesignWidth="400">
- <Viewbox Stretch="Fill">
- <Canvas Width="800" Height="600">
- <Polygon Points="0,0 0,600 800,600 800,0" Stroke="Gray" StrokeThickness="12" >
- <Polygon.Fill>
- <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
- <GradientStop Color="Silver" Offset="0.0" />
- <GradientStop Color="White" Offset="0.5" />
- <GradientStop Color="Silver" Offset="1" />
- </LinearGradientBrush>
- </Polygon.Fill>
- </Polygon>
- <Canvas Height="310" Width="200" Canvas.Left="570" Canvas.Top="60" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Canvas.RenderTransform>
- <TransformGroup>
- <RotateTransform Angle="{Binding ElementName=pufLoaderControl, Path=Loader1RotationPosition}" CenterX="100" CenterY="155"/>
- </TransformGroup>
- </Canvas.RenderTransform>
- <local:LoaderControl MouseLeftButtonUp="LoaderControl_MouseLeftButtonUp" HorizontalAlignment="Center" VerticalAlignment="Center" WaferVisibleA="{Binding ElementName=pufLoaderControl, Path=WaferVisibleA}" WaferVisibleB="{Binding ElementName=pufLoaderControl, Path=WaferVisibleB}"
- LoaderWaferA="{Binding ElementName=pufLoaderControl, Path=LoaderWaferA}" LoaderWaferB="{Binding ElementName=pufLoaderControl, Path=LoaderWaferB}"/>
- </Canvas>
- <Canvas Canvas.Top="40" Canvas.Left="{Binding ElementName=pufLoaderControl, Path=Puf1RotationPosition}" Height="150" Width="450" HorizontalAlignment="Left" VerticalAlignment="Center">
- <local:PufControl PufName="PUFA" MouseLeftButtonUp="Puf1Control_MouseLeftButtonUp" HorizontalAlignment="Center" VerticalAlignment="Top"
- RobotWaferA="{Binding ElementName=pufLoaderControl, Path=Puf1WaferA}" RobotWaferB="{Binding ElementName=pufLoaderControl, Path=Puf1WaferB}"
- PufFlipPosition="{Binding Puf1FlipPosition}"/>
- </Canvas>
- </Canvas>
- </Viewbox>
- </UserControl>
|