|
@@ -1340,7 +1340,7 @@ namespace XHWK.WKTool
|
1340
|
1340
|
APP.PageDrawList[i].PdfImagePath = page[i - APP.pageData.pagenum];
|
1341
|
1341
|
APP.PageDrawList[i].PageNum = i + 1;
|
1342
|
1342
|
APP.PageDrawList[i].ImgDocumentation = true;
|
1343
|
|
- APP.PageDrawList[i].Type = "ppt";
|
|
1343
|
+ APP.PageDrawList[i].Type = "word";
|
1344
|
1344
|
}
|
1345
|
1345
|
else
|
1346
|
1346
|
{
|
|
@@ -1351,7 +1351,7 @@ namespace XHWK.WKTool
|
1351
|
1351
|
PdfImagePath = page[i - APP.pageData.pagenum],
|
1352
|
1352
|
PageNum = i + 1,
|
1353
|
1353
|
ImgDocumentation = true,
|
1354
|
|
- Type = "ppt"
|
|
1354
|
+ Type = "word"
|
1355
|
1355
|
};
|
1356
|
1356
|
APP.PageDrawList.Add(model_DrawData);
|
1357
|
1357
|
}
|
|
@@ -1370,27 +1370,15 @@ namespace XHWK.WKTool
|
1370
|
1370
|
}
|
1371
|
1371
|
if (APP.pageData.currpage > 0 && APP.pageData.currpage <= APP.PageDrawList.Count)
|
1372
|
1372
|
{
|
|
1373
|
+
|
1373
|
1374
|
imgCanvas.Source = null;
|
|
1375
|
+ imgPPT.Source = null;
|
1374
|
1376
|
ImgScreenshot.Visibility = Visibility.Collapsed;//当前页为导入时不可截图
|
1375
|
1377
|
ImgScreenshotTwo.Visibility = Visibility.Visible;
|
1376
|
1378
|
btnScreenshot.IsEnabled = false;
|
1377
|
|
- imgDocumentation.Source = null;
|
1378
|
|
- imgPPT.Source = new BitmapImage(new Uri(APP.PageDrawList[APP.pageData.currpage - 1].PageImagePath));//给当前页面展示图片
|
|
1379
|
+ imgDocumentation.Visibility = Visibility.Visible;
|
|
1380
|
+ imgDocumentation.Source = new BitmapImage(new Uri(APP.PageDrawList[APP.pageData.currpage - 1].PageImagePath));//给当前页面展示图片
|
1379
|
1381
|
scroMain.ScrollToVerticalOffset(0);
|
1380
|
|
- for (int i = iStart; i < iEnd; i++)
|
1381
|
|
- {
|
1382
|
|
- APP.PageDrawList[i].ImageLocation = new TranslateTransform
|
1383
|
|
- {
|
1384
|
|
- X = 0.1,
|
1385
|
|
- Y = 0.1
|
1386
|
|
- };
|
1387
|
|
- APP.PageDrawList[i].IsImageLocation = true;
|
1388
|
|
- APP.PageDrawList[i].ImageSizes = new ScaleTransform
|
1389
|
|
- {
|
1390
|
|
- CenterX = imgCanvas.Width,
|
1391
|
|
- CenterY = imgCanvas.Height
|
1392
|
|
- };
|
1393
|
|
- }
|
1394
|
1382
|
}
|
1395
|
1383
|
else
|
1396
|
1384
|
{
|
|
@@ -3490,6 +3478,7 @@ namespace XHWK.WKTool
|
3490
|
3478
|
MessageBoxResult dr = MessageWindow.Show("确定退出登陆?", "提示", MessageBoxButton.OKCancel);
|
3491
|
3479
|
if (dr == MessageBoxResult.OK)
|
3492
|
3480
|
{
|
|
3481
|
+ LoginType();
|
3493
|
3482
|
Login();
|
3494
|
3483
|
}
|
3495
|
3484
|
}
|
|
@@ -3536,8 +3525,8 @@ namespace XHWK.WKTool
|
3536
|
3525
|
APP.IsLoginType = false;
|
3537
|
3526
|
txbLoginType.Text = "未登录";
|
3538
|
3527
|
APP.UserInfo = new Model_UserInfo();
|
3539
|
|
- ImgUpload.Visibility = Visibility.Collapsed;
|
3540
|
|
- ImgUploadTwo.Visibility = Visibility.Visible;
|
|
3528
|
+ //ImgUpload.Visibility = Visibility.Collapsed;
|
|
3529
|
+ //ImgUploadTwo.Visibility = Visibility.Visible;
|
3541
|
3530
|
}
|
3542
|
3531
|
/// <summary>
|
3543
|
3532
|
/// 获取时间戳
|