Example #1
0
        public void Ecalplse(Object state)
        {
            if (TimerEvent != null)
            {
                foreach (TimerHandle d in TimerEvent.GetInvocationList())
                {
                    //异步调用
                    //传入委托作为一个状态对象
                    d.BeginInvoke(new AsyncCallback(ResultReturns), d);
                }

                //TimerEvent();
            }
        }