Пример #1
0
        public EcoreEventDndStatus(IntPtr EventInfo)
        {
            EcoreEventDndStatus e = new EcoreEventDndStatus();

            e                = (EcoreEventDndStatus)Marshal.PtrToStructure(EventInfo, typeof(EcoreEventDndStatus));
            target           = e.target;
            will_accept      = e.will_accept;
            rectangle.X      = e.rectangle.X;
            rectangle.Y      = e.rectangle.Y;
            rectangle.Width  = e.rectangle.Width;
            rectangle.Height = e.rectangle.Height;
            action           = e.action;
        }
Пример #2
0
	   public EcoreEventDndStatus(IntPtr EventInfo)
	   {
		   EcoreEventDndStatus e = new EcoreEventDndStatus();
		   e = (EcoreEventDndStatus)Marshal.PtrToStructure(EventInfo, typeof(EcoreEventDndStatus));
		   target = e.target;
		   will_accept = e.will_accept;
		   rectangle.X = e.rectangle.X;
		   rectangle.Y = e.rectangle.Y;
		   rectangle.Width = e.rectangle.Width;
		   rectangle.Height = e.rectangle.Height;
		   action = e.action;
	   }