|
|
@@ -38,8 +38,6 @@ namespace UAS_MES_NEW
|
|
|
|
|
|
Thread thread;
|
|
|
|
|
|
- Thread TestPrint;
|
|
|
-
|
|
|
DataHelper dh = SystemInf.dh;
|
|
|
|
|
|
string sysdisc = Environment.GetEnvironmentVariable("windir").Substring(0, 1);
|
|
|
@@ -86,8 +84,6 @@ namespace UAS_MES_NEW
|
|
|
Closelblprocess();
|
|
|
thread = new Thread(DeleteLog);
|
|
|
thread.Start();
|
|
|
- TestPrint = new Thread(TestPrintEnable);
|
|
|
- TestPrint.Start();
|
|
|
this.Tag = "ShowDialogWindow";
|
|
|
this.MainTabControl.DrawMode = TabDrawMode.OwnerDrawFixed;
|
|
|
this.MainTabControl.Padding = new Point(CLOSE_SIZE + 10, CLOSE_SIZE);
|
|
|
@@ -163,20 +159,6 @@ namespace UAS_MES_NEW
|
|
|
|
|
|
}
|
|
|
|
|
|
- private void TestPrintEnable()
|
|
|
- {
|
|
|
- try
|
|
|
- {
|
|
|
- ApplicationClass lbl = new ApplicationClass();
|
|
|
- SystemInf.EnablePrint = true;
|
|
|
- lbl.Quit();
|
|
|
- }
|
|
|
- catch (Exception)
|
|
|
- {
|
|
|
- SystemInf.EnablePrint = false;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
/// <summary>
|
|
|
///设置窗体的最大化和最小化状态
|
|
|
/// </summary>
|