Пример #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;
        }
Пример #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;
	   }