Browse Source

1.4.8 导入图片修改。

tags/录制修改前
zhangxueyang 3 years ago
parent
commit
7314cb152a

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

32
     <!--上传每片大小 Mb-->
32
     <!--上传每片大小 Mb-->
33
     <add key="UploadSliceLen" value="1" />
33
     <add key="UploadSliceLen" value="1" />
34
     <!--版本号-->
34
     <!--版本号-->
35
-    <add key="VersionCode" value="48" />
36
-    <add key="VersionName" value="1.4.7" />
35
+    <add key="VersionCode" value="49" />
36
+    <add key="VersionName" value="1.4.8" />
37
     <add key="ClientSettingsProvider.ServiceUri" value="" />
37
     <add key="ClientSettingsProvider.ServiceUri" value="" />
38
   </appSettings>
38
   </appSettings>
39
   <system.web>
39
   <system.web>

+ 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.4.7.0")]
53
-[assembly: AssemblyFileVersion("1.4.7.0")]
52
+[assembly: AssemblyVersion("1.4.8.0")]
53
+[assembly: AssemblyFileVersion("1.4.8.0")]

+ 14
- 10
XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs View File

1395
                         APP.ImgPath = filepath;
1395
                         APP.ImgPath = filepath;
1396
                         Dispatcher.Invoke(new Action(() =>
1396
                         Dispatcher.Invoke(new Action(() =>
1397
                         {
1397
                         {
1398
-                        if (APP.pageData.currpage == 0)
1398
+                           
1399
+                            if (APP.pageData.currpage == 0)
1399
                         {
1400
                         {
1400
-                            APP.pageData.pagenum += 1;
1401
-                            APP.pageData.currpage = APP.pageData.pagenum;
1402
-                            myblackboard.changepage(APP.pageData.currpage - 1);
1403
-                         
1401
+                                APP.pageData.pagenum += 1;
1402
+                                APP.pageData.currpage = APP.pageData.pagenum;
1403
+                                myblackboard.changepage(APP.pageData.currpage - 1);
1404
+
1405
+
1404
 
1406
 
1405
-                           
1406
                                 gridPage.Visibility = Visibility.Visible;//页码大于0 显示
1407
                                 gridPage.Visibility = Visibility.Visible;//页码大于0 显示
1407
                                 #region 插入页码
1408
                                 #region 插入页码
1408
                                 PageData = new List<PageData>();
1409
                                 PageData = new List<PageData>();
1416
                                 CbxPageList.ItemsSource = PageData;
1417
                                 CbxPageList.ItemsSource = PageData;
1417
                                 CbxPageList.SelectedIndex = APP.pageData.currpage - 1;
1418
                                 CbxPageList.SelectedIndex = APP.pageData.currpage - 1;
1418
                                 #endregion
1419
                                 #endregion
1419
-                         
1420
-
1421
-
1422
-                          
1423
                         }
1420
                         }
1421
+                            else
1422
+                            {
1423
+                                APP.pageData.pagenum += 1;
1424
+                                APP.pageData.currpage = APP.pageData.pagenum;
1425
+                                myblackboard.changepage(APP.pageData.currpage - 1);
1426
+                            }
1427
+
1424
                         if (APP.PageDrawList.Count >= APP.pageData.currpage)
1428
                         if (APP.PageDrawList.Count >= APP.pageData.currpage)
1425
                         {
1429
                         {
1426
                             APP.PageDrawList[APP.pageData.currpage - 1].PageImagePath = APP.ImgPath;//zxycs
1430
                             APP.PageDrawList[APP.pageData.currpage - 1].PageImagePath = APP.ImgPath;//zxycs

Loading…
Cancel
Save