| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 | <UserControl x:Class="Venus_Themes.UserControls.LoadLockLeft"             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:Venus_Themes.UserControls"                          xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation"                          mc:Ignorable="d"              d:DesignHeight="450" d:DesignWidth="800" Name="LeftLoadLock" Opacity="0.9">    <UserControl.Resources>                <Style TargetType="Rectangle" x:Key="doorAnimation">            <Setter Property="Width" Value="190"/>            <Style.Triggers>                <DataTrigger Binding="{Binding ElementName=LeftLoadLock,Path=DoorIsOpen}" Value="True">                    <DataTrigger.EnterActions>                        <BeginStoryboard>                            <Storyboard>                                <DoubleAnimation  Storyboard.TargetProperty="Width" To="35" Duration="0:0:1"/>                            </Storyboard>                        </BeginStoryboard>                    </DataTrigger.EnterActions>                    <DataTrigger.ExitActions>                        <BeginStoryboard>                            <Storyboard>                                <DoubleAnimation  Storyboard.TargetProperty="Width" To="190" Duration="0:0:1"/>                            </Storyboard>                        </BeginStoryboard>                    </DataTrigger.ExitActions>                </DataTrigger>            </Style.Triggers>        </Style>        <Style TargetType="Rectangle" x:Key="door2Animation">            <Setter Property="Width" Value="142"/>            <Style.Triggers>                <DataTrigger Binding="{Binding ElementName=LeftLoadLock,Path=Door2IsOpen}" Value="True">                    <DataTrigger.EnterActions>                        <BeginStoryboard>                            <Storyboard>                                <DoubleAnimation  Storyboard.TargetProperty="Width" To="30" Duration="0:0:1"/>                            </Storyboard>                        </BeginStoryboard>                    </DataTrigger.EnterActions>                    <DataTrigger.ExitActions>                        <BeginStoryboard>                            <Storyboard>                                <DoubleAnimation  Storyboard.TargetProperty="Width" To="142" Duration="0:0:1"/>                            </Storyboard>                        </BeginStoryboard>                    </DataTrigger.ExitActions>                </DataTrigger>            </Style.Triggers>        </Style>    </UserControl.Resources>    <Viewbox Stretch="Fill" >        <Canvas Width="200" Height="200">            <Polygon Stroke="Black"  StrokeThickness="2" Points="0,200 0,100 36,0 200,90 140,200">                <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>            <Rectangle  Fill="Silver" Width="190"  VerticalAlignment="Top"    Height="20"  Canvas.Top="28" Canvas.Left="28">                <Rectangle.RenderTransform>                    <RotateTransform Angle="30" CenterX="95" CenterY="10"/>                </Rectangle.RenderTransform>            </Rectangle>            <Rectangle Style="{StaticResource doorAnimation}"  Fill="DimGray"   VerticalAlignment="Top"    Height="20"  Canvas.Top="28" Canvas.Left="28">                <Rectangle.RenderTransform>                    <RotateTransform Angle="30" CenterX="95" CenterY="10"/>                </Rectangle.RenderTransform>                           </Rectangle>            <Rectangle Style="{StaticResource doorAnimation}" Fill="DimGray"   VerticalAlignment="Top"    Height="20"  Canvas.Top="28" Canvas.Left="28">                <Rectangle.RenderTransform>                    <RotateTransform Angle="210" CenterX="95" CenterY="10"/>                </Rectangle.RenderTransform>                            </Rectangle>            <Path  Stroke="Black"  Canvas.Top="15" Canvas.Left="-34">                <Path.Data>                    <GeometryGroup>                        <!--<PathGeometry Figures="M 200,100 A 80,80 1 1 1 200,99.9"/>-->                        <!--<PathGeometry Figures="M 190,100 A 70,70 1 1 1 190,99.9" />-->                        <PathGeometry Figures="M 180,100 A 60,60 1 1 1 180,99.9" />                        <PathGeometry Figures="M 170,100 A 50,50 1 1 1 170,99.9" />                        <PathGeometry Figures="M 160,100 A 40,40 1 1 1 160,99.9" />                        <PathGeometry Figures="M 150,100 A 30,30 1 1 1 150,99.9" />                    </GeometryGroup>                </Path.Data>            </Path>            <Viewbox Width="120" Height="120"  Canvas.Left="26" Canvas.Top="55">                <ctrl:Slot  ViewType="Top" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}"                        DataContext="{Binding ElementName=LeftLoadLock, Path=RobotWafer}"  HorizontalAlignment="Center" VerticalAlignment="Center">                </ctrl:Slot>            </Viewbox>            <Rectangle  Fill="Silver" Width="142"   VerticalAlignment="Top"    Height="20"  Canvas.Top="200" Canvas.Left="-1" Visibility="{Binding ElementName=LeftLoadLock,Path=Door2IsVisibility}"/>            <Rectangle  Fill="DimGray" Style="{StaticResource door2Animation}"  VerticalAlignment="Top"    Height="20"  Canvas.Top="200" Canvas.Left="-1" Visibility="{Binding ElementName=LeftLoadLock,Path=Door2IsVisibility}"/>        </Canvas>                        </Viewbox></UserControl>
 |