소스 검색

打印驱动启动修改

callm 6 달 전
부모
커밋
a0e7674bdb
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      UAS_MES_JWS/FunctionCode/SystemSetting/SystemSetting_PrinterTest.cs

+ 1 - 2
UAS_MES_JWS/FunctionCode/SystemSetting/SystemSetting_PrinterTest.cs

@@ -595,8 +595,7 @@ namespace UAS_MES_NEW.SystemSetting
 
         private void SystemSetting_PrinterTest_Load(object sender, EventArgs e)
         {
-            engine.Start();
-
+            engine=new Engine(true);
 
             ma_code.TableName = " make left join product on ma_prodcode=pr_code";
             ma_code.SelectField = "ma_code # 工单编号,pr_code # 产品编号,pr_spec # 型号";