Hcsy 8 years ago
parent
commit
055bfcc0d9
1 changed files with 8 additions and 1 deletions
  1. 8 1
      UAS-MES/FunctionCode/SystemSetting/SystemSetting_LabelMaintain.cs

+ 8 - 1
UAS-MES/FunctionCode/SystemSetting/SystemSetting_LabelMaintain.cs

@@ -89,7 +89,14 @@ namespace UAS_MES.SystemSetting
         //创建打印进程
         private void NewPrint()
         {
-            lbl = new ApplicationClass();
+            try
+            {
+                lbl = new ApplicationClass();
+            }
+            catch
+            {
+                MessageBox.Show("未正确安装CodeSoft软件");
+            }
         }
 
         private void 条码维护_Load(object sender, EventArgs e)