Browse Source

Merge remote-tracking branch 'origin/zhangxueyang' into zyy

tags/录制修改前
耀 4 years ago
parent
commit
bf7d8b7e57

+ 2
- 2
XHWK.Model/Properties/AssemblyInfo.cs View File

31
 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
31
 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
32
 //通过使用 "*",如下所示:
32
 //通过使用 "*",如下所示:
33
 // [assembly: AssemblyVersion("1.0.*")]
33
 // [assembly: AssemblyVersion("1.0.*")]
34
-[assembly: AssemblyVersion("1.1.6.0")]
35
-[assembly: AssemblyFileVersion("1.1.6.0")]
34
+[assembly: AssemblyVersion("1.1.7.0")]
35
+[assembly: AssemblyFileVersion("1.1.7.0")]

+ 2
- 2
XHWK.WKTool/App.config View File

33
     <!--上传每片大小 Mb-->
33
     <!--上传每片大小 Mb-->
34
     <add key="UploadSliceLen" value="1" />
34
     <add key="UploadSliceLen" value="1" />
35
     <!--版本号-->
35
     <!--版本号-->
36
-    <add key="VersionCode" value="17" />
37
-    <add key="VersionName" value="1.1.6" />
36
+    <add key="VersionCode" value="18" />
37
+    <add key="VersionName" value="1.1.7" />
38
     <add key="ClientSettingsProvider.ServiceUri" value="" />
38
     <add key="ClientSettingsProvider.ServiceUri" value="" />
39
   </appSettings>
39
   </appSettings>
40
   <system.web>
40
   <system.web>

+ 1
- 1
XHWK.WKTool/PrintWindow.xaml View File

84
                     Margin="50,20,50,0"
84
                     Margin="50,20,50,0"
85
                     Visibility="Visible" />
85
                     Visibility="Visible" />
86
                     <Label Grid.Row="0"
86
                     <Label Grid.Row="0"
87
-                    HorizontalAlignment="Center" Width="100"
87
+                    HorizontalAlignment="Center" Width="120"
88
                     x:Name="lbProcess"
88
                     x:Name="lbProcess"
89
                     Height="30"
89
                     Height="30"
90
                     Margin="0,20,0,0"
90
                     Margin="0,20,0,0"

+ 5
- 5
XHWK.WKTool/PrintWindow.xaml.cs View File

118
             Dispatcher.Invoke(() =>
118
             Dispatcher.Invoke(() =>
119
             {
119
             {
120
                 pgbProcess.Value = num;
120
                 pgbProcess.Value = num;
121
-                lbProcess.Content = string.Format("{0}/{1}", num, 100);
121
+                lbProcess.Content = string.Format("{0}% / {1}%", num, 100);
122
                 if (num < 99)
122
                 if (num < 99)
123
                 {
123
                 {
124
                     num++;
124
                     num++;
166
                     num = 99;
166
                     num = 99;
167
                     times.Stop();
167
                     times.Stop();
168
                     pgbProcess.Value = 100;
168
                     pgbProcess.Value = 100;
169
-                    lbProcess.Content = string.Format("{0}/{1}", 100, 100);
169
+                    lbProcess.Content = string.Format("{0}% / {1}%", 100, 100);
170
                     MessageWindow.Show("打印成功!");
170
                     MessageWindow.Show("打印成功!");
171
                     tip_outer.Visibility = Visibility.Collapsed;
171
                     tip_outer.Visibility = Visibility.Collapsed;
172
                 });
172
                 });
194
              {
194
              {
195
                  I = 1;
195
                  I = 1;
196
                  pgbProcess.Value = I * 100 / 100;
196
                  pgbProcess.Value = I * 100 / 100;
197
-                 lbProcess.Content = string.Format("{0}/{1}", I, 100);
197
+                 lbProcess.Content = string.Format("{0}% / {1}%", I, 100);
198
                  tip_outer.Visibility = Visibility.Visible;
198
                  tip_outer.Visibility = Visibility.Visible;
199
                  //I = 0;
199
                  //I = 0;
200
              });
200
              });
239
                             {
239
                             {
240
                                 I = 100;
240
                                 I = 100;
241
                                 pgbProcess.Value = I * 100 / 100;
241
                                 pgbProcess.Value = I * 100 / 100;
242
-                                lbProcess.Content = string.Format("{0}/{1}", I, 100);
242
+                                lbProcess.Content = string.Format("{0}% / {1}%", I, 100);
243
                                 APP.myloading.Hide();
243
                                 APP.myloading.Hide();
244
                                 I = 0;
244
                                 I = 0;
245
                             });
245
                             });
296
                 try
296
                 try
297
                 {
297
                 {
298
                         pgbProcess.Value = I * 100 / 100;
298
                         pgbProcess.Value = I * 100 / 100;
299
-                        lbProcess.Content = string.Format("{0}/{1}", I, 100);
299
+                        lbProcess.Content = string.Format("{0}% / {1}%", I, 100);
300
                         I++;
300
                         I++;
301
                 }
301
                 }
302
                 catch (Exception ex)
302
                 catch (Exception ex)

+ 2
- 2
XHWK.WKTool/Properties/AssemblyInfo.cs View File

49
 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
49
 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
50
 //通过使用 "*",如下所示:
50
 //通过使用 "*",如下所示:
51
 // [assembly: AssemblyVersion("1.0.*")]
51
 // [assembly: AssemblyVersion("1.0.*")]
52
-[assembly: AssemblyVersion("1.1.6.0")]
53
-[assembly: AssemblyFileVersion("1.1.6.0")]
52
+[assembly: AssemblyVersion("1.1.7.0")]
53
+[assembly: AssemblyFileVersion("1.1.7.0")]

+ 37
- 38
XHWK.WKTool/XHMicroLessonSystemWindow.xaml View File

397
             <ScrollViewer x:Name="gridSetUp" Grid.Row="1" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
397
             <ScrollViewer x:Name="gridSetUp" Grid.Row="1" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
398
                 <Grid Grid.Row="1"   Background="#FFFFFF" >
398
                 <Grid Grid.Row="1"   Background="#FFFFFF" >
399
                     <Grid.RowDefinitions>
399
                     <Grid.RowDefinitions>
400
-                        <RowDefinition Height="90"/>
401
-                        <RowDefinition Height="70"/>
400
+                        <RowDefinition Height="80"/>
401
+                        <RowDefinition Height="50"/>
402
+                        <RowDefinition Height="50"/>
403
+                        <RowDefinition Height="50"/>
404
+                        <RowDefinition Height="50"/>
405
+                        <RowDefinition Height="50"/>
406
+                        <RowDefinition Height="50"/>
407
+                        <RowDefinition Height="50"/>
408
+                        <RowDefinition Height="50"/>
402
                         <RowDefinition Height="50"/>
409
                         <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="*"/>
410
                         <RowDefinition Height="*"/>
411
                     </Grid.RowDefinitions>
411
                     </Grid.RowDefinitions>
412
                     <Grid.ColumnDefinitions>
412
                     <Grid.ColumnDefinitions>
414
                         <ColumnDefinition Width="*"/>
414
                         <ColumnDefinition Width="*"/>
415
                     </Grid.ColumnDefinitions>
415
                     </Grid.ColumnDefinitions>
416
 
416
 
417
-                    <TextBlock Grid.Row="0" Grid.Column="0" Text="智能笔" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right" Margin="0,30,0,0"/>
417
+                    <TextBlock Grid.Row="0" Grid.Column="0" Text="智能笔" FontSize="16" Foreground="#333333" 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"/>
418
                     <TextBlock Grid.Row="0" Grid.Column="1" x:Name="txbNotConnecteds"  Text="未连接" FontSize="14" Foreground="#333333" Margin="30,30,0,0"/>
419
 
419
 
420
-                    <TextBlock Grid.Row="1" Grid.Column="0" Text="视频格式" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right"/>
420
+                    <TextBlock Grid.Row="1" Grid.Column="0" Text="视频格式" FontSize="16" Foreground="#333333" HorizontalAlignment="Right"/>
421
                     <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
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"/>
422
                         <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"/>
423
                         <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"/>
424
                         <RadioButton x:Name="rbnAVI" Cursor="Hand" Style="{StaticResource radBase}" Content=" AVI" FontSize="14" Foreground="#333333" Margin="20,-26,0,0" Visibility="Collapsed"/>
426
                     </StackPanel>
425
                     </StackPanel>
427
 
426
 
428
-                    <TextBlock Grid.Row="2" Grid.Column="0" Text="摄像头位置" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right"/>
427
+                    <TextBlock Grid.Row="2" Grid.Column="0" Text="摄像头位置" FontSize="16" Foreground="#333333" HorizontalAlignment="Right"/>
429
                     <StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
428
                     <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"/>
429
                         <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"/>
430
                         <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Style="{StaticResource radBase}" Content=" 右下" FontSize="14" Foreground="#333333"  VerticalAlignment="Top" Margin="20,0,0,0"/>
440
 
439
 
441
 
440
 
442
                     <!--接口地址-->
441
                     <!--接口地址-->
443
-                    <TextBlock Grid.Row="3" Grid.Column="0" Text="接口地址" FontSize="16" Foreground="#333333" FontWeight="Black" HorizontalAlignment="Right" Padding="0,20,0,0"/>
442
+                    <TextBlock Grid.Row="3" Grid.Column="0" Text="接口地址" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0"/>
444
                     <StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
443
                     <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"/>
444
+                        <TextBlock Text="http://" FontSize="14" Padding="0,0,5,0"/>
445
+                        <TextBox x:Name="txbInterfaceAddress" FontSize="14" Width="467" Height="30" Margin="0,-30,0,0"  VerticalContentAlignment="Center" Padding="5,0,0,0"/>
447
                     </StackPanel>
446
                     </StackPanel>
448
 
447
 
449
                     <!--上传地址-->
448
                     <!--上传地址-->
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"/>
449
+                    <TextBlock Grid.Row="4" Grid.Column="0" Text="上传地址" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0"/>
450
+                    <StackPanel Grid.Row="4" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
451
+                        <TextBlock Text="http://" FontSize="14" Padding="0,0,5,0"/>
452
+                        <TextBox x:Name="txbImageUploadAddress" FontSize="14" Margin="0,-30,0,0" Width="467" Height="30"  VerticalContentAlignment="Center" Padding="5,0,0,0"/>
454
                     </StackPanel>
453
                     </StackPanel>
455
 
454
 
456
                     <!--下载地址-->
455
                     <!--下载地址-->
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"/>
456
+                    <TextBlock Grid.Row="5" Grid.Column="0" Text="下载地址" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0"/>
457
+                    <StackPanel Grid.Row="5" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
458
+                        <TextBlock Text="http://" FontSize="14" Padding="0,0,5,0"/>
459
+                        <TextBox x:Name="txbPictureShowsAddress" FontSize="14" Margin="0,-30,0,0" Width="467" Height="30"  VerticalContentAlignment="Center" Padding="5,0,0,0"/>
461
                     </StackPanel>
460
                     </StackPanel>
462
 
461
 
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"/>
462
+                    <TextBlock Grid.Row="6" Grid.Column="0" x:Name="txbFilePath" Text="文件路径" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Padding="0,0,0,0" />
463
+                    <StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
464
+                        <Border Background="#CDD6E0" Width="522" Height="30" CornerRadius="3" Margin="0,-30,0,0">
465
+                            <Label x:Name="txbStoragePath" Background="#FFFFFF" Margin="0,0,0,0" Content="D:\" FontSize="14" Foreground="#333333" Padding="10,7,2,2" Width="520" Height="28" BorderBrush="{x:Null}" BorderThickness="0"/>
467
                         </Border>
466
                         </Border>
468
                         <!--浏览按钮-->
467
                         <!--浏览按钮-->
469
-                        <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="18" Width="80" Height="43" Margin="18,0,0,0" Click="BtnBrowse_Click">
468
+                        <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="14" Width="80" Height="30" Margin="18,-30,0,0" Click="BtnBrowse_Click">
470
                             <Button.Template>
469
                             <Button.Template>
471
                                 <ControlTemplate TargetType="{x:Type Button}">
470
                                 <ControlTemplate TargetType="{x:Type Button}">
472
                                     <Border
471
                                     <Border
483
                             </Button.Template>
482
                             </Button.Template>
484
                         </Button>
483
                         </Button>
485
                     </StackPanel>
484
                     </StackPanel>
486
-
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">
485
+                    <TextBlock Grid.Row="7" Grid.Column="0" Text="录屏快捷键" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Margin="0,0,0,0"/>
486
+                    <StackPanel Grid.Row="7" Grid.Column="1">
487
+                        <TextBlock  FontSize="14" Foreground="#333333" Text="开始/暂停:Ctrl+F5     停止:Ctrl+S     退出讲评:鼠标右键" Margin="30,0,0,0"/>
488
+                    </StackPanel>
489
+                    <TextBlock Grid.Row="9" Grid.Column="0" Text="版本号" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Margin="0,0,0,0"/>
490
+                    <StackPanel Grid.Row="9" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
489
                         <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="16" Foreground="#333333"/>
491
                         <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="16" Foreground="#333333"/>
490
                     </StackPanel>
492
                     </StackPanel>
491
 
493
 
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 Grid.Row="8" Grid.Column="0" Text="版权所有" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Margin="0,0,0,0"/>
495
+                    <StackPanel Grid.Row="8" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
494
                         <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333"/>
496
                         <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333"/>
495
                     </StackPanel>
497
                     </StackPanel>
496
 
498
 
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>
499
+                    
501
                     <!--第四行 开始按钮-->
500
                     <!--第四行 开始按钮-->
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">
501
                     <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>
502
                         <Button.Template>

Loading…
Cancel
Save