예제 #1
0
 public RawDragEvent(IDragDropDevice inputDevice, RawDragEventType type,
                     IInputRoot root, Point location, IDataObject data, DragDropEffects effects, RawInputModifiers modifiers)
     : base(inputDevice, 0, root)
 {
     Type         = type;
     Location     = location;
     Data         = data;
     Effects      = effects;
     KeyModifiers = modifiers.ToKeyModifiers();
 }
예제 #2
0
        public RawDragEvent(IDragDropDevice inputDevice, RawDragEventType type,
                            IInputRoot root, Point location, IDataObject data, DragDropEffects effects, RawInputModifiers modifiers)
            : base(inputDevice, 0, root)
        {
            Type         = type;
            Location     = location;
            Data         = data;
            Effects      = effects;
            KeyModifiers = modifiers.ToKeyModifiers();
#pragma warning disable CS0618 // Type or member is obsolete
            Modifiers = (InputModifiers)modifiers;
#pragma warning restore CS0618 // Type or member is obsolete
        }