private static IntPtr CreateInputBinding(object command, InputGesture gesture) { IntPtr ret = NoesisGUI_PINVOKE.InputBinding_CreateInputBinding(Noesis.Extend.GetInstanceHandle(command), InputGesture.getCPtr(gesture)); return(ret); }
private static IntPtr CreateInputBinding(object command, InputGesture gesture) { IntPtr ret = NoesisGUI_PINVOKE.InputBinding_CreateInputBinding(Noesis.Extend.GetInstanceHandle(command), InputGesture.getCPtr(gesture)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }