Bläddra i källkod

Merge remote-tracking branch 'refs/remotes/origin/master'

章政 8 år sedan
förälder
incheckning
22a7c55da9
1 ändrade filer med 12 tillägg och 0 borttagningar
  1. 12 0
      UAS-MES/FunctionCode/Make/Make_FuselageLabelPrint.cs

+ 12 - 0
UAS-MES/FunctionCode/Make/Make_FuselageLabelPrint.cs

@@ -8,6 +8,8 @@ using UAS_MES.PublicMethod;
 using UAS_MES.Entity;
 using LabelManager2;
 using System.IO;
+using System.Threading;
+using UAS_MES.PublicForm;
 
 namespace UAS_MES.Make
 {
@@ -29,6 +31,8 @@ namespace UAS_MES.Make
 
         string oErrorMessage = "";
 
+        Thread InitPrint;
+
         public Make_FuselageLabelPrint()
         {
             InitializeComponent();
@@ -39,6 +43,14 @@ namespace UAS_MES.Make
             dh = new DataHelper();
             sncode.Focus();
             asc.controllInitializeSize(this);
+            InitPrint = new Thread(InPrint);
+            SetLoadingWindow stw = new SetLoadingWindow(InitPrint, "初始化打印程序");
+            BaseUtil.SetFormCenter(stw);
+            stw.ShowDialog();
+        }
+
+        private void InPrint()
+        {
             lbl = new ApplicationClass();
         }