Exemplo n.º 1
0
        public EcoreEventDndDrop(IntPtr EventInfo)
        {
            EcoreEventDndDrop e = new EcoreEventDndDrop();

            e        = (EcoreEventDndDrop)Marshal.PtrToStructure(EventInfo, typeof(EcoreEventDndDrop));
            win      = e.win;
            source   = e.source;
            action   = e.action;
            position = new Position(e.position.X, e.position.Y);
        }
Exemplo n.º 2
0
	   public EcoreEventDndDrop(IntPtr EventInfo)
	   {
		   EcoreEventDndDrop e = new EcoreEventDndDrop();
		   e = (EcoreEventDndDrop)Marshal.PtrToStructure(EventInfo, typeof(EcoreEventDndDrop));
		   win = e.win;
		   source = e.source;
		   action = e.action;
		   position = new Position(e.position.X, e.position.Y);
	   }