星火微课系统客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LoadDialog.xaml 11KB

11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
4 years ago
11 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <Window
  2. x:Class="XHWK.WKTool.LoadDialog"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. Width="100"
  6. Height="100"
  7. AllowsTransparency="True"
  8. Background="Transparent"
  9. Opacity="1"
  10. ResizeMode="NoResize"
  11. Topmost="True"
  12. WindowStartupLocation="CenterScreen"
  13. WindowStyle="None">
  14. <Grid>
  15. <Border Background="#66000000" CornerRadius="10 10 10 10">
  16. <Grid Width="60" Height="60">
  17. <Grid.Resources>
  18. <DrawingBrush
  19. x:Key="Brush"
  20. AlignmentX="Center"
  21. AlignmentY="Top"
  22. Stretch="None">
  23. <DrawingBrush.Drawing>
  24. <GeometryDrawing Brush="White">
  25. <GeometryDrawing.Geometry>
  26. <EllipseGeometry RadiusX="2" RadiusY="5" />
  27. </GeometryDrawing.Geometry>
  28. </GeometryDrawing>
  29. </DrawingBrush.Drawing>
  30. </DrawingBrush>
  31. </Grid.Resources>
  32. <Rectangle
  33. x:Name="R01"
  34. Fill="{StaticResource Brush}"
  35. Opacity="0.8"
  36. RenderTransformOrigin="0.5,0.5">
  37. <Rectangle.RenderTransform>
  38. <RotateTransform Angle="0" />
  39. </Rectangle.RenderTransform>
  40. </Rectangle>
  41. <Rectangle
  42. x:Name="R02"
  43. Fill="{StaticResource Brush}"
  44. Opacity="0.8"
  45. RenderTransformOrigin="0.5,0.5">
  46. <Rectangle.RenderTransform>
  47. <RotateTransform Angle="30" />
  48. </Rectangle.RenderTransform>
  49. </Rectangle>
  50. <Rectangle
  51. x:Name="R03"
  52. Fill="{StaticResource Brush}"
  53. Opacity="0.8"
  54. RenderTransformOrigin="0.5,0.5">
  55. <Rectangle.RenderTransform>
  56. <RotateTransform Angle="60" />
  57. </Rectangle.RenderTransform>
  58. </Rectangle>
  59. <Rectangle
  60. x:Name="R04"
  61. Fill="{StaticResource Brush}"
  62. Opacity="0.8"
  63. RenderTransformOrigin="0.5,0.5">
  64. <Rectangle.RenderTransform>
  65. <RotateTransform Angle="90" />
  66. </Rectangle.RenderTransform>
  67. </Rectangle>
  68. <Rectangle
  69. x:Name="R05"
  70. Fill="{StaticResource Brush}"
  71. Opacity="0.8"
  72. RenderTransformOrigin="0.5,0.5">
  73. <Rectangle.RenderTransform>
  74. <RotateTransform Angle="120" />
  75. </Rectangle.RenderTransform>
  76. </Rectangle>
  77. <Rectangle
  78. x:Name="R06"
  79. Fill="{StaticResource Brush}"
  80. Opacity="0.8"
  81. RenderTransformOrigin="0.5,0.5">
  82. <Rectangle.RenderTransform>
  83. <RotateTransform Angle="150" />
  84. </Rectangle.RenderTransform>
  85. </Rectangle>
  86. <Rectangle
  87. x:Name="R07"
  88. Fill="{StaticResource Brush}"
  89. Opacity="0.8"
  90. RenderTransformOrigin="0.5,0.5">
  91. <Rectangle.RenderTransform>
  92. <RotateTransform Angle="180" />
  93. </Rectangle.RenderTransform>
  94. </Rectangle>
  95. <Rectangle
  96. x:Name="R08"
  97. Fill="{StaticResource Brush}"
  98. Opacity="0.8"
  99. RenderTransformOrigin="0.5,0.5">
  100. <Rectangle.RenderTransform>
  101. <RotateTransform Angle="210" />
  102. </Rectangle.RenderTransform>
  103. </Rectangle>
  104. <Rectangle
  105. x:Name="R09"
  106. Fill="{StaticResource Brush}"
  107. Opacity="0.8"
  108. RenderTransformOrigin="0.5,0.5">
  109. <Rectangle.RenderTransform>
  110. <RotateTransform Angle="240" />
  111. </Rectangle.RenderTransform>
  112. </Rectangle>
  113. <Rectangle
  114. x:Name="R10"
  115. Fill="{StaticResource Brush}"
  116. Opacity="0.8"
  117. RenderTransformOrigin="0.5,0.5">
  118. <Rectangle.RenderTransform>
  119. <RotateTransform Angle="270" />
  120. </Rectangle.RenderTransform>
  121. </Rectangle>
  122. <Rectangle
  123. x:Name="R11"
  124. Fill="{StaticResource Brush}"
  125. Opacity="0.8"
  126. RenderTransformOrigin="0.5,0.5">
  127. <Rectangle.RenderTransform>
  128. <RotateTransform Angle="300" />
  129. </Rectangle.RenderTransform>
  130. </Rectangle>
  131. <Rectangle
  132. x:Name="R12"
  133. Fill="{StaticResource Brush}"
  134. Opacity="0.8"
  135. RenderTransformOrigin="0.5,0.5">
  136. <Rectangle.RenderTransform>
  137. <RotateTransform Angle="330" />
  138. </Rectangle.RenderTransform>
  139. </Rectangle>
  140. <Grid.Triggers>
  141. <EventTrigger RoutedEvent="Grid.Loaded">
  142. <BeginStoryboard>
  143. <Storyboard RepeatBehavior="Forever">
  144. <DoubleAnimation
  145. AutoReverse="True"
  146. BeginTime="0:0:0.00000"
  147. Storyboard.TargetName="R01"
  148. Storyboard.TargetProperty="Opacity"
  149. To="0"
  150. Duration="0:0:0.08333" />
  151. <DoubleAnimation
  152. AutoReverse="True"
  153. BeginTime="0:0:0.08333"
  154. Storyboard.TargetName="R02"
  155. Storyboard.TargetProperty="Opacity"
  156. To="0"
  157. Duration="0:0:0.08333" />
  158. <DoubleAnimation
  159. AutoReverse="True"
  160. BeginTime="0:0:0.16666"
  161. Storyboard.TargetName="R03"
  162. Storyboard.TargetProperty="Opacity"
  163. To="0"
  164. Duration="0:0:0.08333" />
  165. <DoubleAnimation
  166. AutoReverse="True"
  167. BeginTime="0:0:0.24999"
  168. Storyboard.TargetName="R04"
  169. Storyboard.TargetProperty="Opacity"
  170. To="0"
  171. Duration="0:0:0.08333" />
  172. <DoubleAnimation
  173. AutoReverse="True"
  174. BeginTime="0:0:0.33332"
  175. Storyboard.TargetName="R05"
  176. Storyboard.TargetProperty="Opacity"
  177. To="0"
  178. Duration="0:0:0.08333" />
  179. <DoubleAnimation
  180. AutoReverse="True"
  181. BeginTime="0:0:0.41665"
  182. Storyboard.TargetName="R06"
  183. Storyboard.TargetProperty="Opacity"
  184. To="0"
  185. Duration="0:0:0.08333" />
  186. <DoubleAnimation
  187. AutoReverse="True"
  188. BeginTime="0:0:0.49998"
  189. Storyboard.TargetName="R07"
  190. Storyboard.TargetProperty="Opacity"
  191. To="0"
  192. Duration="0:0:0.08333" />
  193. <DoubleAnimation
  194. AutoReverse="True"
  195. BeginTime="0:0:0.58331"
  196. Storyboard.TargetName="R08"
  197. Storyboard.TargetProperty="Opacity"
  198. To="0"
  199. Duration="0:0:0.08333" />
  200. <DoubleAnimation
  201. AutoReverse="True"
  202. BeginTime="0:0:0.66664"
  203. Storyboard.TargetName="R09"
  204. Storyboard.TargetProperty="Opacity"
  205. To="0"
  206. Duration="0:0:0.08333" />
  207. <DoubleAnimation
  208. AutoReverse="True"
  209. BeginTime="0:0:0.74997"
  210. Storyboard.TargetName="R10"
  211. Storyboard.TargetProperty="Opacity"
  212. To="0"
  213. Duration="0:0:0.08333" />
  214. <DoubleAnimation
  215. AutoReverse="True"
  216. BeginTime="0:0:0.83330"
  217. Storyboard.TargetName="R11"
  218. Storyboard.TargetProperty="Opacity"
  219. To="0"
  220. Duration="0:0:0.08333" />
  221. <DoubleAnimation
  222. AutoReverse="True"
  223. BeginTime="0:0:0.91663"
  224. Storyboard.TargetName="R12"
  225. Storyboard.TargetProperty="Opacity"
  226. To="0"
  227. Duration="0:0:0.08333" />
  228. </Storyboard>
  229. </BeginStoryboard>
  230. </EventTrigger>
  231. </Grid.Triggers>
  232. </Grid>
  233. </Border>
  234. </Grid>
  235. </Window>