Exemplo n.º 1
0
        public void Execute(object control)
        {
            object owner = null;

            for (int i = 0; i < packetQueue.Count; i++)
            {
                var p = packetQueue[i];
                p.queueOwner = owner;
                control.AnimeCancel(p.threadParam.queueName);
                owner        = AnimationControler.ProcessPacket(control, p);
                p.queueOwner = null;
            }
        }
Exemplo n.º 2
0
 public static object AnimeHighlightForecolor(Control ctrl, string queueName, int highlightPercent, int time, bool queue, int queueLevel, object queueOwner, AnimationControler.FinalCallback finalCallback)
 {
     return AnimationControler.ProcessPacket(ctrl, AnimeHighlightForecolorPacket(queueName, highlightPercent, time, queue, queueLevel, queueOwner, finalCallback));
 }
Exemplo n.º 3
0
 public static object AnimeColorProp(object ctrl, string queueName, string propName, Color color, int time, SpeedMode speedMode, bool queue, int queueLevel, object queueOwner, AnimationControler.FinalCallback finalCallback, bool CompleteIfCancel)
 {
     return AnimationControler.ProcessPacket(ctrl, AnimeColorPropPacket(queueName, propName, color, time, speedMode, queue, queueLevel, queueOwner, finalCallback, CompleteIfCancel));
 }
Exemplo n.º 4
0
 public static object AnimeMultiRectProp(object ctrl, string queueName, string propName, object[] objects, Rectangle[] rects, int time, SpeedMode speedMode, bool queue, int queueLevel, object queueOwner, AnimationControler.FinalCallback finalCallback, bool CompleteIfCancel)
 {
     return AnimationControler.ProcessPacket(ctrl, AnimeMultiRectPropPacket(queueName, propName, objects, rects, time, speedMode, queue, queueLevel, queueOwner, finalCallback, CompleteIfCancel));
 }
Exemplo n.º 5
0
 public static object AnimeWait(Control ctrl, string queueName, int time, bool queue, int queueLevel, object queueOwner, AnimationControler.FinalCallback finalCallback)
 {
     return AnimationControler.ProcessPacket(ctrl, AnimeWaitPacket(queueName, time, queue, queueLevel, queueOwner, finalCallback));
 }
Exemplo n.º 6
0
 public static object AnimeCustom(Control ctrl, string queueName, int sleepTime, CustomAnimeHandler method, int maxIteration, bool queue, int queueLevel, object queueOwner, AnimationControler.FinalCallback finalCallback)
 {
     return AnimationControler.ProcessPacket(ctrl, AnimeCustomPacket(queueName, sleepTime, method, maxIteration, queue, queueLevel, queueOwner, finalCallback));
 }