Ver código fonte

显示隐藏ui

tags/录制修改前
zhangxueyang 4 anos atrás
pai
commit
a8586c20a8
1 arquivos alterados com 8 adições e 1 exclusões
  1. 8
    1
      XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs

+ 8
- 1
XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs Ver arquivo

@@ -469,7 +469,10 @@ namespace XHWK.WKTool
469 469
             {
470 470
                 gridUpload.Visibility = Visibility.Collapsed;
471 471
                 GridMain.Visibility = Visibility.Visible;
472
-                if(APP.pageData.pagenum>0)
472
+                ImgRecord.Visibility = Visibility.Visible;//上传结束时可录制
473
+                ImgRecordTwo.Visibility = Visibility.Collapsed;//上传结束时可录制
474
+                BtnRecord.IsEnabled = true;//设置结束时可录制
475
+                if (APP.pageData.pagenum>0)
473 476
                 {
474 477
                     gridPage.Visibility = Visibility.Visible;
475 478
                 }
@@ -480,6 +483,9 @@ namespace XHWK.WKTool
480 483
                 gridPage.Visibility = Visibility.Collapsed;
481 484
                 gridUpload.Visibility = Visibility.Visible;
482 485
                 GridMain.Visibility = Visibility.Collapsed;
486
+                ImgRecord.Visibility = Visibility.Collapsed;//上传时不可录制
487
+                ImgRecordTwo.Visibility = Visibility.Visible;//上传时不可录制
488
+                BtnRecord.IsEnabled = false;//上传时不可录制
483 489
                 InitializeUpload();
484 490
             }
485 491
         }
@@ -1576,6 +1582,7 @@ namespace XHWK.WKTool
1576 1582
                     APP.PageDrawList.Clear();
1577 1583
                     imgCanvas.Source = null;
1578 1584
                     imgDocumentation.Source = null;
1585
+                    gridPage.Visibility = Visibility.Collapsed;
1579 1586
                     #endregion
1580 1587
 
1581 1588
                     //缩略图

Carregando…
Cancelar
Salvar