public override void RegisterCallBack()
 {
     if (this.NativeObject != IntPtr.Zero)
     {
         m_load_CallBack_void_IBitmap_IPaintDevice = EarthView_World_Display_ICachedBitmap_load_void_IBitmap_IPaintDevice_Function;
         GC.KeepAlive(m_load_CallBack_void_IBitmap_IPaintDevice);
         EV_RegisterCallback_EarthView_World_Display_ICachedBitmap_load_void_IBitmap_IPaintDevice(this.NativeObject, m_load_CallBack_void_IBitmap_IPaintDevice);
         m_render_CallBack_void_ev_int32_ev_int32 = EarthView_World_Display_ICachedBitmap_render_void_ev_int32_ev_int32_Function;
         GC.KeepAlive(m_render_CallBack_void_ev_int32_ev_int32);
         EV_RegisterCallback_EarthView_World_Display_ICachedBitmap_render_void_ev_int32_ev_int32(this.NativeObject, m_render_CallBack_void_ev_int32_ev_int32);
         m_render_CallBack_void_IPaintDevice_ev_int32_ev_int32 = EarthView_World_Display_ICachedBitmap_render_void_IPaintDevice_ev_int32_ev_int32_Function;
         GC.KeepAlive(m_render_CallBack_void_IPaintDevice_ev_int32_ev_int32);
         EV_RegisterCallback_EarthView_World_Display_ICachedBitmap_render_void_IPaintDevice_ev_int32_ev_int32(this.NativeObject, m_render_CallBack_void_IPaintDevice_ev_int32_ev_int32);
     }
 }
Exemplo n.º 2
0
 protected static extern void EV_RegisterCallback_EarthView_World_Display_CCacheBitmap_load_void_IBitmap_IPaintDevice(IntPtr pObject, load_CallBack_void_IBitmap_IPaintDevice pCallback);