|
@@ -9,7 +9,7 @@
|
9
|
9
|
xmlns:local="clr-namespace:XHWK.WKTool"
|
10
|
10
|
mc:Ignorable="d"
|
11
|
11
|
Title="星火微课系统" Height="1036" Width="1290"
|
12
|
|
- WindowStyle="None" WindowStartupLocation="CenterScreen" AllowsTransparency="True" Background="Transparent" ShowInTaskbar="True" ResizeMode="CanMinimize" BorderThickness="7">
|
|
12
|
+ WindowStyle="None" WindowStartupLocation="CenterScreen" AllowsTransparency="True" Background="Transparent" ShowInTaskbar="True" ResizeMode="CanMinimize" BorderThickness="7" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
|
13
|
13
|
<Window.Effect>
|
14
|
14
|
<DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
|
15
|
15
|
</Window.Effect>
|
|
@@ -25,6 +25,26 @@
|
25
|
25
|
</Border>
|
26
|
26
|
</Grid>-->
|
27
|
27
|
<Window.Resources>
|
|
28
|
+ <Style x:Key="radBase" TargetType="RadioButton">
|
|
29
|
+ <Setter Property="IsChecked" Value="False"/>
|
|
30
|
+ <Setter Property="Background" Value="Transparent"/>
|
|
31
|
+ <Setter Property="Foreground" Value="#555"/>
|
|
32
|
+ <Setter Property="Template">
|
|
33
|
+ <Setter.Value>
|
|
34
|
+ <ControlTemplate TargetType="RadioButton">
|
|
35
|
+ <DockPanel Background="{TemplateBinding Background}" ToolTip="{TemplateBinding Content}" LastChildFill="False" Width="{TemplateBinding Width}">
|
|
36
|
+ <Image Margin="2 0 0 0" DockPanel.Dock="Left" x:Name="_img" Stretch="None" Source="./Images/rdo_no.png"/>
|
|
37
|
+ <TextBlock DockPanel.Dock="Left" Margin="3 0 0 0" VerticalAlignment="Center" Foreground="{TemplateBinding Foreground}" Text="{TemplateBinding Content}" />
|
|
38
|
+ </DockPanel>
|
|
39
|
+ <ControlTemplate.Triggers>
|
|
40
|
+ <Trigger Property="IsChecked" Value="true">
|
|
41
|
+ <Setter TargetName="_img" Property="Source" Value="./Images/rdo_yes.png"/>
|
|
42
|
+ </Trigger>
|
|
43
|
+ </ControlTemplate.Triggers>
|
|
44
|
+ </ControlTemplate>
|
|
45
|
+ </Setter.Value>
|
|
46
|
+ </Setter>
|
|
47
|
+ </Style>
|
28
|
48
|
<Style x:Key="NoMouseOverButtonStyle" TargetType="{x:Type Button}">
|
29
|
49
|
<Setter Property="BorderThickness" Value="1"/>
|
30
|
50
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
|
|
@@ -275,11 +295,10 @@
|
275
|
295
|
</Button>
|
276
|
296
|
</StackPanel>
|
277
|
297
|
</Grid>
|
278
|
|
-
|
279
|
298
|
<!--主内容-->
|
280
|
|
- <Grid Grid.Row="1" x:Name="GridMain" Visibility="Visible">
|
281
|
|
- <ScrollViewer x:Name="scroMain" VerticalScrollBarVisibility="Visible">
|
282
|
|
- <Grid x:Name="gridM" Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Height="1780">
|
|
299
|
+ <Grid Grid.Row="1" x:Name="GridMain" Visibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
|
|
300
|
+ <ScrollViewer x:Name="scroMain" VerticalScrollBarVisibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
|
|
301
|
+ <Grid x:Name="gridM" Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Height="1780" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
|
283
|
302
|
<Grid>
|
284
|
303
|
<Border Grid.Row="1" CornerRadius="5">
|
285
|
304
|
<Grid x:Name="IMG" Margin="0,0,0,0">
|
|
@@ -312,12 +331,9 @@
|
312
|
331
|
</Border>
|
313
|
332
|
</Grid>
|
314
|
333
|
<Image x:Name="imgDocumentation" Visibility="Visible" VerticalAlignment="Top"/>
|
315
|
|
-
|
316
|
334
|
<!--导入图片-->
|
317
|
335
|
<!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
|
318
|
|
- <InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2" />
|
319
|
|
-
|
320
|
|
-
|
|
336
|
+ <InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2"/>
|
321
|
337
|
<!--摄像头-->
|
322
|
338
|
<!--<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">
|
323
|
339
|
<aforge:VideoSourcePlayer x:Name="player" Height="124" Width="172" />
|
|
@@ -339,20 +355,20 @@
|
339
|
355
|
<!--<TextBlock x:Name="txbTime" Text="123456" FontSize="20" Foreground="#000000" Margin="0,0,0,10" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>-->
|
340
|
356
|
</Grid>
|
341
|
357
|
<!--页码-->
|
342
|
|
- <Grid Grid.Row="1" x:Name="gridPage" Visibility="Collapsed">
|
343
|
|
- <StackPanel Grid.Row="0" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
|
344
|
|
- Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
|
|
358
|
+ <Grid Grid.Row="1" x:Name="gridPage" Visibility="Collapsed" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
|
|
359
|
+ <StackPanel Grid.Row="0" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center" Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
|
345
|
360
|
<Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
|
346
|
361
|
x:Name="last_button"
|
347
|
362
|
Width="60" Height="20"
|
348
|
363
|
Click="last_button_Click">
|
|
364
|
+
|
349
|
365
|
<Button.Content>
|
350
|
366
|
<StackPanel>
|
351
|
367
|
<Image Width="16" Height="12" Source=".\Images\class_p1.png" />
|
352
|
368
|
</StackPanel>
|
353
|
369
|
</Button.Content>
|
354
|
370
|
</Button>
|
355
|
|
- <Grid Width="60" Background="Transparent">
|
|
371
|
+ <Grid Width="60" Background="Transparent" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
|
356
|
372
|
<Grid.RowDefinitions>
|
357
|
373
|
<RowDefinition Height="311*"/>
|
358
|
374
|
<RowDefinition Height="483*"/>
|
|
@@ -378,126 +394,129 @@
|
378
|
394
|
</StackPanel>
|
379
|
395
|
</Grid>
|
380
|
396
|
<!--设置-->
|
381
|
|
- <Grid Grid.Row="1" x:Name="gridSetUp" Background="#FFFFFF" Visibility="Collapsed" Width="1276">
|
382
|
|
- <Grid.RowDefinitions>
|
383
|
|
- <RowDefinition Height="90"/>
|
384
|
|
- <RowDefinition Height="70"/>
|
385
|
|
- <RowDefinition Height="50"/>
|
386
|
|
- <RowDefinition Height="60"/>
|
387
|
|
- <RowDefinition Height="70"/>
|
388
|
|
- <RowDefinition Height="70"/>
|
389
|
|
- <RowDefinition Height="70"/>
|
390
|
|
- <RowDefinition Height="70"/>
|
391
|
|
- <RowDefinition Height="70"/>
|
392
|
|
- <RowDefinition Height="70"/>
|
393
|
|
- <RowDefinition Height="*"/>
|
394
|
|
- </Grid.RowDefinitions>
|
395
|
|
- <Grid.ColumnDefinitions>
|
396
|
|
- <ColumnDefinition Width="100"/>
|
397
|
|
- <ColumnDefinition Width="*"/>
|
398
|
|
- </Grid.ColumnDefinitions>
|
399
|
|
-
|
400
|
|
- <TextBlock Grid.Row="0" Grid.Column="0" Text="智能笔" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right" Margin="0,30,0,0"/>
|
401
|
|
- <TextBlock Grid.Row="0" Grid.Column="1" x:Name="txbNotConnecteds" Text="未连接" FontSize="14" Foreground="#333333" Margin="30,30,0,0"/>
|
402
|
|
-
|
403
|
|
- <TextBlock Grid.Row="1" Grid.Column="0" Text="视频格式" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right"/>
|
404
|
|
- <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
|
405
|
|
- <RadioButton x:Name="rbnMP4" Cursor="Hand" Content="MP4" FontSize="14" Foreground="#333333" Margin="0,2,0,0" IsChecked="True"/>
|
406
|
|
- <RadioButton x:Name="rbnFLV" Cursor="Hand" Content="FLV" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
407
|
|
- <RadioButton x:Name="rbnAVI" Cursor="Hand" Content="AVI" FontSize="14" Foreground="#333333" Margin="20,2,0,0" Visibility="Collapsed"/>
|
408
|
|
- </StackPanel>
|
|
397
|
+ <ScrollViewer x:Name="gridSetUp" Grid.Row="1" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
|
|
398
|
+ <Grid Grid.Row="1" Background="#FFFFFF" >
|
|
399
|
+ <Grid.RowDefinitions>
|
|
400
|
+ <RowDefinition Height="90"/>
|
|
401
|
+ <RowDefinition Height="70"/>
|
|
402
|
+ <RowDefinition Height="50"/>
|
|
403
|
+ <RowDefinition Height="60"/>
|
|
404
|
+ <RowDefinition Height="70"/>
|
|
405
|
+ <RowDefinition Height="70"/>
|
|
406
|
+ <RowDefinition Height="70"/>
|
|
407
|
+ <RowDefinition Height="70"/>
|
|
408
|
+ <RowDefinition Height="70"/>
|
|
409
|
+ <RowDefinition Height="70"/>
|
|
410
|
+ <RowDefinition Height="*"/>
|
|
411
|
+ </Grid.RowDefinitions>
|
|
412
|
+ <Grid.ColumnDefinitions>
|
|
413
|
+ <ColumnDefinition Width="100"/>
|
|
414
|
+ <ColumnDefinition Width="*"/>
|
|
415
|
+ </Grid.ColumnDefinitions>
|
|
416
|
+
|
|
417
|
+ <TextBlock Grid.Row="0" Grid.Column="0" Text="智能笔" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right" Margin="0,30,0,0"/>
|
|
418
|
+ <TextBlock Grid.Row="0" Grid.Column="1" x:Name="txbNotConnecteds" Text="未连接" FontSize="14" Foreground="#333333" Margin="30,30,0,0"/>
|
|
419
|
+
|
|
420
|
+ <TextBlock Grid.Row="1" Grid.Column="0" Text="视频格式" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right"/>
|
|
421
|
+ <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
|
|
422
|
+
|
|
423
|
+ <RadioButton x:Name="rbnMP4" Cursor="Hand" Style="{StaticResource radBase}" Content=" MP4" FontSize="14" Foreground="#333333" VerticalAlignment="Top" IsChecked="True"/>
|
|
424
|
+ <RadioButton x:Name="rbnFLV" Cursor="Hand" Style="{StaticResource radBase}" Content=" FLV" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
|
|
425
|
+ <RadioButton x:Name="rbnAVI" Cursor="Hand" Style="{StaticResource radBase}" Content=" AVI" FontSize="14" Foreground="#333333" Margin="20,-26,0,0" Visibility="Collapsed"/>
|
|
426
|
+ </StackPanel>
|
409
|
427
|
|
410
|
|
- <TextBlock Grid.Row="2" Grid.Column="0" Text="摄像头位置" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right"/>
|
411
|
|
- <StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
|
412
|
|
- <RadioButton Cursor="Hand" x:Name="rbnRight" Content="右上" FontSize="14" Foreground="#333333" Margin="0,2,0,0" IsChecked="True"/>
|
413
|
|
- <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Content="右下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
414
|
|
- <RadioButton Cursor="Hand" x:Name="rbnLeft" Content="左上" FontSize="14" Foreground="#333333" Margin="20,2,0,0" />
|
415
|
|
- <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Content="左下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
416
|
|
- </StackPanel>
|
417
|
|
- <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Collapsed">
|
418
|
|
- <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
419
|
|
- <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
|
420
|
|
- <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
421
|
|
- </StackPanel>
|
|
428
|
+ <TextBlock Grid.Row="2" Grid.Column="0" Text="摄像头位置" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right"/>
|
|
429
|
+ <StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
|
|
430
|
+ <RadioButton Cursor="Hand" x:Name="rbnRight" Style="{StaticResource radBase}" Content=" 右上" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="0,0,0,0" IsChecked="True"/>
|
|
431
|
+ <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Style="{StaticResource radBase}" Content=" 右下" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
|
|
432
|
+ <RadioButton Cursor="Hand" x:Name="rbnLeft" Style="{StaticResource radBase}" Content=" 左上" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0" />
|
|
433
|
+ <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Style="{StaticResource radBase}" Content=" 左下" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
|
|
434
|
+ </StackPanel>
|
|
435
|
+ <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Collapsed">
|
|
436
|
+ <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
|
437
|
+ <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
|
|
438
|
+ <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
|
|
439
|
+ </StackPanel>
|
422
|
440
|
|
423
|
441
|
|
424
|
|
- <!--接口地址-->
|
425
|
|
- <TextBlock Grid.Row="3" Grid.Column="0" Text="接口地址" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right" Padding="0,20,0,0"/>
|
426
|
|
- <StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
|
427
|
|
- <TextBlock Text="http://" FontSize="16" Padding="0,20,5,0"/>
|
428
|
|
- <TextBox x:Name="txbInterfaceAddress" FontSize="16" Width="467" Height="41" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
|
429
|
|
- </StackPanel>
|
|
442
|
+ <!--接口地址-->
|
|
443
|
+ <TextBlock Grid.Row="3" Grid.Column="0" Text="接口地址" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right" Padding="0,20,0,0"/>
|
|
444
|
+ <StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
|
|
445
|
+ <TextBlock Text="http://" FontSize="16" Padding="0,20,5,0"/>
|
|
446
|
+ <TextBox x:Name="txbInterfaceAddress" FontSize="16" Width="467" Height="41" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
|
|
447
|
+ </StackPanel>
|
430
|
448
|
|
431
|
|
- <!--上传地址-->
|
432
|
|
- <TextBlock Grid.Row="4" Grid.Column="0" Text="上传地址" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right" Padding="0,35,0,0"/>
|
433
|
|
- <StackPanel Grid.Row="4" Grid.Column="1" Orientation="Horizontal" Margin="30,20,0,0">
|
434
|
|
- <TextBlock Text="http://" FontSize="16" Padding="0,15,5,0"/>
|
435
|
|
- <TextBox x:Name="txbImageUploadAddress" FontSize="16" Width="467" Height="41" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
|
436
|
|
- </StackPanel>
|
|
449
|
+ <!--上传地址-->
|
|
450
|
+ <TextBlock Grid.Row="4" Grid.Column="0" Text="上传地址" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right" Padding="0,35,0,0"/>
|
|
451
|
+ <StackPanel Grid.Row="4" Grid.Column="1" Orientation="Horizontal" Margin="30,20,0,0">
|
|
452
|
+ <TextBlock Text="http://" FontSize="16" Padding="0,15,5,0"/>
|
|
453
|
+ <TextBox x:Name="txbImageUploadAddress" FontSize="16" Width="467" Height="41" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
|
|
454
|
+ </StackPanel>
|
437
|
455
|
|
438
|
|
- <!--下载地址-->
|
439
|
|
- <TextBlock Grid.Row="5" Grid.Column="0" Text="下载地址" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right" Padding="0,35,0,0"/>
|
440
|
|
- <StackPanel Grid.Row="5" Grid.Column="1" Orientation="Horizontal" Margin="30,20,0,0">
|
441
|
|
- <TextBlock Text="http://" FontSize="16" Padding="0,15,5,0"/>
|
442
|
|
- <TextBox x:Name="txbPictureShowsAddress" FontSize="16" Width="467" Height="41" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
|
443
|
|
- </StackPanel>
|
|
456
|
+ <!--下载地址-->
|
|
457
|
+ <TextBlock Grid.Row="5" Grid.Column="0" Text="下载地址" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right" Padding="0,35,0,0"/>
|
|
458
|
+ <StackPanel Grid.Row="5" Grid.Column="1" Orientation="Horizontal" Margin="30,20,0,0">
|
|
459
|
+ <TextBlock Text="http://" FontSize="16" Padding="0,15,5,0"/>
|
|
460
|
+ <TextBox x:Name="txbPictureShowsAddress" FontSize="16" Width="467" Height="41" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
|
|
461
|
+ </StackPanel>
|
444
|
462
|
|
445
|
|
- <TextBlock Grid.Row="6" Grid.Column="0" x:Name="txbFilePath" Text="文件路径" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" FontWeight="Black" Padding="0,35,0,0" />
|
446
|
|
- <StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,20,0,0">
|
447
|
|
- <Border Background="#CDD6E0" Width="522" Height="43" CornerRadius="3" Margin="0,0,0,0">
|
448
|
|
- <Label x:Name="txbStoragePath" Background="#FFFFFF" Content="D:\" FontSize="16" Foreground="#333333" Padding="10,12,2,2" Width="520" Height="41" BorderBrush="{x:Null}" BorderThickness="0"/>
|
449
|
|
- </Border>
|
450
|
|
- <!--浏览按钮-->
|
451
|
|
- <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="18" Width="80" Height="43" Margin="18,0,0,0" Click="BtnBrowse_Click">
|
452
|
|
- <Button.Template>
|
453
|
|
- <ControlTemplate TargetType="{x:Type Button}">
|
454
|
|
- <Border
|
|
463
|
+ <TextBlock Grid.Row="6" Grid.Column="0" x:Name="txbFilePath" Text="文件路径" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" FontWeight="Black" Padding="0,35,0,0" />
|
|
464
|
+ <StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,20,0,0">
|
|
465
|
+ <Border Background="#CDD6E0" Width="522" Height="43" CornerRadius="3" Margin="0,0,0,0">
|
|
466
|
+ <Label x:Name="txbStoragePath" Background="#FFFFFF" Content="D:\" FontSize="16" Foreground="#333333" Padding="10,12,2,2" Width="520" Height="41" BorderBrush="{x:Null}" BorderThickness="0"/>
|
|
467
|
+ </Border>
|
|
468
|
+ <!--浏览按钮-->
|
|
469
|
+ <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="18" Width="80" Height="43" Margin="18,0,0,0" Click="BtnBrowse_Click">
|
|
470
|
+ <Button.Template>
|
|
471
|
+ <ControlTemplate TargetType="{x:Type Button}">
|
|
472
|
+ <Border
|
455
|
473
|
BorderBrush="{TemplateBinding Control.BorderBrush}"
|
456
|
474
|
BorderThickness="1"
|
457
|
475
|
CornerRadius="2">
|
458
|
|
- <Border.Background>#EBEFF3</Border.Background>
|
459
|
|
- <ContentPresenter
|
|
476
|
+ <Border.Background>#EBEFF3</Border.Background>
|
|
477
|
+ <ContentPresenter
|
460
|
478
|
HorizontalAlignment="Center"
|
461
|
479
|
VerticalAlignment="Center"
|
462
|
480
|
Content="{TemplateBinding ContentControl.Content}" />
|
463
|
|
- </Border>
|
464
|
|
- </ControlTemplate>
|
465
|
|
- </Button.Template>
|
466
|
|
- </Button>
|
467
|
|
- </StackPanel>
|
|
481
|
+ </Border>
|
|
482
|
+ </ControlTemplate>
|
|
483
|
+ </Button.Template>
|
|
484
|
+ </Button>
|
|
485
|
+ </StackPanel>
|
468
|
486
|
|
469
|
|
- <TextBlock Grid.Row="7" Grid.Column="0" Text="版本号" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" FontWeight="Black" Margin="0,30,0,0"/>
|
470
|
|
- <StackPanel Grid.Row="7" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
|
471
|
|
- <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="16" Foreground="#333333"/>
|
472
|
|
- </StackPanel>
|
|
487
|
+ <TextBlock Grid.Row="7" Grid.Column="0" Text="版本号" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" FontWeight="Black" Margin="0,30,0,0"/>
|
|
488
|
+ <StackPanel Grid.Row="7" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
|
|
489
|
+ <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="16" Foreground="#333333"/>
|
|
490
|
+ </StackPanel>
|
473
|
491
|
|
474
|
|
- <TextBlock Grid.Row="8" Grid.Column="0" Text="版权所有" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" FontWeight="Black" Margin="0,30,0,0"/>
|
475
|
|
- <StackPanel Grid.Row="8" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
|
476
|
|
- <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333"/>
|
477
|
|
- </StackPanel>
|
|
492
|
+ <TextBlock Grid.Row="8" Grid.Column="0" Text="版权所有" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" FontWeight="Black" Margin="0,30,0,0"/>
|
|
493
|
+ <StackPanel Grid.Row="8" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,30,0,0">
|
|
494
|
+ <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333"/>
|
|
495
|
+ </StackPanel>
|
478
|
496
|
|
479
|
|
- <TextBlock Grid.Row="9" Grid.Column="0" Text="录屏快捷键" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" FontWeight="Black" Margin="0,30,0,0"/>
|
480
|
|
- <StackPanel Grid.Row="9" Grid.Column="1">
|
481
|
|
- <TextBlock FontSize="14" Foreground="#333333" Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" Margin="30,30,0,0"/>
|
482
|
|
- </StackPanel>
|
483
|
|
- <!--第四行 开始按钮-->
|
484
|
|
- <Button Cursor="Hand" Grid.Row="10" Grid.ColumnSpan="2" 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">
|
485
|
|
- <Button.Template>
|
486
|
|
- <ControlTemplate TargetType="{x:Type Button}">
|
487
|
|
- <Border
|
|
497
|
+ <TextBlock Grid.Row="9" Grid.Column="0" Text="录屏快捷键" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" FontWeight="Black" Margin="0,30,0,0"/>
|
|
498
|
+ <StackPanel Grid.Row="9" Grid.Column="1">
|
|
499
|
+ <TextBlock FontSize="14" Foreground="#333333" Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" Margin="30,30,0,0"/>
|
|
500
|
+ </StackPanel>
|
|
501
|
+ <!--第四行 开始按钮-->
|
|
502
|
+ <Button Cursor="Hand" Grid.Row="10" Grid.ColumnSpan="2" x:Name="btnSave" Content="保存" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="10,10,10,10" Click="BtnSave_Click">
|
|
503
|
+ <Button.Template>
|
|
504
|
+ <ControlTemplate TargetType="{x:Type Button}">
|
|
505
|
+ <Border
|
488
|
506
|
BorderBrush="{TemplateBinding Control.BorderBrush}"
|
489
|
507
|
BorderThickness="1"
|
490
|
508
|
CornerRadius="2">
|
491
|
|
- <Border.Background>#2D8CF0</Border.Background>
|
492
|
|
- <ContentPresenter
|
|
509
|
+ <Border.Background>#2D8CF0</Border.Background>
|
|
510
|
+ <ContentPresenter
|
493
|
511
|
HorizontalAlignment="Center"
|
494
|
512
|
VerticalAlignment="Center"
|
495
|
513
|
Content="{TemplateBinding ContentControl.Content}" />
|
496
|
|
- </Border>
|
497
|
|
- </ControlTemplate>
|
498
|
|
- </Button.Template>
|
499
|
|
- </Button>
|
500
|
|
- </Grid>
|
|
514
|
+ </Border>
|
|
515
|
+ </ControlTemplate>
|
|
516
|
+ </Button.Template>
|
|
517
|
+ </Button>
|
|
518
|
+ </Grid>
|
|
519
|
+ </ScrollViewer>
|
501
|
520
|
<!--上传-->
|
502
|
521
|
<Grid Grid.Row="1" x:Name="gridUpload" Visibility="Hidden">
|
503
|
522
|
<Border Background="#EFF1F8">
|
|
@@ -596,7 +615,6 @@
|
596
|
615
|
</Button.Content>
|
597
|
616
|
</Button>
|
598
|
617
|
</StackPanel>
|
599
|
|
-
|
600
|
618
|
</Grid>
|
601
|
619
|
</Border>
|
602
|
620
|
</Grid>
|
|
@@ -613,8 +631,8 @@
|
613
|
631
|
</Grid>
|
614
|
632
|
|
615
|
633
|
<Grid Grid.Row="2" Background="#EFF1F8" Margin="0,0,0,0">
|
616
|
|
- <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
|
617
|
|
- <TextBlock Text="颜色:" FontSize="14" Padding="10,5,0,0"/>
|
|
634
|
+ <StackPanel Orientation="Horizontal" Margin="0,5,0,5">
|
|
635
|
+ <TextBlock Text="颜色:" FontSize="14" Padding="10,3,0,0"/>
|
618
|
636
|
<Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0" Visibility="Collapsed"/>
|
619
|
637
|
|
620
|
638
|
<Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
|
|
@@ -649,22 +667,21 @@
|
649
|
667
|
<Image x:Name="imgBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
|
650
|
668
|
</Button>
|
651
|
669
|
</Border>
|
652
|
|
- <TextBlock Text="粗细:" FontSize="14" Padding="15,0,0,0" Margin="5,5,0,0"/>
|
653
|
|
- <RadioButton Cursor="Hand" x:Name="rbnFine" Content="细" FontSize="14" Margin="0,7,0,0" IsChecked="True" Click="RbnFine_Click"/>
|
654
|
|
- <RadioButton Cursor="Hand" x:Name="rbnIn" Content="中" FontSize="14" Margin="5,7,0,0" Click="RbnIn_Click"/>
|
655
|
|
- <RadioButton Cursor="Hand" x:Name="rbnCrude" Content="粗" FontSize="14" Margin="5,7,0,0" Click="RbnCrude_Click"/>
|
|
670
|
+ <TextBlock Text="粗细:" FontSize="14" Padding="15,0,0,0" Margin="5,3,0,0"/>
|
|
671
|
+ <RadioButton Cursor="Hand" x:Name="rbnFine" Content=" 细" Style="{StaticResource radBase}" FontSize="14" Margin="0,4,0,0" IsChecked="True" Click="RbnFine_Click"/>
|
|
672
|
+ <RadioButton Cursor="Hand" x:Name="rbnIn" Content=" 中" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,0,0" Click="RbnIn_Click"/>
|
|
673
|
+ <RadioButton Cursor="Hand" x:Name="rbnCrude" Content=" 粗" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,0,0" Click="RbnCrude_Click"/>
|
656
|
674
|
<StackPanel Orientation="Horizontal">
|
657
|
|
- <TextBlock Text="摄像头:" FontSize="14" Padding="15,6,0,0"/>
|
658
|
|
- <RadioButton Cursor="Hand" x:Name="rbnOpen" Content="开" FontSize="14" Margin="0,7,0,0" Click="RbnOpen_Click"/>
|
659
|
|
- <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content="关" FontSize="14" Margin="5,7,0,0" IsChecked="True" Click="RbnTurnOff_Click"/>
|
|
675
|
+ <TextBlock Text="摄像头:" FontSize="14" Padding="20,3,0,0"/>
|
|
676
|
+ <RadioButton Cursor="Hand" x:Name="rbnOpen" Content=" 开" Style="{StaticResource radBase}" FontSize="14" Margin="0,4,0,0" Click="RbnOpen_Click"/>
|
|
677
|
+ <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content=" 关" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,0,0" IsChecked="True" Click="RbnTurnOff_Click"/>
|
660
|
678
|
</StackPanel>
|
661
|
679
|
</StackPanel>
|
662
|
|
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,10,0">
|
|
680
|
+ <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,10,5">
|
663
|
681
|
<TextBlock Text="智能笔状态:" FontSize="14" Padding="0,4,0,0"/>
|
664
|
682
|
<TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,4,5,0"/>
|
665
|
683
|
</StackPanel>
|
666
|
684
|
</Grid>
|
667
|
|
-
|
668
|
685
|
</Grid>
|
669
|
686
|
</Viewbox>
|
670
|
687
|
</Window>
|