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

            e         = (_EcoreEventDndEnter)Marshal.PtrToStructure(EventInfo, typeof(_EcoreEventDndEnter));
            win       = new XWindow(e.win);
            src       = new XWindow(e.src);
            types     = Common.PtrToStringArray(e.num_types, e.types);
            num_types = e.num_types;
        }
Exemplo n.º 2
0
	   public EcoreEventDndEnter(IntPtr EventInfo)
	   {
		   _EcoreEventDndEnter e = new _EcoreEventDndEnter();
		   e = (_EcoreEventDndEnter)Marshal.PtrToStructure(EventInfo, typeof(_EcoreEventDndEnter));
		   win = new XWindow(e.win);
		   src = new XWindow(e.src);
		   types = Common.PtrToStringArray(e.num_types, e.types);
		   num_types = e.num_types;
	   }