예제 #1
0
        public EventMouseIn(IntPtr EventInfo)
        {
            EventMouseIn e = new EventMouseIn();

            e        = (EventMouseIn)Marshal.PtrToStructure(EventInfo, typeof(EventMouseIn));
            buttons  = e.buttons;
            output.x = e.output.x;
            output.y = e.output.y;
            canvas.x = e.canvas.x;
            canvas.y = e.canvas.y;
            data     = e.data;
            locks    = e.locks;
        }
예제 #2
0
	   public EventMouseIn(IntPtr EventInfo)
	   {
		   EventMouseIn e = new EventMouseIn();
		   e = (EventMouseIn)Marshal.PtrToStructure(EventInfo, typeof(EventMouseIn));
		   buttons = e.buttons;
		   output.x = e.output.x;
		   output.y = e.output.y;
		   canvas.x = e.canvas.x;
		   canvas.y = e.canvas.y;
		   data = e.data;
		   locks = e.locks;
	   }