Example #1
0
 public WinFormsOffScreenRenderer(string overlayName, string url, IWinFormsTarget target, object api) :
     base(overlayName, url, target, api)
 {
     target.MouseWheel += OnMouseWheel;
     target.MouseDown  += OnMouseDown;
     target.MouseUp    += OnMouseUp;
     target.MouseMove  += OnMouseMove;
     target.MouseLeave += OnMouseLeave;
     target.KeyDown    += OnKeyDown;
     target.KeyUp      += OnKeyUp;
     target.Resize     += OnResize;
 }
Example #2
0
 public WinFormsRenderer(string overlayName, string url, IWinFormsTarget target, object api) :
     base(overlayName, url, target, api)
 {
     target.Resize += OnResize;
 }