Esempio n. 1
0
        public EventMouseUp(IntPtr EventInfo)
        {
            EventMouseUp e = new EventMouseUp();

            e        = (EventMouseUp)Marshal.PtrToStructure(EventInfo, typeof(EventMouseUp));
            button   = e.button;
            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;
            flags    = flags;
        }
Esempio n. 2
0
	   public EventMouseUp(IntPtr EventInfo)
	   {
		   EventMouseUp e = new EventMouseUp();
		   e = (EventMouseUp)Marshal.PtrToStructure(EventInfo, typeof(EventMouseUp));
		   button = e.button;
		   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;
		   flags = flags;
	   }