Ejemplo n.º 1
0
        private static void WaitCallBack(object obj)
        {
            ActionInfo actionInfo = obj as ActionInfo;

            try
            {
                if (actionInfo.Action != null)
                {
                    actionInfo.Action();
                }
                else
                {
                    actionInfo.ObjectAction(actionInfo.State);
                }
            }
            catch (Exception ex)
            {
            }
            actionInfo.Status = ActionStatus.Stop;
        }