1 write to KeyState
System.Windows.Forms (1)
System\Windows\Forms\OLE\DragEventArgs.cs (1)
44
KeyState
= keyState;
8 references to KeyState
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (1)
212
DragEventArgs 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)
117
KeyState
,
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)
880
if ((de.
KeyState
& (int)MODIFIERKEYS_FLAGS.MK_CONTROL) != 0 && (de.AllowedEffect & DragDropEffects.Copy) != 0)
897
if ((de.
KeyState
& (int)MODIFIERKEYS_FLAGS.MK_CONTROL) != 0
954
bool copy = (de.
KeyState
& (int)MODIFIERKEYS_FLAGS.MK_CONTROL) != 0