Hcsy 8 سال پیش
والد
کامیت
286521f51d

+ 0 - 2
UAS-MES/CustomControl/HeadBar/HeadBar.cs

@@ -60,8 +60,6 @@ namespace UAS_MES.CustomControl
                 if (logout_confirm == "Yes")
                 {
                     this.FindForm().Close();
-                    //杀死全部未关闭的进程
-                    System.Environment.Exit(0);
                 }
             }
             else

+ 3 - 0
UAS-MES/FunctionCode/SystemSetting/SystemSetting_LabelMaintain.cs

@@ -118,6 +118,8 @@ namespace UAS_MES.SystemSetting
             pr_code2.KeyDown += ScreenEvent;
             pr_detail.KeyDown += ScreenEvent;
             pr_spec.KeyDown += ScreenEvent;
+
+            SavePath.Text = BaseUtil.GetCacheData("SavePath").ToString();
         }
         private void InPrint()
         {
@@ -559,6 +561,7 @@ namespace UAS_MES.SystemSetting
             {
                 SavePath.Text = folder.SelectedPath;
             }
+            BaseUtil.SetCacheData("SavePath", SavePath.Text);
         }
     }
 }