星火微课系统客户端
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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