|
@@ -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}}"/>
|
|
@@ -378,7 +398,8 @@
|
378
|
398
|
</StackPanel>
|
379
|
399
|
</Grid>
|
380
|
400
|
<!--设置-->
|
381
|
|
- <Grid Grid.Row="1" x:Name="gridSetUp" Background="#FFFFFF" Visibility="Collapsed" Width="1276">
|
|
401
|
+ <ScrollViewer x:Name="gridSetUp" Grid.Row="1" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
|
|
402
|
+ <Grid Grid.Row="1" Background="#FFFFFF" >
|
382
|
403
|
<Grid.RowDefinitions>
|
383
|
404
|
<RowDefinition Height="90"/>
|
384
|
405
|
<RowDefinition Height="70"/>
|
|
@@ -402,17 +423,17 @@
|
402
|
423
|
|
403
|
424
|
<TextBlock Grid.Row="1" Grid.Column="0" Text="视频格式" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right"/>
|
404
|
425
|
<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"/>
|
|
426
|
+ <RadioButton x:Name="rbnMP4" Cursor="Hand" Style="{StaticResource radBase}" Content=" MP4" FontSize="14" Foreground="#333333" VerticalAlignment="Top" IsChecked="True"/>
|
|
427
|
+ <RadioButton x:Name="rbnFLV" Cursor="Hand" Style="{StaticResource radBase}" Content=" FLV" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
|
|
428
|
+ <RadioButton x:Name="rbnAVI" Cursor="Hand" Style="{StaticResource radBase}" Content=" AVI" FontSize="14" Foreground="#333333" Margin="20,-26,0,0" Visibility="Collapsed"/>
|
408
|
429
|
</StackPanel>
|
409
|
430
|
|
410
|
431
|
<TextBlock Grid.Row="2" Grid.Column="0" Text="摄像头位置" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right"/>
|
411
|
432
|
<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"/>
|
|
433
|
+ <RadioButton Cursor="Hand" x:Name="rbnRight" Style="{StaticResource radBase}" Content=" 右上" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="0,0,0,0" IsChecked="True"/>
|
|
434
|
+ <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Style="{StaticResource radBase}" Content=" 右下" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
|
|
435
|
+ <RadioButton Cursor="Hand" x:Name="rbnLeft" Style="{StaticResource radBase}" Content=" 左上" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0" />
|
|
436
|
+ <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Style="{StaticResource radBase}" Content=" 左下" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
|
416
|
437
|
</StackPanel>
|
417
|
438
|
<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Collapsed">
|
418
|
439
|
<TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
|
|
@@ -481,7 +502,7 @@
|
481
|
502
|
<TextBlock FontSize="14" Foreground="#333333" Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" Margin="30,30,0,0"/>
|
482
|
503
|
</StackPanel>
|
483
|
504
|
<!--第四行 开始按钮-->
|
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">
|
|
505
|
+ <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">
|
485
|
506
|
<Button.Template>
|
486
|
507
|
<ControlTemplate TargetType="{x:Type Button}">
|
487
|
508
|
<Border
|
|
@@ -498,7 +519,8 @@
|
498
|
519
|
</Button.Template>
|
499
|
520
|
</Button>
|
500
|
521
|
</Grid>
|
501
|
|
- <!--上传-->
|
|
522
|
+ </ScrollViewer>
|
|
523
|
+ <!--上传-->
|
502
|
524
|
<Grid Grid.Row="1" x:Name="gridUpload" Visibility="Hidden">
|
503
|
525
|
<Border Background="#EFF1F8">
|
504
|
526
|
<Grid Background="#FFFFFF" Margin="0,0,0,0">
|
|
@@ -601,7 +623,7 @@
|
601
|
623
|
</Border>
|
602
|
624
|
</Grid>
|
603
|
625
|
<Grid Grid.Row="2" Background="#EFF1F8" Margin="0,0,0,0">
|
604
|
|
- <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
|
|
626
|
+ <StackPanel Orientation="Horizontal" Margin="0,5,0,5">
|
605
|
627
|
<TextBlock Text="颜色:" FontSize="14" Padding="10,5,0,0"/>
|
606
|
628
|
<Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0" Visibility="Collapsed"/>
|
607
|
629
|
|
|
@@ -638,16 +660,16 @@
|
638
|
660
|
</Button>
|
639
|
661
|
</Border>
|
640
|
662
|
<TextBlock Text="粗细:" FontSize="14" Padding="15,0,0,0" Margin="5,5,0,0"/>
|
641
|
|
- <RadioButton Cursor="Hand" x:Name="rbnFine" Content="细" FontSize="14" Margin="0,7,0,0" IsChecked="True" Click="RbnFine_Click"/>
|
642
|
|
- <RadioButton Cursor="Hand" x:Name="rbnIn" Content="中" FontSize="14" Margin="5,7,0,0" Click="RbnIn_Click"/>
|
643
|
|
- <RadioButton Cursor="Hand" x:Name="rbnCrude" Content="粗" FontSize="14" Margin="5,7,0,0" Click="RbnCrude_Click"/>
|
|
663
|
+ <RadioButton Cursor="Hand" x:Name="rbnFine" Content=" 细" Style="{StaticResource radBase}" FontSize="14" Margin="0,4,0,0" IsChecked="True" Click="RbnFine_Click"/>
|
|
664
|
+ <RadioButton Cursor="Hand" x:Name="rbnIn" Content=" 中" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,0,0" Click="RbnIn_Click"/>
|
|
665
|
+ <RadioButton Cursor="Hand" x:Name="rbnCrude" Content=" 粗" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,0,0" Click="RbnCrude_Click"/>
|
644
|
666
|
<StackPanel Orientation="Horizontal">
|
645
|
|
- <TextBlock Text="摄像头:" FontSize="14" Padding="15,6,0,0"/>
|
646
|
|
- <RadioButton Cursor="Hand" x:Name="rbnOpen" Content="开" FontSize="14" Margin="0,7,0,0" Click="RbnOpen_Click"/>
|
647
|
|
- <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content="关" FontSize="14" Margin="5,7,0,0" IsChecked="True" Click="RbnTurnOff_Click"/>
|
|
667
|
+ <TextBlock Text="摄像头:" FontSize="14" Padding="20,6,0,0"/>
|
|
668
|
+ <RadioButton Cursor="Hand" x:Name="rbnOpen" Content=" 开" Style="{StaticResource radBase}" FontSize="14" Margin="0,4,0,0" Click="RbnOpen_Click"/>
|
|
669
|
+ <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content=" 关" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,0,0" IsChecked="True" Click="RbnTurnOff_Click"/>
|
648
|
670
|
</StackPanel>
|
649
|
671
|
</StackPanel>
|
650
|
|
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,10,0">
|
|
672
|
+ <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,10,5">
|
651
|
673
|
<TextBlock Text="智能笔状态:" FontSize="14" Padding="0,4,0,0"/>
|
652
|
674
|
<TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,4,5,0"/>
|
653
|
675
|
</StackPanel>
|