Пример #1
0
 public void AddMainThreadCallback(FrameUpdateCallback callback)
 {
     System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate <System.Delegate>(callback);
     {
         Interop.FrameCallback.FrameUpdateCallback_AddMainThreadCallback(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
         if (NDalicPINVOKE.SWIGPendingException.Pending)
         {
             throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
     }
 }
Пример #2
0
 public void Activate()
 {
     frameUpdateCallback = new FrameUpdateCallback();
     Initialize();
 }