示例#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;
 }
示例#2
0
 public DragMouseLLHook(DragWindowInfo dragWindowInfo) : base(WH.MOUSE_LL)
 {
     _dragWindowInfo  = dragWindowInfo;
     HookEventHandler = OnMouseEvent;
 }