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