1 write to KeyState
System.Windows.Forms (1)
System\Windows\Forms\OLE\DragEventArgs.cs (1)
44KeyState = keyState;
8 references to KeyState
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (1)
212DragEventArgs dragEnterArgs = new(e.Data, e.KeyState, e.X, e.Y, e.AllowedEffect, e.Effect, e.DropImageType, e.Message, e.MessageReplacementToken)
System\Windows\Forms\OLE\DragEventArgs.cs (3)
117KeyState, 136&& dragEventArgs.KeyState == KeyState
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\ToolboxSnapDragDropEventArgs.cs (1)
22: base(origArgs.Data, origArgs.KeyState, origArgs.X, origArgs.Y, origArgs.AllowedEffect, origArgs.Effect)
System\Windows\Forms\Design\OleDragDropHandler.cs (3)
880if ((de.KeyState & (int)MODIFIERKEYS_FLAGS.MK_CONTROL) != 0 && (de.AllowedEffect & DragDropEffects.Copy) != 0) 897if ((de.KeyState & (int)MODIFIERKEYS_FLAGS.MK_CONTROL) != 0 954bool copy = (de.KeyState & (int)MODIFIERKEYS_FLAGS.MK_CONTROL) != 0