Exemplo n.º 1
0
                protected void EarthView_World_Core_CEventObject_onTimerEvent_void_CTimerEvent_Function(IntPtr e)
                {
                    EarthView.World.Core.TimerEvent csobj_e = new EarthView.World.Core.TimerEvent(CreatedWhenConstruct.CWC_NotToCreate);
                    csobj_e.BindNativeObject(e, "CTimerEvent");
                    csobj_e.Delegate = true;
                    IClassFactory csobj_eClassFactory = GlobalClassFactoryMap.Get(csobj_e.GetCppInstanceTypeName());

                    if (csobj_eClassFactory != null)
                    {
                        csobj_e.Delegate = true;
                        csobj_e          = csobj_eClassFactory.Create() as EarthView.World.Core.TimerEvent;
                        csobj_e.BindNativeObject(e, "CTimerEvent");
                        csobj_e.Delegate = true;
                    }

                    OnTimerEvent(csobj_e);
                }
Exemplo n.º 2
0
 protected override void OnTimerEvent(EarthView.World.Core.TimerEvent e)
 {
     base.OnTimerEvent_NoVirtual(e);
 }
Exemplo n.º 3
0
 /// <summary>
 /// 定时器事件处理函数,可重载
 /// </summary>
 /// <param name="e">定时器事件,内有定时器id</param>
 /// <returns></returns>
 protected virtual void OnTimerEvent(EarthView.World.Core.TimerEvent e)
 {
     EarthView_World_Core_CEventObject_onTimerEvent_void_CTimerEvent(this.NativeObject, object.Equals(e, null) ? IntPtr.Zero : e.NativeObject);
 }