|
@@ -10,7 +10,7 @@
|
10
|
10
|
mc:Ignorable="d"
|
11
|
11
|
Title="星火微课系统" Height="1040" Width="1276" WindowStartupLocation="CenterScreen"
|
12
|
12
|
WindowStyle="None" AllowsTransparency="True" Background="#EFF1F8" ShowInTaskbar="True" ResizeMode="CanMinimize" BorderThickness="10"
|
13
|
|
- >
|
|
13
|
+ >
|
14
|
14
|
<!--<Grid>
|
15
|
15
|
<Border CornerRadius="0,0,0,0"
|
16
|
16
|
Background="White"
|
|
@@ -141,118 +141,122 @@
|
141
|
141
|
<Border Background="#cdcdcd" Height="1040" Width="1280">
|
142
|
142
|
<Grid x:Name="GridContent" Height="1036" Width="1276">
|
143
|
143
|
|
144
|
|
- <!--分3行-->
|
145
|
|
- <Grid.RowDefinitions>
|
146
|
|
- <RowDefinition Height="106"/>
|
147
|
|
- <RowDefinition Height="*"/>
|
148
|
|
- <RowDefinition Height="40"/>
|
149
|
|
- </Grid.RowDefinitions>
|
150
|
|
- <Grid Grid.Row="0" Background="#2D8CF0" MouseLeftButtonDown="Window_MouseLeftButtonDown" Margin="0,0,0,0">
|
|
144
|
+ <!--分3行-->
|
151
|
145
|
<Grid.RowDefinitions>
|
152
|
|
- <RowDefinition Height="auto"/>
|
153
|
|
- <RowDefinition Height="auto"/>
|
|
146
|
+ <RowDefinition Height="106"/>
|
|
147
|
+ <RowDefinition Height="*"/>
|
|
148
|
+ <RowDefinition Height="40"/>
|
154
|
149
|
</Grid.RowDefinitions>
|
155
|
|
- <!--第一行-->
|
156
|
|
- <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,2,10,0">
|
157
|
|
- <Image Source="./Images/microLessonSystem_0.png"/>
|
158
|
|
- <TextBlock Text="星火微课系统" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
|
159
|
|
- </StackPanel>
|
160
|
|
- <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,2,10,0">
|
161
|
|
- <Button Cursor="Hand" x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnLoginType_Click">
|
162
|
|
- <StackPanel Orientation="Horizontal">
|
163
|
|
- <Image Source="./Images/microLessonSystem_9.png"/>
|
164
|
|
- <TextBlock x:Name="txbLoginType" Text="未登录" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
|
165
|
|
- </StackPanel>
|
166
|
|
- </Button>
|
167
|
|
- <Button Cursor="Hand" x:Name="btnShrink" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click" Margin="8,0,8,0">
|
168
|
|
- <Image Source="./Images/microLessonSystem_19.png"/>
|
169
|
|
- </Button>
|
170
|
|
- <!--<Button Cursor="Hand" x:Name="btnEnlarge" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,0,8,0">
|
|
150
|
+ <Grid Grid.Row="0" Background="#2D8CF0" MouseLeftButtonDown="Window_MouseLeftButtonDown" Margin="0,0,0,0">
|
|
151
|
+ <Grid.RowDefinitions>
|
|
152
|
+ <RowDefinition Height="auto"/>
|
|
153
|
+ <RowDefinition Height="auto"/>
|
|
154
|
+ </Grid.RowDefinitions>
|
|
155
|
+ <!--第一行-->
|
|
156
|
+ <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,2,10,0">
|
|
157
|
+ <Image Source="./Images/microLessonSystem_0.png"/>
|
|
158
|
+ <TextBlock Text="星火微课系统" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
|
|
159
|
+ </StackPanel>
|
|
160
|
+ <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,2,10,0">
|
|
161
|
+ <Button Cursor="Hand" x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnLoginType_Click">
|
|
162
|
+ <StackPanel Orientation="Horizontal">
|
|
163
|
+ <Image Source="./Images/microLessonSystem_9.png"/>
|
|
164
|
+ <TextBlock x:Name="txbLoginType" Text="未登录" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
|
|
165
|
+ </StackPanel>
|
|
166
|
+ </Button>
|
|
167
|
+ <Button Cursor="Hand" x:Name="btnShrink" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click" Margin="8,0,8,0">
|
|
168
|
+ <Image Source="./Images/microLessonSystem_19.png"/>
|
|
169
|
+ </Button>
|
|
170
|
+ <!--<Button Cursor="Hand" x:Name="btnEnlarge" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,0,8,0">
|
171
|
171
|
<Image Source="./Images/microLessonSystem_8.png"/>
|
172
|
172
|
</Button>-->
|
173
|
|
- <Button Cursor="Hand" x:Name="btnDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click" >
|
174
|
|
- <Image Source="./Images/microLessonSystem_10.png"/>
|
175
|
|
- </Button>
|
176
|
|
- </StackPanel>
|
177
|
|
- <!--第二行-->
|
178
|
|
- <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,6,0,0">
|
179
|
|
- <Button Cursor="Hand" x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="30,0,0,0">
|
180
|
|
- <StackPanel Orientation="Vertical">
|
181
|
|
- <Image x:Name="ImgScreenRecording" Source="./Images/microLessonSystem_2.png"/>
|
182
|
|
- <Image x:Name="ImgScreenRecordingTwo" Source="./Images/microLessonSystem_3.png" Visibility="Collapsed"/>
|
183
|
|
- <TextBlock x:Name="TxbRecordScreenWord" Text="录屏" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
184
|
|
- </StackPanel>
|
185
|
|
- </Button>
|
186
|
|
- <Button Cursor="Hand" x:Name="btnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,0,0" Click="BtnScreenshot_Click">
|
187
|
|
- <StackPanel Orientation="Vertical">
|
188
|
|
- <Image x:Name="ImgScreenshot" Source="./Images/microLessonSystem_12.png"/>
|
189
|
|
- <Image x:Name="ImgScreenshotTwo" Source="./Images/microLessonSystem_11.png" Visibility="Collapsed"/>
|
190
|
|
- <TextBlock Text="截图" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
191
|
|
- </StackPanel>
|
192
|
|
- </Button>
|
193
|
|
- <Button Cursor="Hand" x:Name="btnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" Margin="30,0,0,0">
|
194
|
|
- <StackPanel Orientation="Vertical">
|
195
|
|
- <Image x:Name="ImgImport" Source="./Images/microLessonSystem_6.png"/>
|
196
|
|
- <Image x:Name="ImgImportTwo" Source="./Images/microLessonSystem_7.png" Visibility="Collapsed"/>
|
197
|
|
- <TextBlock Text="导入" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
198
|
|
- </StackPanel>
|
199
|
|
- </Button>
|
200
|
|
- <Button Cursor="Hand" x:Name="BtnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="100,0,0,0" Click="BtnRecord_Click">
|
201
|
|
- <StackPanel Orientation="Vertical">
|
202
|
|
- <Image x:Name="ImgRecord" Source="./Images/microLessonSystem_14.png"/>
|
203
|
|
- <Image x:Name="ImgRecordTwo" Source="./Images/microLessonSystem_13.png" Visibility="Collapsed"/>
|
204
|
|
- <TextBlock x:Name="TxbRecordingWord" Text="录制" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
205
|
|
- </StackPanel>
|
206
|
|
- </Button>
|
207
|
|
- <Button Cursor="Hand" x:Name="btnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" Margin="30,0,0,0">
|
208
|
|
- <StackPanel Orientation="Vertical">
|
209
|
|
- <Image x:Name="ImgStop" Source="./Images/microLessonSystem_21.png"/>
|
210
|
|
- <Image x:Name="ImgStopTwo" Source="./Images/microLessonSystem_20.png" Visibility="Collapsed"/>
|
211
|
|
- <TextBlock Text="停止" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
212
|
|
- </StackPanel>
|
213
|
|
- </Button>
|
|
173
|
+ <Button Cursor="Hand" x:Name="btnDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click" >
|
|
174
|
+ <Image Source="./Images/microLessonSystem_10.png"/>
|
|
175
|
+ </Button>
|
|
176
|
+ </StackPanel>
|
|
177
|
+ <!--第二行-->
|
|
178
|
+ <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,6,0,0">
|
|
179
|
+ <Button Cursor="Hand" x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="30,0,0,0">
|
|
180
|
+ <StackPanel Orientation="Vertical">
|
|
181
|
+ <Image x:Name="ImgScreenRecording" Source="./Images/microLessonSystem_2.png"/>
|
|
182
|
+ <Image x:Name="ImgScreenRecordingTwo" Source="./Images/microLessonSystem_3.png" Visibility="Collapsed"/>
|
|
183
|
+ <TextBlock x:Name="TxbRecordScreenWord" Text="录屏" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
184
|
+ </StackPanel>
|
|
185
|
+ </Button>
|
|
186
|
+ <Button Cursor="Hand" x:Name="btnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,0,0" Click="BtnScreenshot_Click">
|
|
187
|
+ <StackPanel Orientation="Vertical">
|
|
188
|
+ <Image x:Name="ImgScreenshot" Source="./Images/microLessonSystem_12.png"/>
|
|
189
|
+ <Image x:Name="ImgScreenshotTwo" Source="./Images/microLessonSystem_11.png" Visibility="Collapsed"/>
|
|
190
|
+ <TextBlock Text="截图" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
191
|
+ </StackPanel>
|
|
192
|
+ </Button>
|
|
193
|
+ <Button Cursor="Hand" x:Name="btnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" Margin="30,0,0,0">
|
|
194
|
+ <StackPanel Orientation="Vertical">
|
|
195
|
+ <Image x:Name="ImgImport" Source="./Images/microLessonSystem_6.png"/>
|
|
196
|
+ <Image x:Name="ImgImportTwo" Source="./Images/microLessonSystem_7.png" Visibility="Collapsed"/>
|
|
197
|
+ <TextBlock Text="导入" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
198
|
+ </StackPanel>
|
|
199
|
+ </Button>
|
|
200
|
+ <Button Cursor="Hand" x:Name="BtnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="100,0,0,0" Click="BtnRecord_Click">
|
|
201
|
+ <StackPanel Orientation="Vertical">
|
|
202
|
+ <Image x:Name="ImgRecord" Source="./Images/microLessonSystem_14.png"/>
|
|
203
|
+ <Image x:Name="ImgRecordTwo" Source="./Images/microLessonSystem_13.png" Visibility="Collapsed"/>
|
|
204
|
+ <TextBlock x:Name="TxbRecordingWord" Text="录制" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
205
|
+ </StackPanel>
|
|
206
|
+ </Button>
|
|
207
|
+ <Button Cursor="Hand" x:Name="btnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" Margin="30,0,0,0">
|
|
208
|
+ <StackPanel Orientation="Vertical">
|
|
209
|
+ <Image x:Name="ImgStop" Source="./Images/microLessonSystem_21.png"/>
|
|
210
|
+ <Image x:Name="ImgStopTwo" Source="./Images/microLessonSystem_20.png" Visibility="Collapsed"/>
|
|
211
|
+ <TextBlock Text="停止" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
212
|
+ </StackPanel>
|
|
213
|
+ </Button>
|
214
|
214
|
<TextBlock x:Name="txbTime" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
|
215
|
215
|
<TextBlock x:Name="txbType" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
|
216
|
|
- </StackPanel>
|
217
|
|
- <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,10,10,0">
|
218
|
|
- <Button Cursor="Hand" x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="0,0,30,0">
|
219
|
|
- <StackPanel Orientation="Vertical">
|
220
|
|
- <Image x:Name="ImgAdd" Source="./Images/microLessonSystem_25.png" Visibility="Visible"/>
|
221
|
|
- <Image x:Name="ImgAddTwo" Source="./Images/microLessonSystem_24.png" Visibility="Collapsed"/>
|
222
|
|
- <TextBlock Text="增加" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
223
|
|
- </StackPanel>
|
224
|
|
- </Button>
|
225
|
|
- <Button Cursor="Hand" x:Name="btnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnPrint_Click">
|
226
|
|
- <StackPanel Orientation="Vertical">
|
227
|
|
- <Image x:Name="ImgPrint" Source="./Images/microLessonSystem_4.png" Visibility="Collapsed"/>
|
228
|
|
- <Image x:Name="ImgPrintTwo" Source="./Images/microLessonSystem_5.png" Visibility="Visible"/>
|
229
|
|
- <TextBlock Text="打印" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
230
|
|
- </StackPanel>
|
231
|
|
- </Button>
|
232
|
|
- <!--<Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnUpload_Click" Margin="0,0,30,0">
|
|
216
|
+ </StackPanel>
|
|
217
|
+ <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,10,10,0">
|
|
218
|
+ <Button Cursor="Hand" x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="0,0,30,0">
|
|
219
|
+ <StackPanel Orientation="Vertical">
|
|
220
|
+ <Image x:Name="ImgAdd" Source="./Images/microLessonSystem_25.png" Visibility="Visible"/>
|
|
221
|
+ <Image x:Name="ImgAddTwo" Source="./Images/microLessonSystem_24.png" Visibility="Collapsed"/>
|
|
222
|
+ <TextBlock Text="增加" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
223
|
+ </StackPanel>
|
|
224
|
+ </Button>
|
|
225
|
+ <Button Cursor="Hand" x:Name="btnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnPrint_Click">
|
|
226
|
+ <StackPanel Orientation="Vertical">
|
|
227
|
+ <Image x:Name="ImgPrint" Source="./Images/microLessonSystem_4.png" Visibility="Collapsed"/>
|
|
228
|
+ <Image x:Name="ImgPrintTwo" Source="./Images/microLessonSystem_5.png" Visibility="Visible"/>
|
|
229
|
+ <TextBlock Text="打印" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
230
|
+ </StackPanel>
|
|
231
|
+ </Button>
|
|
232
|
+ <!--<Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnUpload_Click" Margin="0,0,30,0">
|
233
|
233
|
<StackPanel Orientation="Vertical">
|
234
|
234
|
<Image x:Name="ImgUpload" Source="./Images/microLessonSystem_15.png" Visibility="Collapsed"/>
|
235
|
235
|
<Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_16.png" Visibility="Visible"/>
|
236
|
236
|
<TextBlock Text="上传" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
237
|
237
|
</StackPanel>
|
238
|
238
|
</Button>-->
|
239
|
|
- <Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnUpload_Click">
|
240
|
|
- <StackPanel Orientation="Vertical">
|
241
|
|
- <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_22.png" Visibility="Collapsed"/>
|
242
|
|
- <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_1.png" Visibility="Visible"/>
|
243
|
|
- <TextBlock Text="我的" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
244
|
|
- </StackPanel>
|
245
|
|
- </Button>
|
246
|
|
- <Button Cursor="Hand" x:Name="btnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnSetUp_Click">
|
247
|
|
- <StackPanel Orientation="Vertical">
|
248
|
|
- <Image x:Name="ImgSetUp" Source="./Images/microLessonSystem_18.png" Visibility="Visible"/>
|
249
|
|
- <Image x:Name="ImgSetUpTwo" Source="./Images/microLessonSystem_17.png" Visibility="Collapsed"/>
|
250
|
|
- <TextBlock Text="设置" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
251
|
|
- </StackPanel>
|
252
|
|
- </Button>
|
253
|
|
- </StackPanel>
|
254
|
|
- </Grid>
|
255
|
|
- <!--主内容-->
|
|
239
|
+ <Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnUpload_Click">
|
|
240
|
+ <StackPanel Orientation="Vertical">
|
|
241
|
+ <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_22.png" Visibility="Collapsed"/>
|
|
242
|
+ <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_1.png" Visibility="Visible"/>
|
|
243
|
+ <TextBlock Text="我的" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
244
|
+ </StackPanel>
|
|
245
|
+ </Button>
|
|
246
|
+ <Button Cursor="Hand" x:Name="btnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnSetUp_Click">
|
|
247
|
+ <StackPanel Orientation="Vertical">
|
|
248
|
+ <Image x:Name="ImgSetUp" Source="./Images/microLessonSystem_18.png" Visibility="Visible"/>
|
|
249
|
+ <Image x:Name="ImgSetUpTwo" Source="./Images/microLessonSystem_17.png" Visibility="Collapsed"/>
|
|
250
|
+ <TextBlock Text="设置" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
|
|
251
|
+ </StackPanel>
|
|
252
|
+ </Button>
|
|
253
|
+ </StackPanel>
|
|
254
|
+ <Label x:Name="lbl1" Content="Label" HorizontalAlignment="Left" Margin="469,10,0,0" Grid.Row="1" VerticalAlignment="Top" RenderTransformOrigin="0.802,0.126"/>
|
|
255
|
+ <Label x:Name="lbl2" Content="Label" HorizontalAlignment="Left" Margin="780,10,0,0" Grid.Row="1" VerticalAlignment="Top" RenderTransformOrigin="0.34,0.173"/>
|
|
256
|
+ <Label x:Name="lbl3" Content="Label" HorizontalAlignment="Left" Margin="469,49,0,0" Grid.Row="1" VerticalAlignment="Top" RenderTransformOrigin="0.11,0.159"/>
|
|
257
|
+ <Label x:Name="lbl4" Content="Label" HorizontalAlignment="Left" Margin="780,44,0,0" Grid.Row="1" VerticalAlignment="Top"/>
|
|
258
|
+ </Grid>
|
|
259
|
+ <!--主内容-->
|
256
|
260
|
<Grid Grid.Row="1" x:Name="GridMain" Width="1276" Visibility="Visible">
|
257
|
261
|
<ScrollViewer x:Name="scroMain" VerticalScrollBarVisibility="Visible">
|
258
|
262
|
<Grid x:Name="gridM" Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Height="1780">
|
|
@@ -266,23 +270,33 @@
|
266
|
270
|
</TransformGroup>
|
267
|
271
|
</Grid.Resources>
|
268
|
272
|
|
269
|
|
- <ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" Cursor="SizeAll"
|
|
273
|
+ <!--<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" Cursor="SizeAll"
|
270
|
274
|
Margin="0,0,0,0" Focusable="False" x:Name="BackFrame">
|
271
|
275
|
<ContentControl MouseLeftButtonDown="IMG1_MouseLeftButtonDown"
|
272
|
276
|
MouseLeftButtonUp="IMG1_MouseLeftButtonUp"
|
273
|
277
|
MouseMove="IMG1_MouseMove"
|
274
|
278
|
MouseWheel="IMG1_MouseWheel" >
|
275
|
|
- <Image Name="imgCanvas" Width="635" Height="auto" VerticalAlignment="Top" HorizontalAlignment="Left" Stretch="Uniform" MouseDown="PicEMap_MouseDown" RenderTransform="{StaticResource Imageview}" MouseRightButtonDown="imgCanvas_MouseRightButtonDown">
|
276
|
|
- </Image>
|
277
|
279
|
</ContentControl>
|
278
|
|
- </ScrollViewer>
|
|
280
|
+ </ScrollViewer>-->
|
|
281
|
+ <!--图片表框 -->
|
|
282
|
+ <Rectangle x:Name="RectImgBorder" Cursor="SizeAll" Fill="#00000000" HorizontalAlignment="Left" Stroke="#2D8CF0" VerticalAlignment="Top" Width="300" Height="300" Visibility="Hidden" Margin="373,175,0,0" StrokeThickness="4" StrokeDashArray="4 4" SnapsToDevicePixels="True"/>
|
|
283
|
+ <Image Name="imgCanvas" Height="0" VerticalAlignment="Top" HorizontalAlignment="Left" Stretch="Fill" MouseDown="PicEMap_MouseDown" RenderTransform="{StaticResource Imageview}" MouseRightButtonDown="imgCanvas_MouseRightButtonDown" Focusable="True" MouseMove="imgCanvas_MouseMove" MouseUp="imgCanvas_MouseUp"/>
|
|
284
|
+ <!--四个点 -->
|
|
285
|
+ <Canvas>
|
|
286
|
+ <Thumb x:Name="RectLeftUp" Cursor="SizeNWSE" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
|
287
|
+ <Thumb x:Name="RectRightUp" Cursor="SizeNESW" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
|
288
|
+ <Thumb x:Name="RectLeftDown" Cursor="SizeNESW" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
|
289
|
+ <Thumb x:Name="RectRightDown" Cursor="SizeNWSE" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
|
290
|
+ </Canvas>
|
279
|
291
|
</Grid>
|
280
|
292
|
</Border>
|
281
|
293
|
</Grid>
|
282
|
294
|
<!--导入图片-->
|
283
|
|
- <Image x:Name="imgDocumentation" Visibility="Visible"/>
|
284
|
295
|
<!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
|
285
|
296
|
<InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2" />
|
|
297
|
+
|
|
298
|
+ <Image x:Name="imgDocumentation" Visibility="Visible" Width="0" Height="0" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="472,246,0,0" />
|
|
299
|
+
|
286
|
300
|
<!--摄像头-->
|
287
|
301
|
<!--<wfi:WindowsFormsHost Grid.Row="0" Grid.Column="1" x:Name="wfhCamera" Height="124" Width="172" HorizontalAlignment="Right" Margin="0,10,30.10,0" VerticalAlignment="Top">
|
288
|
302
|
<aforge:VideoSourcePlayer x:Name="player" Height="124" Width="172" />
|
|
@@ -306,90 +320,116 @@
|
306
|
320
|
<Grid Grid.Row="1" x:Name="gridPage" Visibility="Collapsed">
|
307
|
321
|
<StackPanel Grid.Row="0" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
|
308
|
322
|
Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
|
309
|
|
- <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
|
|
323
|
+ <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
|
310
|
324
|
x:Name="last_button"
|
311
|
325
|
Width="60" Height="20"
|
312
|
326
|
Click="last_button_Click">
|
313
|
|
- <Button.Content>
|
314
|
|
- <StackPanel>
|
315
|
|
- <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
|
316
|
|
- </StackPanel>
|
317
|
|
- </Button.Content>
|
318
|
|
- </Button>
|
319
|
|
- <Grid Width="60" Background="Transparent">
|
320
|
|
- <Grid.RowDefinitions>
|
321
|
|
- <RowDefinition Height="311*"/>
|
322
|
|
- <RowDefinition Height="483*"/>
|
323
|
|
- </Grid.RowDefinitions>
|
324
|
|
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1" Background="Transparent">
|
325
|
|
- <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Background="Transparent">
|
326
|
|
- <TextBlock x:Name="txbCurrpage" Text="{Binding currpage}" TextAlignment="Center" FontSize="15"/>
|
327
|
|
- <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
|
328
|
|
- <TextBlock Text="{Binding pagenum}" TextAlignment="Center" FontSize="15"/>
|
|
327
|
+ <Button.Content>
|
|
328
|
+ <StackPanel>
|
|
329
|
+ <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
|
|
330
|
+ </StackPanel>
|
|
331
|
+ </Button.Content>
|
|
332
|
+ </Button>
|
|
333
|
+ <Grid Width="60" Background="Transparent">
|
|
334
|
+ <Grid.RowDefinitions>
|
|
335
|
+ <RowDefinition Height="311*"/>
|
|
336
|
+ <RowDefinition Height="483*"/>
|
|
337
|
+ </Grid.RowDefinitions>
|
|
338
|
+ <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1" Background="Transparent">
|
|
339
|
+ <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Background="Transparent">
|
|
340
|
+ <TextBlock x:Name="txbCurrpage" Text="{Binding currpage}" TextAlignment="Center" FontSize="15"/>
|
|
341
|
+ <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
|
|
342
|
+ <TextBlock Text="{Binding pagenum}" TextAlignment="Center" FontSize="15"/>
|
|
343
|
+ </StackPanel>
|
329
|
344
|
</StackPanel>
|
330
|
|
- </StackPanel>
|
331
|
|
- </Grid>
|
332
|
|
- <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
|
|
345
|
+ </Grid>
|
|
346
|
+ <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
|
333
|
347
|
x:Name="next_btn" Background="Transparent"
|
334
|
348
|
Width="60" Height="20"
|
335
|
349
|
Click="next_btn_Click">
|
336
|
|
- <Button.Content>
|
337
|
|
- <StackPanel>
|
338
|
|
- <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
|
339
|
|
- </StackPanel>
|
340
|
|
- </Button.Content>
|
341
|
|
- </Button>
|
342
|
|
- </StackPanel>
|
343
|
|
- </Grid>
|
344
|
|
- <!--设置-->
|
345
|
|
- <Grid Grid.Row="1" x:Name="gridSetUp" Background="#FFFFFF" Visibility="Collapsed" Width="1276">
|
346
|
|
- <Grid.RowDefinitions>
|
347
|
|
- <RowDefinition Height="90"/>
|
348
|
|
- <RowDefinition Height="70"/>
|
349
|
|
- <RowDefinition Height="50"/>
|
350
|
|
- <RowDefinition Height="70"/>
|
351
|
|
- <RowDefinition Height="70"/>
|
352
|
|
- <RowDefinition Height="70"/>
|
353
|
|
- <RowDefinition Height="70"/>
|
354
|
|
- <RowDefinition Height="*"/>
|
355
|
|
- </Grid.RowDefinitions>
|
356
|
|
- <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
|
357
|
|
- <TextBlock Text=" 点阵笔" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
358
|
|
- <TextBlock x:Name="txbNotConnecteds" Text="未连接" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
|
359
|
|
- </StackPanel>
|
360
|
|
- <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
|
361
|
|
- <TextBlock Text="视频格式" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
362
|
|
- <RadioButton x:Name="rbnMP4" Cursor="Hand" Content="MP4" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
|
363
|
|
- <RadioButton x:Name="rbnFLV" Cursor="Hand" Content="FLV" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
364
|
|
- <RadioButton x:Name="rbnAVI" Cursor="Hand" Content="AVI" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
365
|
|
- </StackPanel>
|
366
|
|
- <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
|
367
|
|
- <TextBlock Text="头像位置" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
368
|
|
- <RadioButton Cursor="Hand" x:Name="rbnRight" Content="右上" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
|
369
|
|
- <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Content="右下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
370
|
|
- <RadioButton Cursor="Hand" x:Name="rbnLeft" Content="左上" FontSize="14" Foreground="#333333" Margin="20,2,0,0" />
|
371
|
|
- <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Content="左下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
372
|
|
- </StackPanel>
|
373
|
|
- <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Collapsed">
|
374
|
|
- <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
375
|
|
- <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
|
376
|
|
- <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
377
|
|
- </StackPanel>
|
378
|
|
- <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
|
379
|
|
- <TextBlock x:Name="txbFilePath" Text="文件路径" FontSize="16" Width="80" Foreground="#2D8CF0" Padding="2,26,10,0"/>
|
380
|
|
- <!--输入框-->
|
381
|
|
- <Border Background="#CDD6E0" Width="525" Height="43" CornerRadius="3">
|
382
|
|
- <Label x:Name="txbStoragePath" Background="#FFFFFF" Content="D:\" FontSize="16" Foreground="#333333" Padding="5,12,2,2" Width="523" Height="42" BorderBrush="{x:Null}" BorderThickness="0"/>
|
383
|
|
- </Border>
|
384
|
|
- <!--浏览按钮-->
|
385
|
|
- <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="18" Width="80" Height="43" Margin="18,0,0,0" Click="BtnBrowse_Click">
|
|
350
|
+ <Button.Content>
|
|
351
|
+ <StackPanel>
|
|
352
|
+ <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
|
|
353
|
+ </StackPanel>
|
|
354
|
+ </Button.Content>
|
|
355
|
+ </Button>
|
|
356
|
+ </StackPanel>
|
|
357
|
+ </Grid>
|
|
358
|
+ <!--设置-->
|
|
359
|
+ <Grid Grid.Row="1" x:Name="gridSetUp" Background="#FFFFFF" Visibility="Collapsed" Width="1276">
|
|
360
|
+ <Grid.RowDefinitions>
|
|
361
|
+ <RowDefinition Height="90"/>
|
|
362
|
+ <RowDefinition Height="70"/>
|
|
363
|
+ <RowDefinition Height="50"/>
|
|
364
|
+ <RowDefinition Height="70"/>
|
|
365
|
+ <RowDefinition Height="70"/>
|
|
366
|
+ <RowDefinition Height="70"/>
|
|
367
|
+ <RowDefinition Height="70"/>
|
|
368
|
+ <RowDefinition Height="*"/>
|
|
369
|
+ </Grid.RowDefinitions>
|
|
370
|
+ <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
|
|
371
|
+ <TextBlock Text=" 点阵笔" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
|
372
|
+ <TextBlock x:Name="txbNotConnecteds" Text="未连接" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
|
|
373
|
+ </StackPanel>
|
|
374
|
+ <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
|
|
375
|
+ <TextBlock Text="视频格式" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
|
376
|
+ <RadioButton x:Name="rbnMP4" Cursor="Hand" Content="MP4" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
|
|
377
|
+ <RadioButton x:Name="rbnFLV" Cursor="Hand" Content="FLV" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
|
378
|
+ <RadioButton x:Name="rbnAVI" Cursor="Hand" Content="AVI" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
|
379
|
+ </StackPanel>
|
|
380
|
+ <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
|
|
381
|
+ <TextBlock Text="头像位置" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
|
382
|
+ <RadioButton Cursor="Hand" x:Name="rbnRight" Content="右上" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
|
|
383
|
+ <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Content="右下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
|
384
|
+ <RadioButton Cursor="Hand" x:Name="rbnLeft" Content="左上" FontSize="14" Foreground="#333333" Margin="20,2,0,0" />
|
|
385
|
+ <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Content="左下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
|
386
|
+ </StackPanel>
|
|
387
|
+ <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Collapsed">
|
|
388
|
+ <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
|
389
|
+ <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
|
|
390
|
+ <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
|
391
|
+ </StackPanel>
|
|
392
|
+ <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
|
|
393
|
+ <TextBlock x:Name="txbFilePath" Text="文件路径" FontSize="16" Width="80" Foreground="#2D8CF0" Padding="2,26,10,0"/>
|
|
394
|
+ <!--输入框-->
|
|
395
|
+ <Border Background="#CDD6E0" Width="525" Height="43" CornerRadius="3">
|
|
396
|
+ <Label x:Name="txbStoragePath" Background="#FFFFFF" Content="D:\" FontSize="16" Foreground="#333333" Padding="5,12,2,2" Width="523" Height="42" BorderBrush="{x:Null}" BorderThickness="0"/>
|
|
397
|
+ </Border>
|
|
398
|
+ <!--浏览按钮-->
|
|
399
|
+ <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="18" Width="80" Height="43" Margin="18,0,0,0" Click="BtnBrowse_Click">
|
|
400
|
+ <Button.Template>
|
|
401
|
+ <ControlTemplate TargetType="{x:Type Button}">
|
|
402
|
+ <Border
|
|
403
|
+ BorderBrush="{TemplateBinding Control.BorderBrush}"
|
|
404
|
+ BorderThickness="1"
|
|
405
|
+ CornerRadius="2">
|
|
406
|
+ <Border.Background>#EBEFF3</Border.Background>
|
|
407
|
+ <ContentPresenter
|
|
408
|
+ HorizontalAlignment="Center"
|
|
409
|
+ VerticalAlignment="Center"
|
|
410
|
+ Content="{TemplateBinding ContentControl.Content}" />
|
|
411
|
+ </Border>
|
|
412
|
+ </ControlTemplate>
|
|
413
|
+ </Button.Template>
|
|
414
|
+ </Button>
|
|
415
|
+ </StackPanel>
|
|
416
|
+ <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
|
|
417
|
+ <TextBlock Text=" 版本号" FontSize="16" Width="80" Foreground="#2D8CF0"/>
|
|
418
|
+ <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="16" Foreground="#333333" Padding="10,0,0,0"/>
|
|
419
|
+ </StackPanel>
|
|
420
|
+ <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
|
|
421
|
+ <TextBlock Text="版权所有" FontSize="16" Width="80" Foreground="#2D8CF0"/>
|
|
422
|
+ <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
|
|
423
|
+ </StackPanel>
|
|
424
|
+ <!--第四行 开始按钮-->
|
|
425
|
+ <Button Cursor="Hand" Grid.Row="6" x:Name="btnSave" Content="保存" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="10,0,10,0" Click="BtnSave_Click">
|
386
|
426
|
<Button.Template>
|
387
|
427
|
<ControlTemplate TargetType="{x:Type Button}">
|
388
|
428
|
<Border
|
389
|
429
|
BorderBrush="{TemplateBinding Control.BorderBrush}"
|
390
|
430
|
BorderThickness="1"
|
391
|
431
|
CornerRadius="2">
|
392
|
|
- <Border.Background>#EBEFF3</Border.Background>
|
|
432
|
+ <Border.Background>#2D8CF0</Border.Background>
|
393
|
433
|
<ContentPresenter
|
394
|
434
|
HorizontalAlignment="Center"
|
395
|
435
|
VerticalAlignment="Center"
|
|
@@ -398,86 +438,60 @@
|
398
|
438
|
</ControlTemplate>
|
399
|
439
|
</Button.Template>
|
400
|
440
|
</Button>
|
401
|
|
- </StackPanel>
|
402
|
|
- <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
|
403
|
|
- <TextBlock Text=" 版本号" FontSize="16" Width="80" Foreground="#2D8CF0"/>
|
404
|
|
- <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="16" Foreground="#333333" Padding="10,0,0,0"/>
|
405
|
|
- </StackPanel>
|
406
|
|
- <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
|
407
|
|
- <TextBlock Text="版权所有" FontSize="16" Width="80" Foreground="#2D8CF0"/>
|
408
|
|
- <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
|
409
|
|
- </StackPanel>
|
410
|
|
- <!--第四行 开始按钮-->
|
411
|
|
- <Button Cursor="Hand" Grid.Row="6" x:Name="btnSave" Content="保存" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="10,0,10,0" Click="BtnSave_Click">
|
412
|
|
- <Button.Template>
|
413
|
|
- <ControlTemplate TargetType="{x:Type Button}">
|
414
|
|
- <Border
|
415
|
|
- BorderBrush="{TemplateBinding Control.BorderBrush}"
|
416
|
|
- BorderThickness="1"
|
417
|
|
- CornerRadius="2">
|
418
|
|
- <Border.Background>#2D8CF0</Border.Background>
|
419
|
|
- <ContentPresenter
|
420
|
|
- HorizontalAlignment="Center"
|
421
|
|
- VerticalAlignment="Center"
|
422
|
|
- Content="{TemplateBinding ContentControl.Content}" />
|
423
|
|
- </Border>
|
424
|
|
- </ControlTemplate>
|
425
|
|
- </Button.Template>
|
426
|
|
- </Button>
|
427
|
|
- </Grid>
|
|
441
|
+ </Grid>
|
428
|
442
|
<!--上传-->
|
429
|
443
|
<Grid Grid.Row="1" x:Name="gridUpload" Visibility="Collapsed">
|
430
|
444
|
<Border Width="1276" Background="#EFF1F8">
|
431
|
445
|
<Grid Width="1236" Background="#FFFFFF" Margin="0,0,0,0">
|
432
|
|
- <!--分4行-->
|
433
|
|
- <Grid.RowDefinitions>
|
434
|
|
- <RowDefinition Height="*"/>
|
435
|
|
- <RowDefinition Height="30"/>
|
436
|
|
- </Grid.RowDefinitions>
|
437
|
|
- <!--第二行 内容-->
|
438
|
|
- <Grid Grid.Row="0" Margin="0,0,0,0">
|
|
446
|
+ <!--分4行-->
|
439
|
447
|
<Grid.RowDefinitions>
|
440
|
|
- <RowDefinition Height="45"/>
|
441
|
448
|
<RowDefinition Height="*"/>
|
|
449
|
+ <RowDefinition Height="30"/>
|
442
|
450
|
</Grid.RowDefinitions>
|
443
|
|
- <UniformGrid x:Name="uniStatisticsByTitle"
|
|
451
|
+ <!--第二行 内容-->
|
|
452
|
+ <Grid Grid.Row="0" Margin="0,0,0,0">
|
|
453
|
+ <Grid.RowDefinitions>
|
|
454
|
+ <RowDefinition Height="45"/>
|
|
455
|
+ <RowDefinition Height="*"/>
|
|
456
|
+ </Grid.RowDefinitions>
|
|
457
|
+ <UniformGrid x:Name="uniStatisticsByTitle"
|
444
|
458
|
Grid.Row="0"
|
445
|
459
|
Margin="0,0,0,0"
|
446
|
460
|
Background="#E6F0FF"
|
447
|
461
|
Columns="5"
|
448
|
462
|
Rows="1">
|
449
|
|
- <TextBlock
|
|
463
|
+ <TextBlock
|
450
|
464
|
HorizontalAlignment="Center"
|
451
|
465
|
VerticalAlignment="Center"
|
452
|
466
|
FontSize="16"
|
453
|
467
|
Text="序号" />
|
454
|
|
- <TextBlock
|
|
468
|
+ <TextBlock
|
455
|
469
|
HorizontalAlignment="Center"
|
456
|
470
|
VerticalAlignment="Center"
|
457
|
471
|
FontSize="16"
|
458
|
472
|
Text="视频名称"/>
|
459
|
|
- <!--<TextBlock
|
|
473
|
+ <!--<TextBlock
|
460
|
474
|
HorizontalAlignment="Center"
|
461
|
475
|
VerticalAlignment="Center"
|
462
|
476
|
FontSize="15"
|
463
|
477
|
Text="视频时长" Foreground="White" />-->
|
464
|
|
- <TextBlock
|
|
478
|
+ <TextBlock
|
465
|
479
|
HorizontalAlignment="Center"
|
466
|
480
|
VerticalAlignment="Center"
|
467
|
481
|
FontSize="16"
|
468
|
482
|
Text="视频大小"/>
|
469
|
|
- <TextBlock
|
|
483
|
+ <TextBlock
|
470
|
484
|
HorizontalAlignment="Center"
|
471
|
485
|
VerticalAlignment="Center"
|
472
|
486
|
FontSize="16"
|
473
|
487
|
Text="日期"/>
|
474
|
|
- <TextBlock
|
|
488
|
+ <TextBlock
|
475
|
489
|
HorizontalAlignment="Center"
|
476
|
490
|
VerticalAlignment="Center"
|
477
|
491
|
FontSize="16"
|
478
|
492
|
Text="操作"/>
|
479
|
|
- </UniformGrid>
|
480
|
|
- <ListBox Grid.Row="1" Margin="0,0,0,0"
|
|
493
|
+ </UniformGrid>
|
|
494
|
+ <ListBox Grid.Row="1" Margin="0,0,0,0"
|
481
|
495
|
x:Name="listView1"
|
482
|
496
|
BorderThickness="0"
|
483
|
497
|
FontSize="20"
|
|
@@ -486,53 +500,53 @@
|
486
|
500
|
ItemsSource="{Binding menuList}"
|
487
|
501
|
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
488
|
502
|
ScrollViewer.VerticalScrollBarVisibility="Disabled"/>
|
489
|
|
- </Grid>
|
490
|
|
- <StackPanel Grid.Row="3" x:Name="stpUp" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
|
|
503
|
+ </Grid>
|
|
504
|
+ <StackPanel Grid.Row="3" x:Name="stpUp" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
|
491
|
505
|
Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
|
492
|
|
- <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
|
|
506
|
+ <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
|
493
|
507
|
x:Name="btnLastPage"
|
494
|
508
|
Width="60" Height="20"
|
495
|
509
|
Click="BtnLastPage_Click">
|
496
|
|
- <Button.Content>
|
497
|
|
- <StackPanel>
|
498
|
|
- <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
|
499
|
|
- </StackPanel>
|
500
|
|
- </Button.Content>
|
501
|
|
- </Button>
|
502
|
|
- <Grid Width="60" Background="Transparent">
|
503
|
|
- <Grid.RowDefinitions>
|
504
|
|
- <RowDefinition Height="311*"/>
|
505
|
|
- <RowDefinition Height="483*"/>
|
506
|
|
- </Grid.RowDefinitions>
|
507
|
|
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1" Background="Transparent">
|
508
|
|
- <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Background="Transparent">
|
509
|
|
- <TextBlock x:Name="txbCurrpageTwo" TextAlignment="Center" FontSize="15"/>
|
510
|
|
- <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
|
511
|
|
- <TextBlock x:Name="txbPageNumTwo" TextAlignment="Center" FontSize="15"/>
|
|
510
|
+ <Button.Content>
|
|
511
|
+ <StackPanel>
|
|
512
|
+ <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
|
|
513
|
+ </StackPanel>
|
|
514
|
+ </Button.Content>
|
|
515
|
+ </Button>
|
|
516
|
+ <Grid Width="60" Background="Transparent">
|
|
517
|
+ <Grid.RowDefinitions>
|
|
518
|
+ <RowDefinition Height="311*"/>
|
|
519
|
+ <RowDefinition Height="483*"/>
|
|
520
|
+ </Grid.RowDefinitions>
|
|
521
|
+ <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1" Background="Transparent">
|
|
522
|
+ <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Background="Transparent">
|
|
523
|
+ <TextBlock x:Name="txbCurrpageTwo" TextAlignment="Center" FontSize="15"/>
|
|
524
|
+ <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
|
|
525
|
+ <TextBlock x:Name="txbPageNumTwo" TextAlignment="Center" FontSize="15"/>
|
|
526
|
+ </StackPanel>
|
512
|
527
|
</StackPanel>
|
513
|
|
- </StackPanel>
|
514
|
|
- </Grid>
|
515
|
|
- <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
|
|
528
|
+ </Grid>
|
|
529
|
+ <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
|
516
|
530
|
x:Name="btnNextPage" Background="Transparent"
|
517
|
531
|
Width="60" Height="20"
|
518
|
532
|
Click="BtnNextPage_Click">
|
519
|
|
- <Button.Content>
|
520
|
|
- <StackPanel>
|
521
|
|
- <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
|
522
|
|
- </StackPanel>
|
523
|
|
- </Button.Content>
|
524
|
|
- </Button>
|
525
|
|
- </StackPanel>
|
|
533
|
+ <Button.Content>
|
|
534
|
+ <StackPanel>
|
|
535
|
+ <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
|
|
536
|
+ </StackPanel>
|
|
537
|
+ </Button.Content>
|
|
538
|
+ </Button>
|
|
539
|
+ </StackPanel>
|
526
|
540
|
|
527
|
|
- </Grid>
|
|
541
|
+ </Grid>
|
528
|
542
|
</Border>
|
529
|
543
|
</Grid>
|
530
|
|
- <Grid Grid.Row="2" Background="#EFF1F8" Margin="0,0,0,0">
|
531
|
|
- <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
|
532
|
|
- <TextBlock Text="颜色:" FontSize="14" Padding="10,10,0,0"/>
|
533
|
|
- <Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0" Visibility="Collapsed"/>
|
|
544
|
+ <Grid Grid.Row="2" Background="#EFF1F8" Margin="0,0,0,0">
|
|
545
|
+ <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
|
|
546
|
+ <TextBlock Text="颜色:" FontSize="14" Padding="10,10,0,0"/>
|
|
547
|
+ <Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0" Visibility="Collapsed"/>
|
|
548
|
+
|
534
|
549
|
|
535
|
|
-
|
536
|
550
|
<Button Cursor="Hand" x:Name="btnRed" Background="#FF0000" Width="20" Height="20" Margin="5,2,0,0" Click="BtnRed_Click">
|
537
|
551
|
<Image x:Name="imgRed" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Visible"/>
|
538
|
552
|
</Button>
|
|
@@ -548,22 +562,22 @@
|
548
|
562
|
<Button Cursor="Hand" x:Name="btnBlue" Background="#00B4FC" Width="20" Height="20" Margin="5,2,0,0" Click="BtnBlue_Click">
|
549
|
563
|
<Image x:Name="imgBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
|
550
|
564
|
</Button>
|
551
|
|
- <TextBlock Text="粗细:" FontSize="14" Padding="15,5,0,0" Margin="5,5,0,0"/>
|
552
|
|
- <RadioButton Cursor="Hand" x:Name="rbnFine" Content="细" FontSize="14" Margin="0,10,0,0" IsChecked="True" Click="RbnFine_Click"/>
|
553
|
|
- <RadioButton Cursor="Hand" x:Name="rbnIn" Content="中" FontSize="14" Margin="5,10,0,0" Click="RbnIn_Click"/>
|
554
|
|
- <RadioButton Cursor="Hand" x:Name="rbnCrude" Content="粗" FontSize="14" Margin="5,10,0,0" Click="RbnCrude_Click"/>
|
555
|
|
- <StackPanel Orientation="Horizontal">
|
556
|
|
- <TextBlock Text="摄像头:" FontSize="14" Padding="15,10,0,0"/>
|
557
|
|
- <RadioButton Cursor="Hand" x:Name="rbnOpen" Content="开" FontSize="14" Margin="0,10,0,0" Click="RbnOpen_Click"/>
|
558
|
|
- <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content="关" FontSize="14" Margin="5,10,0,0" IsChecked="True" Click="RbnTurnOff_Click"/>
|
|
565
|
+ <TextBlock Text="粗细:" FontSize="14" Padding="15,5,0,0" Margin="5,5,0,0"/>
|
|
566
|
+ <RadioButton Cursor="Hand" x:Name="rbnFine" Content="细" FontSize="14" Margin="0,10,0,0" IsChecked="True" Click="RbnFine_Click"/>
|
|
567
|
+ <RadioButton Cursor="Hand" x:Name="rbnIn" Content="中" FontSize="14" Margin="5,10,0,0" Click="RbnIn_Click"/>
|
|
568
|
+ <RadioButton Cursor="Hand" x:Name="rbnCrude" Content="粗" FontSize="14" Margin="5,10,0,0" Click="RbnCrude_Click"/>
|
|
569
|
+ <StackPanel Orientation="Horizontal">
|
|
570
|
+ <TextBlock Text="摄像头:" FontSize="14" Padding="15,10,0,0"/>
|
|
571
|
+ <RadioButton Cursor="Hand" x:Name="rbnOpen" Content="开" FontSize="14" Margin="0,10,0,0" Click="RbnOpen_Click"/>
|
|
572
|
+ <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content="关" FontSize="14" Margin="5,10,0,0" IsChecked="True" Click="RbnTurnOff_Click"/>
|
|
573
|
+ </StackPanel>
|
559
|
574
|
</StackPanel>
|
560
|
|
- </StackPanel>
|
561
|
|
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,10,0">
|
562
|
|
- <TextBlock Text="智能笔状态:" FontSize="14" Padding="0,5,0,0"/>
|
563
|
|
- <TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,5,5,0"/>
|
564
|
|
- </StackPanel>
|
|
575
|
+ <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,10,0">
|
|
576
|
+ <TextBlock Text="智能笔状态:" FontSize="14" Padding="0,5,0,0"/>
|
|
577
|
+ <TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,5,5,0"/>
|
|
578
|
+ </StackPanel>
|
|
579
|
+ </Grid>
|
565
|
580
|
</Grid>
|
566
|
|
- </Grid>
|
567
|
581
|
</Border>
|
568
|
582
|
</Viewbox>
|
569
|
583
|
</Window>
|