public DwmFramelessController(FramelessInfo framelessInfo, FramelessOption framelessOption, Action <SizeChangedEventArgs> onSizeChanged) { _windowHandle = framelessInfo.Handle; _framelessInfo = framelessInfo; _framelessOption = framelessOption; _dragWindowInfo = new DragWindowInfo(framelessInfo.Handle, _framelessOption); _onSizeChanged = onSizeChanged; }
public DragMouseLLHook(DragWindowInfo dragWindowInfo) : base(WH.MOUSE_LL) { _dragWindowInfo = dragWindowInfo; HookEventHandler = OnMouseEvent; }