Exemplo n.º 1
0
 public static void RegisterRunOnceTask(UITimerTask.TimerTick action)
 {
     UI.UITimerTask uiTimerTask = new UI.UITimerTask(action);
     uiTimerTask.Enabled = true;
     uiTimerTask.RunOnce = true;
     UIMsgQueueSystem.InternalMsgPumpRegister(uiTimerTask);
 }
Exemplo n.º 2
0
        public static void RegisterTimerTask(int intervalMillisec, UITimerTask.TimerTick timerTick)
        {
            UITimerTask timerTask = new UITimerTask(timerTick);

            timerTask.IntervalInMillisec = intervalMillisec;
            UIMsgQueueSystem.InternalMsgPumpRegister(timerTask);
            timerTask.Enabled = true;
        }
Exemplo n.º 3
0
 public static void RegisterRunOnceTask(Action <UITimerTask> action)
 {
     UIMsgQueueSystem.InternalMsgPumpRegister(new UI.UITimerTask(action)
     {
         Enabled = true,
         RunOnce = true
     });
 }
Exemplo n.º 4
0
 protected static void InvokeMsgPumpOneStep()
 {
     if (s_Closing)
     {
         return;
     }
     //
     UIMsgQueueSystem.InternalMsgPumpOneStep();
 }
Exemplo n.º 5
0
 public static void RegisterTimerTask(UITimerTask uiTimerTask)
 {
     UIMsgQueueSystem.InternalMsgPumpRegister(uiTimerTask);
 }
Exemplo n.º 6
0
 protected static void InvokeMsgPumpOneStep()
 {
     UIMsgQueueSystem.InternalMsgPumpOneStep();
 }