public static void StaticAsyncLocalTime(bool slient, SystemTimeHander callBack) { SystemTimeEventArgs _eventArgs = new SystemTimeEventArgs(); _eventArgs.Now = DateTime.Now; _eventArgs.Option = SystemTimeOption.Processing; _completedEvent = callBack; if (_completedEvent != null) { _completedEvent(_eventArgs); } StaticAsyncLocalTime(slient); }
public static void StaticAsyncLocalTime(bool slient, SystemTimeHander callBack) { SystemTimeEventArgs _eventArgs = new SystemTimeEventArgs(); _eventArgs.Now = DateTime.Now; _eventArgs.Option = SystemTimeOption.Processing; _completedEvent = callBack; if (_completedEvent != null) { _completedEvent(_eventArgs); } StaticAsyncLocalTime(slient); }