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()
         private void NewPrint()
         {
         {
-            lbl = new ApplicationClass();
+            try
+            {
+                lbl = new ApplicationClass();
+            }
+            catch
+            {
+                MessageBox.Show("未正确安装CodeSoft软件");
+            }
         }
         }
 
 
         private void 条码维护_Load(object sender, EventArgs e)
         private void 条码维护_Load(object sender, EventArgs e)