|
|
@@ -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();
|
|
|
}
|
|
|
|