|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- <Window
- x:Class="XHWK.WKTool.LoadDialog"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Width="100"
- Height="100"
- AllowsTransparency="True"
- Background="Transparent"
- Opacity="1"
- ResizeMode="NoResize"
- Topmost="True"
- WindowStartupLocation="CenterScreen"
- WindowStyle="None">
- <Grid>
- <Border Background="#66000000" CornerRadius="10 10 10 10">
- <Grid Width="60" Height="60">
- <Grid.Resources>
- <DrawingBrush
- x:Key="Brush"
- AlignmentX="Center"
- AlignmentY="Top"
- Stretch="None">
- <DrawingBrush.Drawing>
- <GeometryDrawing Brush="White">
- <GeometryDrawing.Geometry>
- <EllipseGeometry RadiusX="2" RadiusY="5" />
- </GeometryDrawing.Geometry>
- </GeometryDrawing>
- </DrawingBrush.Drawing>
- </DrawingBrush>
- </Grid.Resources>
-
- <Rectangle
- x:Name="R01"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="0" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R02"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="30" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R03"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="60" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R04"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="90" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R05"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="120" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R06"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="150" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R07"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="180" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R08"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="210" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R09"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="240" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R10"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="270" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R11"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="300" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Rectangle
- x:Name="R12"
- Fill="{StaticResource Brush}"
- Opacity="0.8"
- RenderTransformOrigin="0.5,0.5">
- <Rectangle.RenderTransform>
- <RotateTransform Angle="330" />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Grid.Triggers>
- <EventTrigger RoutedEvent="Grid.Loaded">
- <BeginStoryboard>
- <Storyboard RepeatBehavior="Forever">
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.00000"
- Storyboard.TargetName="R01"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.08333"
- Storyboard.TargetName="R02"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.16666"
- Storyboard.TargetName="R03"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.24999"
- Storyboard.TargetName="R04"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.33332"
- Storyboard.TargetName="R05"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.41665"
- Storyboard.TargetName="R06"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.49998"
- Storyboard.TargetName="R07"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.58331"
- Storyboard.TargetName="R08"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.66664"
- Storyboard.TargetName="R09"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.74997"
- Storyboard.TargetName="R10"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.83330"
- Storyboard.TargetName="R11"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- <DoubleAnimation
- AutoReverse="True"
- BeginTime="0:0:0.91663"
- Storyboard.TargetName="R12"
- Storyboard.TargetProperty="Opacity"
- To="0"
- Duration="0:0:0.08333" />
- </Storyboard>
- </BeginStoryboard>
- </EventTrigger>
- </Grid.Triggers>
- </Grid>
- </Border>
- </Grid>
- </Window>
|