|
@@ -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
|
{
|
|
@@ -3486,6 +3474,7 @@ namespace XHWK.WKTool
|
3486
|
3474
|
MessageBoxResult dr = MessageWindow.Show("确定退出登陆?", "提示", MessageBoxButton.OKCancel);
|
3487
|
3475
|
if (dr == MessageBoxResult.OK)
|
3488
|
3476
|
{
|
|
3477
|
+ LoginType();
|
3489
|
3478
|
Login();
|
3490
|
3479
|
}
|
3491
|
3480
|
}
|
|
@@ -3532,8 +3521,8 @@ namespace XHWK.WKTool
|
3532
|
3521
|
APP.IsLoginType = false;
|
3533
|
3522
|
txbLoginType.Text = "未登录";
|
3534
|
3523
|
APP.UserInfo = new Model_UserInfo();
|
3535
|
|
- ImgUpload.Visibility = Visibility.Collapsed;
|
3536
|
|
- ImgUploadTwo.Visibility = Visibility.Visible;
|
|
3524
|
+ //ImgUpload.Visibility = Visibility.Collapsed;
|
|
3525
|
+ //ImgUploadTwo.Visibility = Visibility.Visible;
|
3537
|
3526
|
}
|
3538
|
3527
|
/// <summary>
|
3539
|
3528
|
/// 获取时间戳
|