Files
lserp_cs_6.0/插件库/Lskj.AttachStart/Client/Model/GlobalVariable.cs
T
cyf ab56a9bcf7 基线 SVN r240
SVN-Revision: r240
2025-02-06 06:46:06 +00:00

35 lines
946 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Threading;
using Lskj.Control;
namespace Lskj.Attach.Client.Model
{
[StructLayout(LayoutKind.Sequential, Size = 1)]
internal struct GlobalVariable
{
public static uint UserId;
public static bool NeedExit;
public static object MutexObj;
public static Timer TimerObj;
public static Thread ThreadObj;
public static IntPtr WndMain;
public static BaseForm BaseFormObj;
public static AutoResetEvent NotifyEvent;
static GlobalVariable()
{
TimerObj = null;
ThreadObj = null;
NeedExit = false;
MutexObj = 1;
UserId = 0;
WndMain = IntPtr.Zero;
BaseFormObj = null;
NotifyEvent = new AutoResetEvent(true);
}
}
}