|
|
@@ -44,14 +44,7 @@ namespace UAS_MES.Make
|
|
|
sncode.Focus();
|
|
|
asc.controllInitializeSize(this);
|
|
|
OperateResult.AppendText(">>请输入SN\n", Color.Green);
|
|
|
- try
|
|
|
- {
|
|
|
- InitPrint = new Thread(InPrint);
|
|
|
- }
|
|
|
- catch (Exception ex)
|
|
|
- {
|
|
|
- MessageBox.Show(ex.Message);
|
|
|
- }
|
|
|
+ InitPrint = new Thread(InPrint);
|
|
|
SetLoadingWindow stw = new SetLoadingWindow(InitPrint, "初始化打印程序");
|
|
|
BaseUtil.SetFormCenter(stw);
|
|
|
stw.ShowDialog();
|