Hcsy 8 年之前
父節點
當前提交
055bfcc0d9
共有 1 個文件被更改,包括 8 次插入1 次删除
  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)