Browse Source

优化上传修改名字

tags/录制修改前
zhangxueyang 4 years ago
parent
commit
3421bcdd22
2 changed files with 3 additions and 2 deletions
  1. 1
    1
      XHWK.WKTool/App.cs
  2. 2
    1
      XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs

+ 1
- 1
XHWK.WKTool/App.cs View File

23
         /// <summary>
23
         /// <summary>
24
         /// 是否为测试版
24
         /// 是否为测试版
25
         /// </summary>
25
         /// </summary>
26
-        public static bool isDebug = true;
26
+        public static bool isDebug = false;
27
         /// <summary>
27
         /// <summary>
28
         /// 接口地址
28
         /// 接口地址
29
         /// </summary>
29
         /// </summary>

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

887
                 string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
887
                 string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
888
                 ofd = new System.Windows.Forms.OpenFileDialog
888
                 ofd = new System.Windows.Forms.OpenFileDialog
889
                 {
889
                 {
890
-                    Filter = "文档|*.docx;*.doc;*.ppt;*.pptx",
890
+                    //Filter = "文档|*.docx;*.doc;*.ppt;*.pptx",
891
+                    Filter = "文档|*.docx;*.doc;*.pptx",
891
                     InitialDirectory = desktopPath,
892
                     InitialDirectory = desktopPath,
892
                     Multiselect = false,
893
                     Multiselect = false,
893
                     AddExtension = true,
894
                     AddExtension = true,

Loading…
Cancel
Save