|
|
@@ -5,6 +5,7 @@ using System.Collections.Generic;
|
|
|
using System.ComponentModel;
|
|
|
using System.Data;
|
|
|
using System.Drawing;
|
|
|
+using System.IO;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading;
|
|
|
@@ -58,6 +59,17 @@ namespace UAS_MES_NEW.Make
|
|
|
stw.ShowDialog();
|
|
|
inputText.Focus();
|
|
|
dh = SystemInf.dh;
|
|
|
+ try
|
|
|
+ {
|
|
|
+ if (File.Exists("RePrintLabel" + ".txt"))
|
|
|
+ {
|
|
|
+ File.Delete("RePrintLabel" + ".txt");
|
|
|
+ }
|
|
|
+ StreamWriter sw = File.AppendText("RePrintLabel" + ".txt");
|
|
|
+ sw.WriteLine(inputText.Handle);
|
|
|
+ sw.Close();
|
|
|
+ }
|
|
|
+ catch (Exception) { }
|
|
|
}
|
|
|
|
|
|
private void InPrint()
|