temu客户端程序

This commit is contained in:
wule committed 2025-06-29 19:38:31 +08:00
commit 4aaf264e89
694 files changed
+263780

No files matched your search

+49
View File
@@ -0,0 +1,49 @@
using System;
using System.Threading;
namespace AllBase
{
public class ThreadTime
{
public Thread t;
public DateTime StartTime;
public bool IsAlive
{
get
{
try
{
return (t == null ? false : t.IsAlive);
}
catch
{
return false;
}
}
}
public ThreadTime(Thread _t)
{
t = _t;
}
public void Start()
{
t.Priority = ThreadPriority.BelowNormal;
t.Start();
StartTime = DateTime.Now;
}
public void Abort()
{
try
{
if(t.IsAlive)
t.Abort();
}
catch
{
}
}
}
}