Esempio n. 1
0
 internal void Dispose()
 {
     if (changeKeyFocusTranslator != null)
     {
         changeKeyFocusTranslator.Dispose();
         changeKeyFocusTranslator = null;
     }
     if (changeMouseFocusTranslator != null)
     {
         changeMouseFocusTranslator.Dispose();
         changeMouseFocusTranslator = null;
     }
 }
Esempio n. 2
0
 public IntPtr create(EventChangeMouseFocusInputManager obj, InputManager inputManager)
 {
     handle = GCHandle.Alloc(obj);
     return(EventChangeMouseFocusInputManager_Create(inputManager.Ptr, nativeEventCallback, GCHandle.ToIntPtr(handle)));
 }