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); }
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); }