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