public SingleMouseClientAndDispatcher(CommunicationLogic logic) { this.logic = logic; mouseProc = mouseHook_MessageIntercepted; hookId = SetHook(mouseProc); id = 0; }
/// <summary> /// Initializes a new instance of the <see cref="ContactHandler"/> class. /// </summary> /// <param name="handle">Window handle for which contacts should be received</param> /// <param name="relativeTo">Contacts coordinates will be relative to this window handle</param> /// <remarks> /// If <paramref name="handle"/> is <c>IntPtr.Zero</c> contacts for all windows will be received /// Use <c>IntPtr.Zero</c> in <paramref name="relativeTo"/> to get x,y in screen coordinates. /// </remarks> public ContactHandler(IntPtr handle, IntPtr relativeTo) { Handle = handle; logic = CommunicationLogic.Instance; logic.RegisterHandler(this); RelativeTo = relativeTo; }
public ServiceCommunicator(CommunicationLogic logic) { this.logic = logic; }
public MultitouchServiceContactDispatcher(CommunicationLogic logic) { this.logic = logic; }