这段时间有朋友问我怎样在Blend里用事件来控制动作的回放,这个问题其实不难,解决方案也应该有多种,下面介绍下我目前应用的方法,有点搞笑。
其实Blend对贞动画中的时间板StoryBoard 本来就有 一个“反转” 的功能如图:
只需要轻轻按下“反转” 就实现了动画的相反顺序播放。
来啰嗦一个超简单的动画 步骤如下:
1.建三个时间线页面代码、Storyboard1、Storyboard2、Storyboard_back 三个时间线的如图及代码分别如下:
1 <navigation:Page
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 mc:Ignorable="d"
7 xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
8 xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
9 x:Class="ImageRecognitionSystem.GatePageB"
10 Title="GatePageB Page"
11 d:DesignWidth="640" d:DesignHeight="480">
12 <navigation:Page.Resources>
13 <Storyboard x:Name="Storyboard1">
14 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
15 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="45"/>
16 </DoubleAnimationUsingKeyFrames>
17 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
18 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="45"/>
19 </DoubleAnimationUsingKeyFrames>
20 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)">
21 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
22 </DoubleAnimationUsingKeyFrames>
23 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
24 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
25 </DoubleAnimationUsingKeyFrames>
26 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
27 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF0C0B0B"/>
28 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF81E67B"/>
29 </ColorAnimationUsingKeyFrames>
30 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
31 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF0C0B0B"/>
32 <EasingColorKeyFrame KeyTime="00:00:01" Value="Black"/>
33 </ColorAnimationUsingKeyFrames>
34 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
35 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
36 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="360"/>
37 </DoubleAnimationUsingKeyFrames>
38 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
39 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="7.662"/>
40 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="7.669"/>
41 </DoubleAnimationUsingKeyFrames>
42 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
43 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="-30.008"/>
44 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="-29.996"/>
45 </DoubleAnimationUsingKeyFrames>
46 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
47 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.1"/>
48 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="3.3"/>
49 </DoubleAnimationUsingKeyFrames>
50 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
51 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.1"/>
52 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="2.693"/>
53 </DoubleAnimationUsingKeyFrames>
54 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="label" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
55 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.171"/>
56 </DoubleAnimationUsingKeyFrames>
57 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
58 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
59 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="360"/>
60 </DoubleAnimationUsingKeyFrames>
61 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
62 <DiscreteObjectKeyFrame KeyTime="00:00:00">
63 <DiscreteObjectKeyFrame.Value>
64 <HorizontalAlignment>Center</HorizontalAlignment>
65 </DiscreteObjectKeyFrame.Value>
66 </DiscreteObjectKeyFrame>
67 <DiscreteObjectKeyFrame KeyTime="00:00:00.1000000">
68 <DiscreteObjectKeyFrame.Value>
69 <HorizontalAlignment>Center</HorizontalAlignment>
70 </DiscreteObjectKeyFrame.Value>
71 </DiscreteObjectKeyFrame>
72 <DiscreteObjectKeyFrame KeyTime="00:00:00.2000000">
73 <DiscreteObjectKeyFrame.Value>
74 <HorizontalAlignment>Center</HorizontalAlignment>
75 </DiscreteObjectKeyFrame.Value>
76 </DiscreteObjectKeyFrame>
77 <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
78 <DiscreteObjectKeyFrame.Value>
79 <HorizontalAlignment>Center</HorizontalAlignment>
80 </DiscreteObjectKeyFrame.Value>
81 </DiscreteObjectKeyFrame>
82 <DiscreteObjectKeyFrame KeyTime="00:00:00.4000000">
83 <DiscreteObjectKeyFrame.Value>
84 <HorizontalAlignment>Center</HorizontalAlignment>
85 </DiscreteObjectKeyFrame.Value>
86 </DiscreteObjectKeyFrame>
87 <DiscreteObjectKeyFrame KeyTime="00:00:00.5000000">
88 <DiscreteObjectKeyFrame.Value>
89 <HorizontalAlignment>Center</HorizontalAlignment>
90 </DiscreteObjectKeyFrame.Value>
91 </DiscreteObjectKeyFrame>
92 <DiscreteObjectKeyFrame KeyTime="00:00:00.6000000">
93 <DiscreteObjectKeyFrame.Value>
94 <HorizontalAlignment>Center</HorizontalAlignment>
95 </DiscreteObjectKeyFrame.Value>
96 </DiscreteObjectKeyFrame>
97 <DiscreteObjectKeyFrame KeyTime="00:00:00.7000000">
98 <DiscreteObjectKeyFrame.Value>
99 <HorizontalAlignment>Center</HorizontalAlignment>
100 </DiscreteObjectKeyFrame.Value>
101 </DiscreteObjectKeyFrame>
102 <DiscreteObjectKeyFrame KeyTime="00:00:00.8000000">
103 <DiscreteObjectKeyFrame.Value>
104 <HorizontalAlignment>Center</HorizontalAlignment>
105 </DiscreteObjectKeyFrame.Value>
106 </DiscreteObjectKeyFrame>
107 <DiscreteObjectKeyFrame KeyTime="00:00:00.9000000">
108 <DiscreteObjectKeyFrame.Value>
109 <HorizontalAlignment>Center</HorizontalAlignment>
110 </DiscreteObjectKeyFrame.Value>
111 </DiscreteObjectKeyFrame>
112 <DiscreteObjectKeyFrame KeyTime="00:00:01">
113 <DiscreteObjectKeyFrame.Value>
114 <HorizontalAlignment>Center</HorizontalAlignment>
115 </DiscreteObjectKeyFrame.Value>
116 </DiscreteObjectKeyFrame>
117 </ObjectAnimationUsingKeyFrames>
118 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
119 <DiscreteObjectKeyFrame KeyTime="00:00:00">
120 <DiscreteObjectKeyFrame.Value>
121 <VerticalAlignment>Center</VerticalAlignment>
122 </DiscreteObjectKeyFrame.Value>
123 </DiscreteObjectKeyFrame>
124 <DiscreteObjectKeyFrame KeyTime="00:00:00.2000000">
125 <DiscreteObjectKeyFrame.Value>
126 <VerticalAlignment>Center</VerticalAlignment>
127 </DiscreteObjectKeyFrame.Value>
128 </DiscreteObjectKeyFrame>
129 <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
130 <DiscreteObjectKeyFrame.Value>
131 <VerticalAlignment>Center</VerticalAlignment>
132 </DiscreteObjectKeyFrame.Value>
133 </DiscreteObjectKeyFrame>
134 <DiscreteObjectKeyFrame KeyTime="00:00:00.4000000">
135 <DiscreteObjectKeyFrame.Value>
136 <VerticalAlignment>Center</VerticalAlignment>
137 </DiscreteObjectKeyFrame.Value>
138 </DiscreteObjectKeyFrame>
139 <DiscreteObjectKeyFrame KeyTime="00:00:00.5000000">
140 <DiscreteObjectKeyFrame.Value>
141 <VerticalAlignment>Center</VerticalAlignment>
142 </DiscreteObjectKeyFrame.Value>
143 </DiscreteObjectKeyFrame>
144 <DiscreteObjectKeyFrame KeyTime="00:00:00.6000000">
145 <DiscreteObjectKeyFrame.Value>
146 <VerticalAlignment>Center</VerticalAlignment>
147 </DiscreteObjectKeyFrame.Value>
148 </DiscreteObjectKeyFrame>
149 <DiscreteObjectKeyFrame KeyTime="00:00:00.7000000">
150 <DiscreteObjectKeyFrame.Value>
151 <VerticalAlignment>Center</VerticalAlignment>
152 </DiscreteObjectKeyFrame.Value>
153 </DiscreteObjectKeyFrame>
154 <DiscreteObjectKeyFrame KeyTime="00:00:00.8000000">
155 <DiscreteObjectKeyFrame.Value>
156 <VerticalAlignment>Center</VerticalAlignment>
157 </DiscreteObjectKeyFrame.Value>
158 </DiscreteObjectKeyFrame>
159 <DiscreteObjectKeyFrame KeyTime="00:00:00.9000000">
160 <DiscreteObjectKeyFrame.Value>
161 <VerticalAlignment>Center</VerticalAlignment>
162 </DiscreteObjectKeyFrame.Value>
163 </DiscreteObjectKeyFrame>
164 <DiscreteObjectKeyFrame KeyTime="00:00:01">
165 <DiscreteObjectKeyFrame.Value>
166 <VerticalAlignment>Center</VerticalAlignment>
167 </DiscreteObjectKeyFrame.Value>
168 </DiscreteObjectKeyFrame>
169 </ObjectAnimationUsingKeyFrames>
170 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="label1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
171 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
172 </DoubleAnimationUsingKeyFrames>
173 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
174 <DiscreteObjectKeyFrame KeyTime="00:00:00">
175 <DiscreteObjectKeyFrame.Value>
176 <HorizontalAlignment>Stretch</HorizontalAlignment>
177 </DiscreteObjectKeyFrame.Value>
178 </DiscreteObjectKeyFrame>
179 <DiscreteObjectKeyFrame KeyTime="00:00:01">
180 <DiscreteObjectKeyFrame.Value>
181 <HorizontalAlignment>Stretch</HorizontalAlignment>
182 </DiscreteObjectKeyFrame.Value>
183 </DiscreteObjectKeyFrame>
184 </ObjectAnimationUsingKeyFrames>
185 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
186 <DiscreteObjectKeyFrame KeyTime="00:00:00">
187 <DiscreteObjectKeyFrame.Value>
188 <VerticalAlignment>Stretch</VerticalAlignment>
189 </DiscreteObjectKeyFrame.Value>
190 </DiscreteObjectKeyFrame>
191 <DiscreteObjectKeyFrame KeyTime="00:00:01">
192 <DiscreteObjectKeyFrame.Value>
193 <VerticalAlignment>Stretch</VerticalAlignment>
194 </DiscreteObjectKeyFrame.Value>
195 </DiscreteObjectKeyFrame>
196 </ObjectAnimationUsingKeyFrames>
197 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(Control.BorderBrush).(SolidColorBrush.Color)">
198 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF084719"/>
199 </ColorAnimationUsingKeyFrames>
200 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
201 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF0F4F11"/>
202 </ColorAnimationUsingKeyFrames>
203 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(Control.BorderBrush).(SolidColorBrush.Color)">
204 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF0F5E24"/>
205 </ColorAnimationUsingKeyFrames>
206 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
207 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF0F4F11"/>
208 </ColorAnimationUsingKeyFrames>
209 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
210 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF4FAD28"/>
211 </ColorAnimationUsingKeyFrames>
212 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(UIElement.Opacity)">
213 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.6"/>
214 </DoubleAnimationUsingKeyFrames>
215 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
216 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF4FAD28"/>
217 </ColorAnimationUsingKeyFrames>
218 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.Opacity)">
219 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.6"/>
220 </DoubleAnimationUsingKeyFrames>
221 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
222 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF4FAD28"/>
223 </ColorAnimationUsingKeyFrames>
224 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox" Storyboard.TargetProperty="(UIElement.Opacity)">
225 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.6"/>
226 </DoubleAnimationUsingKeyFrames>
227 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox1" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
228 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF4FAD28"/>
229 </ColorAnimationUsingKeyFrames>
230 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox1" Storyboard.TargetProperty="(UIElement.Opacity)">
231 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.6"/>
232 </DoubleAnimationUsingKeyFrames>
233 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
234 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="180.875"/>
235 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="180.876"/>
236 </DoubleAnimationUsingKeyFrames>
237 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
238 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="59"/>
239 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="58.938"/>
240 </DoubleAnimationUsingKeyFrames>
241 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
242 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FFAEC0E8"/>
243 </ColorAnimationUsingKeyFrames>
244 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
245 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF163A89"/>
246 </ColorAnimationUsingKeyFrames>
247 </Storyboard>
248 <Storyboard x:Name="Storyboard2" RepeatBehavior="Forever" AutoReverse="True">
249 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
250 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF4FAD28"/>
251 </ColorAnimationUsingKeyFrames>
252 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.Opacity)">
253 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.1"/>
254 </DoubleAnimationUsingKeyFrames>
255 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
256 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="180.913"/>
257 </DoubleAnimationUsingKeyFrames>
258 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
259 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="58.916"/>
260 </DoubleAnimationUsingKeyFrames>
261 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
262 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF163A89"/>
263 </ColorAnimationUsingKeyFrames>
264 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
265 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FFAEC0E8"/>
266 </ColorAnimationUsingKeyFrames>
267 </Storyboard>
268 <Storyboard x:Name="Storyboard_back">
269 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
270 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="45"/>
271 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
272 </DoubleAnimationUsingKeyFrames>
273 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
274 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="45"/>
275 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
276 </DoubleAnimationUsingKeyFrames>
277 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)">
278 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
279 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
280 </DoubleAnimationUsingKeyFrames>
281 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
282 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
283 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
284 </DoubleAnimationUsingKeyFrames>
285 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
286 <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF81E67B"/>
287 <SplineColorKeyFrame KeyTime="00:00:01" Value="#FF0C0B0B"/>
288 </ColorAnimationUsingKeyFrames>
289 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
290 <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
291 <SplineColorKeyFrame KeyTime="00:00:01" Value="#FF0C0B0B"/>
292 </ColorAnimationUsingKeyFrames>
293 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
294 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="360"/>
295 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
296 </DoubleAnimationUsingKeyFrames>
297 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
298 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="7.669"/>
299 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="7.662"/>
300 </DoubleAnimationUsingKeyFrames>
301 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
302 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="-29.996"/>
303 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="-30.008"/>
304 </DoubleAnimationUsingKeyFrames>
305 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
306 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="3.3"/>
307 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0.1"/>
308 </DoubleAnimationUsingKeyFrames>
309 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
310 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="2.693"/>
311 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0.1"/>
312 </DoubleAnimationUsingKeyFrames>
313 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="label" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
314 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
315 </DoubleAnimationUsingKeyFrames>
316 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
317 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="360"/>
318 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
319 </DoubleAnimationUsingKeyFrames>
320 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
321 <DiscreteObjectKeyFrame KeyTime="00:00:00">
322 <DiscreteObjectKeyFrame.Value>
323 <HorizontalAlignment>Center</HorizontalAlignment>
324 </DiscreteObjectKeyFrame.Value>
325 </DiscreteObjectKeyFrame>
326 <DiscreteObjectKeyFrame KeyTime="00:00:01">
327 <DiscreteObjectKeyFrame.Value>
328 <HorizontalAlignment>Center</HorizontalAlignment>
329 </DiscreteObjectKeyFrame.Value>
330 </DiscreteObjectKeyFrame>
331 <DiscreteObjectKeyFrame KeyTime="00:00:00.9000000">
332 <DiscreteObjectKeyFrame.Value>
333 <HorizontalAlignment>Center</HorizontalAlignment>
334 </DiscreteObjectKeyFrame.Value>
335 </DiscreteObjectKeyFrame>
336 <DiscreteObjectKeyFrame KeyTime="00:00:00.8000000">
337 <DiscreteObjectKeyFrame.Value>
338 <HorizontalAlignment>Center</HorizontalAlignment>
339 </DiscreteObjectKeyFrame.Value>
340 </DiscreteObjectKeyFrame>
341 <DiscreteObjectKeyFrame KeyTime="00:00:00.7000000">
342 <DiscreteObjectKeyFrame.Value>
343 <HorizontalAlignment>Center</HorizontalAlignment>
344 </DiscreteObjectKeyFrame.Value>
345 </DiscreteObjectKeyFrame>
346 <DiscreteObjectKeyFrame KeyTime="00:00:00.6000000">
347 <DiscreteObjectKeyFrame.Value>
348 <HorizontalAlignment>Center</HorizontalAlignment>
349 </DiscreteObjectKeyFrame.Value>
350 </DiscreteObjectKeyFrame>
351 <DiscreteObjectKeyFrame KeyTime="00:00:00.5000000">
352 <DiscreteObjectKeyFrame.Value>
353 <HorizontalAlignment>Center</HorizontalAlignment>
354 </DiscreteObjectKeyFrame.Value>
355 </DiscreteObjectKeyFrame>
356 <DiscreteObjectKeyFrame KeyTime="00:00:00.4000000">
357 <DiscreteObjectKeyFrame.Value>
358 <HorizontalAlignment>Center</HorizontalAlignment>
359 </DiscreteObjectKeyFrame.Value>
360 </DiscreteObjectKeyFrame>
361 <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
362 <DiscreteObjectKeyFrame.Value>
363 <HorizontalAlignment>Center</HorizontalAlignment>
364 </DiscreteObjectKeyFrame.Value>
365 </DiscreteObjectKeyFrame>
366 <DiscreteObjectKeyFrame KeyTime="00:00:00.2000000">
367 <DiscreteObjectKeyFrame.Value>
368 <HorizontalAlignment>Center</HorizontalAlignment>
369 </DiscreteObjectKeyFrame.Value>
370 </DiscreteObjectKeyFrame>
371 <DiscreteObjectKeyFrame KeyTime="00:00:00.1000000">
372 <DiscreteObjectKeyFrame.Value>
373 <HorizontalAlignment>Center</HorizontalAlignment>
374 </DiscreteObjectKeyFrame.Value>
375 </DiscreteObjectKeyFrame>
376 <DiscreteObjectKeyFrame KeyTime="00:00:01">
377 <DiscreteObjectKeyFrame.Value>
378 <HorizontalAlignment>Center</HorizontalAlignment>
379 </DiscreteObjectKeyFrame.Value>
380 </DiscreteObjectKeyFrame>
381 </ObjectAnimationUsingKeyFrames>
382 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
383 <DiscreteObjectKeyFrame KeyTime="00:00:00">
384 <DiscreteObjectKeyFrame.Value>
385 <VerticalAlignment>Center</VerticalAlignment>
386 </DiscreteObjectKeyFrame.Value>
387 </DiscreteObjectKeyFrame>
388 <DiscreteObjectKeyFrame KeyTime="00:00:00.1000000">
389 <DiscreteObjectKeyFrame.Value>
390 <VerticalAlignment>Center</VerticalAlignment>
391 </DiscreteObjectKeyFrame.Value>
392 </DiscreteObjectKeyFrame>
393 <DiscreteObjectKeyFrame KeyTime="00:00:00.2000000">
394 <DiscreteObjectKeyFrame.Value>
395 <VerticalAlignment>Center</VerticalAlignment>
396 </DiscreteObjectKeyFrame.Value>
397 </DiscreteObjectKeyFrame>
398 <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
399 <DiscreteObjectKeyFrame.Value>
400 <VerticalAlignment>Center</VerticalAlignment>
401 </DiscreteObjectKeyFrame.Value>
402 </DiscreteObjectKeyFrame>
403 <DiscreteObjectKeyFrame KeyTime="00:00:00.4000000">
404 <DiscreteObjectKeyFrame.Value>
405 <VerticalAlignment>Center</VerticalAlignment>
406 </DiscreteObjectKeyFrame.Value>
407 </DiscreteObjectKeyFrame>
408 <DiscreteObjectKeyFrame KeyTime="00:00:00.5000000">
409 <DiscreteObjectKeyFrame.Value>
410 <VerticalAlignment>Center</VerticalAlignment>
411 </DiscreteObjectKeyFrame.Value>
412 </DiscreteObjectKeyFrame>
413 <DiscreteObjectKeyFrame KeyTime="00:00:00.6000000">
414 <DiscreteObjectKeyFrame.Value>
415 <VerticalAlignment>Center</VerticalAlignment>
416 </DiscreteObjectKeyFrame.Value>
417 </DiscreteObjectKeyFrame>
418 <DiscreteObjectKeyFrame KeyTime="00:00:00.7000000">
419 <DiscreteObjectKeyFrame.Value>
420 <VerticalAlignment>Center</VerticalAlignment>
421 </DiscreteObjectKeyFrame.Value>
422 </DiscreteObjectKeyFrame>
423 <DiscreteObjectKeyFrame KeyTime="00:00:00.8000000">
424 <DiscreteObjectKeyFrame.Value>
425 <VerticalAlignment>Center</VerticalAlignment>
426 </DiscreteObjectKeyFrame.Value>
427 </DiscreteObjectKeyFrame>
428 <DiscreteObjectKeyFrame KeyTime="00:00:01">
429 <DiscreteObjectKeyFrame.Value>
430 <VerticalAlignment>Center</VerticalAlignment>
431 </DiscreteObjectKeyFrame.Value>
432 </DiscreteObjectKeyFrame>
433 </ObjectAnimationUsingKeyFrames>
434 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="label1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
435 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
436 </DoubleAnimationUsingKeyFrames>
437 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
438 <DiscreteObjectKeyFrame KeyTime="00:00:00">
439 <DiscreteObjectKeyFrame.Value>
440 <HorizontalAlignment>Stretch</HorizontalAlignment>
441 </DiscreteObjectKeyFrame.Value>
442 </DiscreteObjectKeyFrame>
443 <DiscreteObjectKeyFrame KeyTime="00:00:01">
444 <DiscreteObjectKeyFrame.Value>
445 <HorizontalAlignment>Stretch</HorizontalAlignment>
446 </DiscreteObjectKeyFrame.Value>
447 </DiscreteObjectKeyFrame>
448 </ObjectAnimationUsingKeyFrames>
449 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
450 <DiscreteObjectKeyFrame KeyTime="00:00:00">
451 <DiscreteObjectKeyFrame.Value>
452 <VerticalAlignment>Stretch</VerticalAlignment>
453 </DiscreteObjectKeyFrame.Value>
454 </DiscreteObjectKeyFrame>
455 <DiscreteObjectKeyFrame KeyTime="00:00:01">
456 <DiscreteObjectKeyFrame.Value>
457 <VerticalAlignment>Stretch</VerticalAlignment>
458 </DiscreteObjectKeyFrame.Value>
459 </DiscreteObjectKeyFrame>
460 </ObjectAnimationUsingKeyFrames>
461 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(Control.BorderBrush).(SolidColorBrush.Color)">
462 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
463 </ColorAnimationUsingKeyFrames>
464 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
465 <SplineColorKeyFrame KeyTime="00:00:01" Value="#FF1F3B53"/>
466 </ColorAnimationUsingKeyFrames>
467 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(Control.BorderBrush).(SolidColorBrush.Color)">
468 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
469 </ColorAnimationUsingKeyFrames>
470 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
471 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
472 </ColorAnimationUsingKeyFrames>
473 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
474 <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF4FAD28"/>
475 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
476 </ColorAnimationUsingKeyFrames>
477 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(UIElement.Opacity)">
478 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
479 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
480 </DoubleAnimationUsingKeyFrames>
481 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
482 <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF4FAD28"/>
483 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
484 </ColorAnimationUsingKeyFrames>
485 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.Opacity)">
486 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
487 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
488 </DoubleAnimationUsingKeyFrames>
489 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
490 <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF4FAD28"/>
491 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
492 </ColorAnimationUsingKeyFrames>
493 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox" Storyboard.TargetProperty="(UIElement.Opacity)">
494 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
495 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
496 </DoubleAnimationUsingKeyFrames>
497 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox1" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
498 <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF4FAD28"/>
499 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
500 </ColorAnimationUsingKeyFrames>
501 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox1" Storyboard.TargetProperty="(UIElement.Opacity)">
502 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
503 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
504 </DoubleAnimationUsingKeyFrames>
505 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
506 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="180.999"/>
507 </DoubleAnimationUsingKeyFrames>
508 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
509 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="59"/>
510 </DoubleAnimationUsingKeyFrames>
511 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
512 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FFAEC0E8"/>
513 </ColorAnimationUsingKeyFrames>
514 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
515 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF163A89"/>
516 </ColorAnimationUsingKeyFrames>
517 </Storyboard>
518 </navigation:Page.Resources>
519
520 <Grid x:Name="LayoutRoot" >
521 <Grid x:Name="grid" RenderTransformOrigin="0.5,0.5">
522 <Grid.RenderTransform>
523 <TransformGroup>
524 <ScaleTransform/>
525 <SkewTransform/>
526 <RotateTransform/>
527 <TranslateTransform/>
528 </TransformGroup>
529 </Grid.RenderTransform>
530 <Grid.Background>
531 <RadialGradientBrush>
532 <GradientStop Color="Black"/>
533 <GradientStop Color="#FF81E67B" Offset="1"/>
534 </RadialGradientBrush>
535 </Grid.Background>
536 <TextBlock x:Name="textBlock" HorizontalAlignment="Left" Margin="8,8,0,0" VerticalAlignment="Top" Width="170" TextWrapping="Wrap" OpacityMask="Black"><TextBlock.Foreground>
537 <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
538 <GradientStop Color="Black" Offset="0"/>
539 <GradientStop Color="White" Offset="1"/>
540 </LinearGradientBrush>
541 </TextBlock.Foreground><Run Text="把"/><Run Text="鼠标移到中心黑色"/><Run Text="区域显示菜单"/></TextBlock>
542 <Ellipse x:Name="ellipse" Margin="313,234" Width="10" Height="10" RenderTransformOrigin="0.5,0.5">
543 <Ellipse.Fill>
544 <RadialGradientBrush>
545 <GradientStop Color="Black" Offset="0"/>
546 <GradientStop Color="White" Offset="1"/>
547 </RadialGradientBrush>
548 </Ellipse.Fill>
549 <Ellipse.RenderTransform>
550 <TransformGroup>
551 <ScaleTransform/>
552 <SkewTransform/>
553 <RotateTransform/>
554 <TranslateTransform/>
555 </TransformGroup>
556 </Ellipse.RenderTransform>
557 </Ellipse>
558 <Ellipse Fill="#00000000" x:Name="cotrolellipse" MouseEnter="cotrolellipse_MouseEnter" Width="60" Height="60"/>
559 <StackPanel x:Name="stackPanel" Margin="262,224,278,156" RenderTransformOrigin="0.5,0.5">
560 <StackPanel.RenderTransform>
561 <TransformGroup>
562 <ScaleTransform/>
563 <SkewTransform/>
564 <RotateTransform/>
565 <TranslateTransform/>
566 </TransformGroup>
567 </StackPanel.RenderTransform>
568 <dataInput:Label>
569 <dataInput:Label>
570 <dataInput:Label Content="Username:"/>
571 </dataInput:Label>
572 </dataInput:Label>
573 <TextBox x:Name="textBox" Text="" Height="20" MaxLength="10" TextWrapping="Wrap" OpacityMask="Black"/>
574 <dataInput:Label x:Name="label1" RenderTransformOrigin="0.5,0.5">
575 <dataInput:Label.RenderTransform>
576 <TransformGroup>
577 <ScaleTransform/>
578 <SkewTransform/>
579 <RotateTransform/>
580 <TranslateTransform/>
581 </TransformGroup>
582 </dataInput:Label.RenderTransform>
583 <dataInput:Label x:Name="label" Content="Password:" RenderTransformOrigin="0.5,0.5">
584 <dataInput:Label.RenderTransform>
585 <TransformGroup>
586 <ScaleTransform/>
587 <SkewTransform/>
588 <RotateTransform/>
589 <TranslateTransform/>
590 </TransformGroup>
591 </dataInput:Label.RenderTransform>
592 </dataInput:Label>
593 </dataInput:Label>
594 <TextBox x:Name="textBox1" Text="" Height="20" MaxLength="10" TextWrapping="Wrap" OpacityMask="Black"/>
595 <Button x:Name="button1" Height="15" FontSize="8" Width="30" Content="OK" BorderBrush="Black" OpacityMask="Black"></Button>
596 <Button x:Name="button" Click="button_Click" Height="15" FontSize="6" Width="30" Content="Cancel" OpacityMask="Black" BorderBrush="Black" Background="Black"/>
597 </StackPanel>
598 <TextBlock x:Name="textBlock1" HorizontalAlignment="Right" Margin="0,0,180,59" VerticalAlignment="Bottom" TextWrapping="Wrap" RenderTransformOrigin="0.5,0.5">
599 <TextBlock.Foreground>
600 <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
601 <GradientStop Color="Black" Offset="0"/>
602 <GradientStop Color="White" Offset="1"/>
603 </LinearGradientBrush>
604 </TextBlock.Foreground>
605 <TextBlock.RenderTransform>
606 <TransformGroup>
607 <ScaleTransform/>
608 <SkewTransform/>
609 <RotateTransform/>
610 <TranslateTransform/>
611 </TransformGroup>
612 </TextBlock.RenderTransform><Run Text="你可以以极大的好奇心"/><Run Text="访问"/><Run Text=":www.cnblogs.com/molin"/></TextBlock>
613 </Grid>
614 </Grid>
615 </navigation:Page>
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 mc:Ignorable="d"
7 xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
8 xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
9 x:Class="ImageRecognitionSystem.GatePageB"
10 Title="GatePageB Page"
11 d:DesignWidth="640" d:DesignHeight="480">
12 <navigation:Page.Resources>
13 <Storyboard x:Name="Storyboard1">
14 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
15 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="45"/>
16 </DoubleAnimationUsingKeyFrames>
17 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
18 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="45"/>
19 </DoubleAnimationUsingKeyFrames>
20 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)">
21 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
22 </DoubleAnimationUsingKeyFrames>
23 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
24 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
25 </DoubleAnimationUsingKeyFrames>
26 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
27 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF0C0B0B"/>
28 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF81E67B"/>
29 </ColorAnimationUsingKeyFrames>
30 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
31 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF0C0B0B"/>
32 <EasingColorKeyFrame KeyTime="00:00:01" Value="Black"/>
33 </ColorAnimationUsingKeyFrames>
34 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
35 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
36 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="360"/>
37 </DoubleAnimationUsingKeyFrames>
38 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
39 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="7.662"/>
40 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="7.669"/>
41 </DoubleAnimationUsingKeyFrames>
42 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
43 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="-30.008"/>
44 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="-29.996"/>
45 </DoubleAnimationUsingKeyFrames>
46 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
47 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.1"/>
48 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="3.3"/>
49 </DoubleAnimationUsingKeyFrames>
50 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
51 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.1"/>
52 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="2.693"/>
53 </DoubleAnimationUsingKeyFrames>
54 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="label" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
55 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.171"/>
56 </DoubleAnimationUsingKeyFrames>
57 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
58 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
59 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="360"/>
60 </DoubleAnimationUsingKeyFrames>
61 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
62 <DiscreteObjectKeyFrame KeyTime="00:00:00">
63 <DiscreteObjectKeyFrame.Value>
64 <HorizontalAlignment>Center</HorizontalAlignment>
65 </DiscreteObjectKeyFrame.Value>
66 </DiscreteObjectKeyFrame>
67 <DiscreteObjectKeyFrame KeyTime="00:00:00.1000000">
68 <DiscreteObjectKeyFrame.Value>
69 <HorizontalAlignment>Center</HorizontalAlignment>
70 </DiscreteObjectKeyFrame.Value>
71 </DiscreteObjectKeyFrame>
72 <DiscreteObjectKeyFrame KeyTime="00:00:00.2000000">
73 <DiscreteObjectKeyFrame.Value>
74 <HorizontalAlignment>Center</HorizontalAlignment>
75 </DiscreteObjectKeyFrame.Value>
76 </DiscreteObjectKeyFrame>
77 <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
78 <DiscreteObjectKeyFrame.Value>
79 <HorizontalAlignment>Center</HorizontalAlignment>
80 </DiscreteObjectKeyFrame.Value>
81 </DiscreteObjectKeyFrame>
82 <DiscreteObjectKeyFrame KeyTime="00:00:00.4000000">
83 <DiscreteObjectKeyFrame.Value>
84 <HorizontalAlignment>Center</HorizontalAlignment>
85 </DiscreteObjectKeyFrame.Value>
86 </DiscreteObjectKeyFrame>
87 <DiscreteObjectKeyFrame KeyTime="00:00:00.5000000">
88 <DiscreteObjectKeyFrame.Value>
89 <HorizontalAlignment>Center</HorizontalAlignment>
90 </DiscreteObjectKeyFrame.Value>
91 </DiscreteObjectKeyFrame>
92 <DiscreteObjectKeyFrame KeyTime="00:00:00.6000000">
93 <DiscreteObjectKeyFrame.Value>
94 <HorizontalAlignment>Center</HorizontalAlignment>
95 </DiscreteObjectKeyFrame.Value>
96 </DiscreteObjectKeyFrame>
97 <DiscreteObjectKeyFrame KeyTime="00:00:00.7000000">
98 <DiscreteObjectKeyFrame.Value>
99 <HorizontalAlignment>Center</HorizontalAlignment>
100 </DiscreteObjectKeyFrame.Value>
101 </DiscreteObjectKeyFrame>
102 <DiscreteObjectKeyFrame KeyTime="00:00:00.8000000">
103 <DiscreteObjectKeyFrame.Value>
104 <HorizontalAlignment>Center</HorizontalAlignment>
105 </DiscreteObjectKeyFrame.Value>
106 </DiscreteObjectKeyFrame>
107 <DiscreteObjectKeyFrame KeyTime="00:00:00.9000000">
108 <DiscreteObjectKeyFrame.Value>
109 <HorizontalAlignment>Center</HorizontalAlignment>
110 </DiscreteObjectKeyFrame.Value>
111 </DiscreteObjectKeyFrame>
112 <DiscreteObjectKeyFrame KeyTime="00:00:01">
113 <DiscreteObjectKeyFrame.Value>
114 <HorizontalAlignment>Center</HorizontalAlignment>
115 </DiscreteObjectKeyFrame.Value>
116 </DiscreteObjectKeyFrame>
117 </ObjectAnimationUsingKeyFrames>
118 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
119 <DiscreteObjectKeyFrame KeyTime="00:00:00">
120 <DiscreteObjectKeyFrame.Value>
121 <VerticalAlignment>Center</VerticalAlignment>
122 </DiscreteObjectKeyFrame.Value>
123 </DiscreteObjectKeyFrame>
124 <DiscreteObjectKeyFrame KeyTime="00:00:00.2000000">
125 <DiscreteObjectKeyFrame.Value>
126 <VerticalAlignment>Center</VerticalAlignment>
127 </DiscreteObjectKeyFrame.Value>
128 </DiscreteObjectKeyFrame>
129 <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
130 <DiscreteObjectKeyFrame.Value>
131 <VerticalAlignment>Center</VerticalAlignment>
132 </DiscreteObjectKeyFrame.Value>
133 </DiscreteObjectKeyFrame>
134 <DiscreteObjectKeyFrame KeyTime="00:00:00.4000000">
135 <DiscreteObjectKeyFrame.Value>
136 <VerticalAlignment>Center</VerticalAlignment>
137 </DiscreteObjectKeyFrame.Value>
138 </DiscreteObjectKeyFrame>
139 <DiscreteObjectKeyFrame KeyTime="00:00:00.5000000">
140 <DiscreteObjectKeyFrame.Value>
141 <VerticalAlignment>Center</VerticalAlignment>
142 </DiscreteObjectKeyFrame.Value>
143 </DiscreteObjectKeyFrame>
144 <DiscreteObjectKeyFrame KeyTime="00:00:00.6000000">
145 <DiscreteObjectKeyFrame.Value>
146 <VerticalAlignment>Center</VerticalAlignment>
147 </DiscreteObjectKeyFrame.Value>
148 </DiscreteObjectKeyFrame>
149 <DiscreteObjectKeyFrame KeyTime="00:00:00.7000000">
150 <DiscreteObjectKeyFrame.Value>
151 <VerticalAlignment>Center</VerticalAlignment>
152 </DiscreteObjectKeyFrame.Value>
153 </DiscreteObjectKeyFrame>
154 <DiscreteObjectKeyFrame KeyTime="00:00:00.8000000">
155 <DiscreteObjectKeyFrame.Value>
156 <VerticalAlignment>Center</VerticalAlignment>
157 </DiscreteObjectKeyFrame.Value>
158 </DiscreteObjectKeyFrame>
159 <DiscreteObjectKeyFrame KeyTime="00:00:00.9000000">
160 <DiscreteObjectKeyFrame.Value>
161 <VerticalAlignment>Center</VerticalAlignment>
162 </DiscreteObjectKeyFrame.Value>
163 </DiscreteObjectKeyFrame>
164 <DiscreteObjectKeyFrame KeyTime="00:00:01">
165 <DiscreteObjectKeyFrame.Value>
166 <VerticalAlignment>Center</VerticalAlignment>
167 </DiscreteObjectKeyFrame.Value>
168 </DiscreteObjectKeyFrame>
169 </ObjectAnimationUsingKeyFrames>
170 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="label1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
171 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
172 </DoubleAnimationUsingKeyFrames>
173 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
174 <DiscreteObjectKeyFrame KeyTime="00:00:00">
175 <DiscreteObjectKeyFrame.Value>
176 <HorizontalAlignment>Stretch</HorizontalAlignment>
177 </DiscreteObjectKeyFrame.Value>
178 </DiscreteObjectKeyFrame>
179 <DiscreteObjectKeyFrame KeyTime="00:00:01">
180 <DiscreteObjectKeyFrame.Value>
181 <HorizontalAlignment>Stretch</HorizontalAlignment>
182 </DiscreteObjectKeyFrame.Value>
183 </DiscreteObjectKeyFrame>
184 </ObjectAnimationUsingKeyFrames>
185 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
186 <DiscreteObjectKeyFrame KeyTime="00:00:00">
187 <DiscreteObjectKeyFrame.Value>
188 <VerticalAlignment>Stretch</VerticalAlignment>
189 </DiscreteObjectKeyFrame.Value>
190 </DiscreteObjectKeyFrame>
191 <DiscreteObjectKeyFrame KeyTime="00:00:01">
192 <DiscreteObjectKeyFrame.Value>
193 <VerticalAlignment>Stretch</VerticalAlignment>
194 </DiscreteObjectKeyFrame.Value>
195 </DiscreteObjectKeyFrame>
196 </ObjectAnimationUsingKeyFrames>
197 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(Control.BorderBrush).(SolidColorBrush.Color)">
198 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF084719"/>
199 </ColorAnimationUsingKeyFrames>
200 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
201 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF0F4F11"/>
202 </ColorAnimationUsingKeyFrames>
203 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(Control.BorderBrush).(SolidColorBrush.Color)">
204 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF0F5E24"/>
205 </ColorAnimationUsingKeyFrames>
206 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
207 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF0F4F11"/>
208 </ColorAnimationUsingKeyFrames>
209 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
210 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF4FAD28"/>
211 </ColorAnimationUsingKeyFrames>
212 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(UIElement.Opacity)">
213 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.6"/>
214 </DoubleAnimationUsingKeyFrames>
215 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
216 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF4FAD28"/>
217 </ColorAnimationUsingKeyFrames>
218 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.Opacity)">
219 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.6"/>
220 </DoubleAnimationUsingKeyFrames>
221 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
222 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF4FAD28"/>
223 </ColorAnimationUsingKeyFrames>
224 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox" Storyboard.TargetProperty="(UIElement.Opacity)">
225 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.6"/>
226 </DoubleAnimationUsingKeyFrames>
227 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox1" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
228 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF4FAD28"/>
229 </ColorAnimationUsingKeyFrames>
230 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox1" Storyboard.TargetProperty="(UIElement.Opacity)">
231 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.6"/>
232 </DoubleAnimationUsingKeyFrames>
233 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
234 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="180.875"/>
235 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="180.876"/>
236 </DoubleAnimationUsingKeyFrames>
237 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
238 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="59"/>
239 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="58.938"/>
240 </DoubleAnimationUsingKeyFrames>
241 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
242 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FFAEC0E8"/>
243 </ColorAnimationUsingKeyFrames>
244 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
245 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF163A89"/>
246 </ColorAnimationUsingKeyFrames>
247 </Storyboard>
248 <Storyboard x:Name="Storyboard2" RepeatBehavior="Forever" AutoReverse="True">
249 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
250 <EasingColorKeyFrame KeyTime="00:00:01" Value="#FF4FAD28"/>
251 </ColorAnimationUsingKeyFrames>
252 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(UIElement.Opacity)">
253 <EasingDoubleKeyFrame KeyTime="00:00:01" Value="0.1"/>
254 </DoubleAnimationUsingKeyFrames>
255 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
256 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="180.913"/>
257 </DoubleAnimationUsingKeyFrames>
258 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
259 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="58.916"/>
260 </DoubleAnimationUsingKeyFrames>
261 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
262 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF163A89"/>
263 </ColorAnimationUsingKeyFrames>
264 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
265 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FFAEC0E8"/>
266 </ColorAnimationUsingKeyFrames>
267 </Storyboard>
268 <Storyboard x:Name="Storyboard_back">
269 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
270 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="45"/>
271 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
272 </DoubleAnimationUsingKeyFrames>
273 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
274 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="45"/>
275 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
276 </DoubleAnimationUsingKeyFrames>
277 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)">
278 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
279 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
280 </DoubleAnimationUsingKeyFrames>
281 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
282 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
283 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
284 </DoubleAnimationUsingKeyFrames>
285 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
286 <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF81E67B"/>
287 <SplineColorKeyFrame KeyTime="00:00:01" Value="#FF0C0B0B"/>
288 </ColorAnimationUsingKeyFrames>
289 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
290 <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
291 <SplineColorKeyFrame KeyTime="00:00:01" Value="#FF0C0B0B"/>
292 </ColorAnimationUsingKeyFrames>
293 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
294 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="360"/>
295 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
296 </DoubleAnimationUsingKeyFrames>
297 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
298 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="7.669"/>
299 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="7.662"/>
300 </DoubleAnimationUsingKeyFrames>
301 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
302 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="-29.996"/>
303 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="-30.008"/>
304 </DoubleAnimationUsingKeyFrames>
305 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
306 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="3.3"/>
307 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0.1"/>
308 </DoubleAnimationUsingKeyFrames>
309 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
310 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="2.693"/>
311 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0.1"/>
312 </DoubleAnimationUsingKeyFrames>
313 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="label" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
314 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
315 </DoubleAnimationUsingKeyFrames>
316 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
317 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="360"/>
318 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
319 </DoubleAnimationUsingKeyFrames>
320 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
321 <DiscreteObjectKeyFrame KeyTime="00:00:00">
322 <DiscreteObjectKeyFrame.Value>
323 <HorizontalAlignment>Center</HorizontalAlignment>
324 </DiscreteObjectKeyFrame.Value>
325 </DiscreteObjectKeyFrame>
326 <DiscreteObjectKeyFrame KeyTime="00:00:01">
327 <DiscreteObjectKeyFrame.Value>
328 <HorizontalAlignment>Center</HorizontalAlignment>
329 </DiscreteObjectKeyFrame.Value>
330 </DiscreteObjectKeyFrame>
331 <DiscreteObjectKeyFrame KeyTime="00:00:00.9000000">
332 <DiscreteObjectKeyFrame.Value>
333 <HorizontalAlignment>Center</HorizontalAlignment>
334 </DiscreteObjectKeyFrame.Value>
335 </DiscreteObjectKeyFrame>
336 <DiscreteObjectKeyFrame KeyTime="00:00:00.8000000">
337 <DiscreteObjectKeyFrame.Value>
338 <HorizontalAlignment>Center</HorizontalAlignment>
339 </DiscreteObjectKeyFrame.Value>
340 </DiscreteObjectKeyFrame>
341 <DiscreteObjectKeyFrame KeyTime="00:00:00.7000000">
342 <DiscreteObjectKeyFrame.Value>
343 <HorizontalAlignment>Center</HorizontalAlignment>
344 </DiscreteObjectKeyFrame.Value>
345 </DiscreteObjectKeyFrame>
346 <DiscreteObjectKeyFrame KeyTime="00:00:00.6000000">
347 <DiscreteObjectKeyFrame.Value>
348 <HorizontalAlignment>Center</HorizontalAlignment>
349 </DiscreteObjectKeyFrame.Value>
350 </DiscreteObjectKeyFrame>
351 <DiscreteObjectKeyFrame KeyTime="00:00:00.5000000">
352 <DiscreteObjectKeyFrame.Value>
353 <HorizontalAlignment>Center</HorizontalAlignment>
354 </DiscreteObjectKeyFrame.Value>
355 </DiscreteObjectKeyFrame>
356 <DiscreteObjectKeyFrame KeyTime="00:00:00.4000000">
357 <DiscreteObjectKeyFrame.Value>
358 <HorizontalAlignment>Center</HorizontalAlignment>
359 </DiscreteObjectKeyFrame.Value>
360 </DiscreteObjectKeyFrame>
361 <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
362 <DiscreteObjectKeyFrame.Value>
363 <HorizontalAlignment>Center</HorizontalAlignment>
364 </DiscreteObjectKeyFrame.Value>
365 </DiscreteObjectKeyFrame>
366 <DiscreteObjectKeyFrame KeyTime="00:00:00.2000000">
367 <DiscreteObjectKeyFrame.Value>
368 <HorizontalAlignment>Center</HorizontalAlignment>
369 </DiscreteObjectKeyFrame.Value>
370 </DiscreteObjectKeyFrame>
371 <DiscreteObjectKeyFrame KeyTime="00:00:00.1000000">
372 <DiscreteObjectKeyFrame.Value>
373 <HorizontalAlignment>Center</HorizontalAlignment>
374 </DiscreteObjectKeyFrame.Value>
375 </DiscreteObjectKeyFrame>
376 <DiscreteObjectKeyFrame KeyTime="00:00:01">
377 <DiscreteObjectKeyFrame.Value>
378 <HorizontalAlignment>Center</HorizontalAlignment>
379 </DiscreteObjectKeyFrame.Value>
380 </DiscreteObjectKeyFrame>
381 </ObjectAnimationUsingKeyFrames>
382 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="stackPanel" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
383 <DiscreteObjectKeyFrame KeyTime="00:00:00">
384 <DiscreteObjectKeyFrame.Value>
385 <VerticalAlignment>Center</VerticalAlignment>
386 </DiscreteObjectKeyFrame.Value>
387 </DiscreteObjectKeyFrame>
388 <DiscreteObjectKeyFrame KeyTime="00:00:00.1000000">
389 <DiscreteObjectKeyFrame.Value>
390 <VerticalAlignment>Center</VerticalAlignment>
391 </DiscreteObjectKeyFrame.Value>
392 </DiscreteObjectKeyFrame>
393 <DiscreteObjectKeyFrame KeyTime="00:00:00.2000000">
394 <DiscreteObjectKeyFrame.Value>
395 <VerticalAlignment>Center</VerticalAlignment>
396 </DiscreteObjectKeyFrame.Value>
397 </DiscreteObjectKeyFrame>
398 <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
399 <DiscreteObjectKeyFrame.Value>
400 <VerticalAlignment>Center</VerticalAlignment>
401 </DiscreteObjectKeyFrame.Value>
402 </DiscreteObjectKeyFrame>
403 <DiscreteObjectKeyFrame KeyTime="00:00:00.4000000">
404 <DiscreteObjectKeyFrame.Value>
405 <VerticalAlignment>Center</VerticalAlignment>
406 </DiscreteObjectKeyFrame.Value>
407 </DiscreteObjectKeyFrame>
408 <DiscreteObjectKeyFrame KeyTime="00:00:00.5000000">
409 <DiscreteObjectKeyFrame.Value>
410 <VerticalAlignment>Center</VerticalAlignment>
411 </DiscreteObjectKeyFrame.Value>
412 </DiscreteObjectKeyFrame>
413 <DiscreteObjectKeyFrame KeyTime="00:00:00.6000000">
414 <DiscreteObjectKeyFrame.Value>
415 <VerticalAlignment>Center</VerticalAlignment>
416 </DiscreteObjectKeyFrame.Value>
417 </DiscreteObjectKeyFrame>
418 <DiscreteObjectKeyFrame KeyTime="00:00:00.7000000">
419 <DiscreteObjectKeyFrame.Value>
420 <VerticalAlignment>Center</VerticalAlignment>
421 </DiscreteObjectKeyFrame.Value>
422 </DiscreteObjectKeyFrame>
423 <DiscreteObjectKeyFrame KeyTime="00:00:00.8000000">
424 <DiscreteObjectKeyFrame.Value>
425 <VerticalAlignment>Center</VerticalAlignment>
426 </DiscreteObjectKeyFrame.Value>
427 </DiscreteObjectKeyFrame>
428 <DiscreteObjectKeyFrame KeyTime="00:00:01">
429 <DiscreteObjectKeyFrame.Value>
430 <VerticalAlignment>Center</VerticalAlignment>
431 </DiscreteObjectKeyFrame.Value>
432 </DiscreteObjectKeyFrame>
433 </ObjectAnimationUsingKeyFrames>
434 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="label1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
435 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
436 </DoubleAnimationUsingKeyFrames>
437 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
438 <DiscreteObjectKeyFrame KeyTime="00:00:00">
439 <DiscreteObjectKeyFrame.Value>
440 <HorizontalAlignment>Stretch</HorizontalAlignment>
441 </DiscreteObjectKeyFrame.Value>
442 </DiscreteObjectKeyFrame>
443 <DiscreteObjectKeyFrame KeyTime="00:00:01">
444 <DiscreteObjectKeyFrame.Value>
445 <HorizontalAlignment>Stretch</HorizontalAlignment>
446 </DiscreteObjectKeyFrame.Value>
447 </DiscreteObjectKeyFrame>
448 </ObjectAnimationUsingKeyFrames>
449 <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
450 <DiscreteObjectKeyFrame KeyTime="00:00:00">
451 <DiscreteObjectKeyFrame.Value>
452 <VerticalAlignment>Stretch</VerticalAlignment>
453 </DiscreteObjectKeyFrame.Value>
454 </DiscreteObjectKeyFrame>
455 <DiscreteObjectKeyFrame KeyTime="00:00:01">
456 <DiscreteObjectKeyFrame.Value>
457 <VerticalAlignment>Stretch</VerticalAlignment>
458 </DiscreteObjectKeyFrame.Value>
459 </DiscreteObjectKeyFrame>
460 </ObjectAnimationUsingKeyFrames>
461 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(Control.BorderBrush).(SolidColorBrush.Color)">
462 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
463 </ColorAnimationUsingKeyFrames>
464 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
465 <SplineColorKeyFrame KeyTime="00:00:01" Value="#FF1F3B53"/>
466 </ColorAnimationUsingKeyFrames>
467 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(Control.BorderBrush).(SolidColorBrush.Color)">
468 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
469 </ColorAnimationUsingKeyFrames>
470 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
471 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
472 </ColorAnimationUsingKeyFrames>
473 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
474 <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF4FAD28"/>
475 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
476 </ColorAnimationUsingKeyFrames>
477 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(UIElement.Opacity)">
478 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
479 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
480 </DoubleAnimationUsingKeyFrames>
481 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
482 <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF4FAD28"/>
483 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
484 </ColorAnimationUsingKeyFrames>
485 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button" Storyboard.TargetProperty="(UIElement.Opacity)">
486 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
487 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
488 </DoubleAnimationUsingKeyFrames>
489 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
490 <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF4FAD28"/>
491 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
492 </ColorAnimationUsingKeyFrames>
493 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox" Storyboard.TargetProperty="(UIElement.Opacity)">
494 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
495 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
496 </DoubleAnimationUsingKeyFrames>
497 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox1" Storyboard.TargetProperty="(UIElement.OpacityMask).(SolidColorBrush.Color)">
498 <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF4FAD28"/>
499 <SplineColorKeyFrame KeyTime="00:00:01" Value="Black"/>
500 </ColorAnimationUsingKeyFrames>
501 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBox1" Storyboard.TargetProperty="(UIElement.Opacity)">
502 <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
503 <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
504 </DoubleAnimationUsingKeyFrames>
505 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
506 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="180.999"/>
507 </DoubleAnimationUsingKeyFrames>
508 <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
509 <EasingDoubleKeyFrame KeyTime="00:00:00" Value="59"/>
510 </DoubleAnimationUsingKeyFrames>
511 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
512 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FFAEC0E8"/>
513 </ColorAnimationUsingKeyFrames>
514 <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
515 <EasingColorKeyFrame KeyTime="00:00:00" Value="#FF163A89"/>
516 </ColorAnimationUsingKeyFrames>
517 </Storyboard>
518 </navigation:Page.Resources>
519
520 <Grid x:Name="LayoutRoot" >
521 <Grid x:Name="grid" RenderTransformOrigin="0.5,0.5">
522 <Grid.RenderTransform>
523 <TransformGroup>
524 <ScaleTransform/>
525 <SkewTransform/>
526 <RotateTransform/>
527 <TranslateTransform/>
528 </TransformGroup>
529 </Grid.RenderTransform>
530 <Grid.Background>
531 <RadialGradientBrush>
532 <GradientStop Color="Black"/>
533 <GradientStop Color="#FF81E67B" Offset="1"/>
534 </RadialGradientBrush>
535 </Grid.Background>
536 <TextBlock x:Name="textBlock" HorizontalAlignment="Left" Margin="8,8,0,0" VerticalAlignment="Top" Width="170" TextWrapping="Wrap" OpacityMask="Black"><TextBlock.Foreground>
537 <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
538 <GradientStop Color="Black" Offset="0"/>
539 <GradientStop Color="White" Offset="1"/>
540 </LinearGradientBrush>
541 </TextBlock.Foreground><Run Text="把"/><Run Text="鼠标移到中心黑色"/><Run Text="区域显示菜单"/></TextBlock>
542 <Ellipse x:Name="ellipse" Margin="313,234" Width="10" Height="10" RenderTransformOrigin="0.5,0.5">
543 <Ellipse.Fill>
544 <RadialGradientBrush>
545 <GradientStop Color="Black" Offset="0"/>
546 <GradientStop Color="White" Offset="1"/>
547 </RadialGradientBrush>
548 </Ellipse.Fill>
549 <Ellipse.RenderTransform>
550 <TransformGroup>
551 <ScaleTransform/>
552 <SkewTransform/>
553 <RotateTransform/>
554 <TranslateTransform/>
555 </TransformGroup>
556 </Ellipse.RenderTransform>
557 </Ellipse>
558 <Ellipse Fill="#00000000" x:Name="cotrolellipse" MouseEnter="cotrolellipse_MouseEnter" Width="60" Height="60"/>
559 <StackPanel x:Name="stackPanel" Margin="262,224,278,156" RenderTransformOrigin="0.5,0.5">
560 <StackPanel.RenderTransform>
561 <TransformGroup>
562 <ScaleTransform/>
563 <SkewTransform/>
564 <RotateTransform/>
565 <TranslateTransform/>
566 </TransformGroup>
567 </StackPanel.RenderTransform>
568 <dataInput:Label>
569 <dataInput:Label>
570 <dataInput:Label Content="Username:"/>
571 </dataInput:Label>
572 </dataInput:Label>
573 <TextBox x:Name="textBox" Text="" Height="20" MaxLength="10" TextWrapping="Wrap" OpacityMask="Black"/>
574 <dataInput:Label x:Name="label1" RenderTransformOrigin="0.5,0.5">
575 <dataInput:Label.RenderTransform>
576 <TransformGroup>
577 <ScaleTransform/>
578 <SkewTransform/>
579 <RotateTransform/>
580 <TranslateTransform/>
581 </TransformGroup>
582 </dataInput:Label.RenderTransform>
583 <dataInput:Label x:Name="label" Content="Password:" RenderTransformOrigin="0.5,0.5">
584 <dataInput:Label.RenderTransform>
585 <TransformGroup>
586 <ScaleTransform/>
587 <SkewTransform/>
588 <RotateTransform/>
589 <TranslateTransform/>
590 </TransformGroup>
591 </dataInput:Label.RenderTransform>
592 </dataInput:Label>
593 </dataInput:Label>
594 <TextBox x:Name="textBox1" Text="" Height="20" MaxLength="10" TextWrapping="Wrap" OpacityMask="Black"/>
595 <Button x:Name="button1" Height="15" FontSize="8" Width="30" Content="OK" BorderBrush="Black" OpacityMask="Black"></Button>
596 <Button x:Name="button" Click="button_Click" Height="15" FontSize="6" Width="30" Content="Cancel" OpacityMask="Black" BorderBrush="Black" Background="Black"/>
597 </StackPanel>
598 <TextBlock x:Name="textBlock1" HorizontalAlignment="Right" Margin="0,0,180,59" VerticalAlignment="Bottom" TextWrapping="Wrap" RenderTransformOrigin="0.5,0.5">
599 <TextBlock.Foreground>
600 <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
601 <GradientStop Color="Black" Offset="0"/>
602 <GradientStop Color="White" Offset="1"/>
603 </LinearGradientBrush>
604 </TextBlock.Foreground>
605 <TextBlock.RenderTransform>
606 <TransformGroup>
607 <ScaleTransform/>
608 <SkewTransform/>
609 <RotateTransform/>
610 <TranslateTransform/>
611 </TransformGroup>
612 </TextBlock.RenderTransform><Run Text="你可以以极大的好奇心"/><Run Text="访问"/><Run Text=":www.cnblogs.com/molin"/></TextBlock>
613 </Grid>
614 </Grid>
615 </navigation:Page>