Browse Source

显示隐藏ui

tags/录制修改前
zhangxueyang 4 years ago
parent
commit
a8586c20a8
1 changed files with 8 additions and 1 deletions
  1. 8
    1
      XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs

+ 8
- 1
XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs View File

469
             {
469
             {
470
                 gridUpload.Visibility = Visibility.Collapsed;
470
                 gridUpload.Visibility = Visibility.Collapsed;
471
                 GridMain.Visibility = Visibility.Visible;
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
                     gridPage.Visibility = Visibility.Visible;
477
                     gridPage.Visibility = Visibility.Visible;
475
                 }
478
                 }
480
                 gridPage.Visibility = Visibility.Collapsed;
483
                 gridPage.Visibility = Visibility.Collapsed;
481
                 gridUpload.Visibility = Visibility.Visible;
484
                 gridUpload.Visibility = Visibility.Visible;
482
                 GridMain.Visibility = Visibility.Collapsed;
485
                 GridMain.Visibility = Visibility.Collapsed;
486
+                ImgRecord.Visibility = Visibility.Collapsed;//上传时不可录制
487
+                ImgRecordTwo.Visibility = Visibility.Visible;//上传时不可录制
488
+                BtnRecord.IsEnabled = false;//上传时不可录制
483
                 InitializeUpload();
489
                 InitializeUpload();
484
             }
490
             }
485
         }
491
         }
1576
                     APP.PageDrawList.Clear();
1582
                     APP.PageDrawList.Clear();
1577
                     imgCanvas.Source = null;
1583
                     imgCanvas.Source = null;
1578
                     imgDocumentation.Source = null;
1584
                     imgDocumentation.Source = null;
1585
+                    gridPage.Visibility = Visibility.Collapsed;
1579
                     #endregion
1586
                     #endregion
1580
 
1587
 
1581
                     //缩略图
1588
                     //缩略图

Loading…
Cancel
Save