コード例 #1
0
 public override void RegisterCallBack()
 {
     if (this.NativeObject != IntPtr.Zero)
     {
         m_update_CallBack_void = EarthView_World_Spatial3D_KmlManager_IKmlObserver_update_void_Function;
         GC.KeepAlive(m_update_CallBack_void);
         EV_RegisterCallback_EarthView_World_Spatial3D_KmlManager_IKmlObserver_update_void(this.NativeObject, m_update_CallBack_void);
         m_refresh_CallBack_void = EarthView_World_Spatial3D_KmlManager_IKmlObserver_refresh_void_Function;
         GC.KeepAlive(m_refresh_CallBack_void);
         EV_RegisterCallback_EarthView_World_Spatial3D_KmlManager_IKmlObserver_refresh_void(this.NativeObject, m_refresh_CallBack_void);
         m_toolDeactivatedUpdate_CallBack_void = EarthView_World_Spatial3D_KmlManager_IKmlObserver_toolDeactivatedUpdate_void_Function;
         GC.KeepAlive(m_toolDeactivatedUpdate_CallBack_void);
         EV_RegisterCallback_EarthView_World_Spatial3D_KmlManager_IKmlObserver_toolDeactivatedUpdate_void(this.NativeObject, m_toolDeactivatedUpdate_CallBack_void);
     }
 }
コード例 #2
0
 protected static extern void EV_RegisterCallback_EarthView_World_Spatial3D_KmlManager_IKmlObserver_refresh_void(IntPtr pObject, refresh_CallBack_void pCallback);