|
|
@@ -40,8 +40,6 @@ namespace UAS_MES
|
|
|
|
|
|
Thread thread;
|
|
|
|
|
|
- Thread TestPrint;
|
|
|
-
|
|
|
DataHelper dh = SystemInf.dh;
|
|
|
|
|
|
string sysdisc = Environment.GetEnvironmentVariable("windir").Substring(0, 1);
|
|
|
@@ -88,8 +86,6 @@ namespace UAS_MES
|
|
|
Closelblprocess();
|
|
|
thread = new Thread(DeleteLog);
|
|
|
thread.Start();
|
|
|
- TestPrint = new Thread(TestPrintEnable);
|
|
|
- TestPrint.Start();
|
|
|
this.Tag = "ShowDialogWindow";
|
|
|
this.headBar1.MouseDown += new MouseEventHandler(this.headBar_MouseDown);
|
|
|
this.MainTabControl.DrawMode = TabDrawMode.OwnerDrawFixed;
|
|
|
@@ -169,20 +165,6 @@ namespace UAS_MES
|
|
|
|
|
|
}
|
|
|
|
|
|
- private void TestPrintEnable()
|
|
|
- {
|
|
|
- try
|
|
|
- {
|
|
|
- ApplicationClass lbl = new ApplicationClass();
|
|
|
- SystemInf.EnablePrint = true;
|
|
|
- lbl.Quit();
|
|
|
- }
|
|
|
- catch (Exception)
|
|
|
- {
|
|
|
- SystemInf.EnablePrint = false;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
/// <summary>
|
|
|
///设置窗体的最大化和最小化状态
|
|
|
/// </summary>
|