Files
lserp_cs_5.0/LSTest/LSFileClient/LSGlobleVariable.cs
T
2026-07-10 15:25:05 +08:00

33 lines
882 B
C#

namespace LSFileClient
{
using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Timers;
[StructLayout(LayoutKind.Sequential, Size=1)]
internal struct LSGlobleVariable
{
public static System.Timers.Timer timer;
public static Thread hThread;
public static bool bNeedExit;
public static object mutexObj;
public static uint userId;
public static IntPtr hWndMain;
public static FrmBase masterForm;
public static AutoResetEvent notifyEvent;
static LSGlobleVariable()
{
timer = null;
hThread = null;
bNeedExit = false;
mutexObj = 1;
userId = 0;
hWndMain = IntPtr.Zero;
masterForm = null;
notifyEvent = new AutoResetEvent(true);
}
}
}