Example #1
0
 public GraphicsTimerTaskManager(RootGraphic rootgfx, UIPlatform platform)
 {
     this.rootgfx  = rootgfx;
     this.uiTimer1 = platform.CreateUITimer();
     //--------------------------------------
     uiTimer1.Interval = fastPlanInterval; //fast task plan
     uiTimer1.Tick    += new EventHandler(graphicTimer1_Tick);
     uiTimer1.Enabled  = true;
     //--------------------------------------
 }
 public GraphicsTimerTaskManager(RootGraphic rootgfx, UIPlatform platform)
 {
     this.rootgfx = rootgfx;
     this.uiTimer1 = platform.CreateUITimer();
     //--------------------------------------
     uiTimer1.Interval = fastPlanInterval; //fast task plan
     uiTimer1.Tick += new EventHandler(graphicTimer1_Tick);
     uiTimer1.Enabled = true;
     //--------------------------------------
 }