16 instantiations of GiveFeedbackEventArgs
System.Windows.Forms (1)
System\Windows\Forms\OLE\DropSource.cs (1)
27_lastGiveFeedbackEventArgs = new(DragDropEffects.None, useDefaultCursors: false, dragImage, cursorOffset, useDefaultDragImage);
System.Windows.Forms.Tests (15)
System\Windows\Forms\ControlTests.Handlers.cs (1)
2057yield return new object[] { new GiveFeedbackEventArgs(DragDropEffects.None, true) };
System\Windows\Forms\DragDropHelperTests.cs (3)
25yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, new Bitmap(1, 1), new Point(0, 0), false) }; 26yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, null, new Point(0, 0), false) }; 27yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, new Bitmap(1, 1), new Point(0, 0), true) };
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (5)
16GiveFeedbackEventArgs e = new(effect, useDefaultCursors); 25GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(1, 1), new Point(0, 0), false) 42GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(2, 2), new Point(0, 0), false) 60GiveFeedbackEventArgs e = new(DragDropEffects.None, false) 72GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(1, 1), new Point(0, 0), false)
System\Windows\Forms\RichTextBoxTests.cs (1)
10839GiveFeedbackEventArgs giveFeedbackEventArgs = new(DragDropEffects.None, useDefaultCursors: true);
System\Windows\Forms\ToolStripControlHostTests.cs (2)
3491yield return new object[] { new GiveFeedbackEventArgs(DragDropEffects.None, true) }; 4059c.OnGiveFeedback(new GiveFeedbackEventArgs(DragDropEffects.All, false));
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3860yield return new object[] { new GiveFeedbackEventArgs(DragDropEffects.None, true) };
System\Windows\Forms\ToolStripItemTests.cs (1)
11715yield return new object[] { new GiveFeedbackEventArgs(DragDropEffects.None, true) };
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (1)
97GiveFeedbackEventArgs giveFeedbackEventArgs = new(effect: DragDropEffects.None, useDefaultCursors: false);
48 references to GiveFeedbackEventArgs
System.Windows.Forms (17)
System\Windows\Forms\Control.cs (2)
7500protected virtual void OnGiveFeedback(GiveFeedbackEventArgs gfbevent) 12677void ISupportOleDropSource.OnGiveFeedback(GiveFeedbackEventArgs giveFeedbackEventArgs) => OnGiveFeedback(giveFeedbackEventArgs);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
502private void HandleGiveFeedback(object? sender, GiveFeedbackEventArgs e) => OnGiveFeedback(e);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
2662void ISupportOleDropSource.OnGiveFeedback(GiveFeedbackEventArgs giveFeedbackEventArgs) 2778protected virtual void OnGiveFeedback(GiveFeedbackEventArgs giveFeedbackEvent)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (1)
61public void OnGiveFeedback(GiveFeedbackEventArgs e)
System\Windows\Forms\GiveFeedbackEventArgs.cs (5)
14/// Initializes a new instance of the <see cref="GiveFeedbackEventArgs"/> class. 22/// Initializes a new instance of the <see cref="GiveFeedbackEventArgs"/> class. 74internal GiveFeedbackEventArgs Clone() 76return (GiveFeedbackEventArgs)MemberwiseClone(); 79internal bool Equals(GiveFeedbackEventArgs? giveFeedbackEventArgs)
System\Windows\Forms\GiveFeedbackEventHandler.cs (1)
10public delegate void GiveFeedbackEventHandler(object? sender, GiveFeedbackEventArgs e);
System\Windows\Forms\OLE\DragDropHelper.cs (1)
310public static void SetDragImage(IComDataObject dataObject, GiveFeedbackEventArgs e)
System\Windows\Forms\OLE\DropSource.cs (3)
18private GiveFeedbackEventArgs? _lastGiveFeedbackEventArgs; 60GiveFeedbackEventArgs gfbEvent = _lastGiveFeedbackEventArgs is null 84void UpdateDragImage(GiveFeedbackEventArgs e, IComDataObject? dataObject, HWND lastHwndTarget)
System\Windows\Forms\OLE\ISupportOleDropSource.cs (1)
9void OnGiveFeedback(GiveFeedbackEventArgs gfbevent);
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\Behavior\Behavior.cs (1)
337public virtual void OnGiveFeedback(Glyph? g, GiveFeedbackEventArgs e)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
258protected override void OnGiveFeedback(GiveFeedbackEventArgs e) => _behaviorService.OnGiveFeedback(e);
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
838private void OnGiveFeedback(GiveFeedbackEventArgs e)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
596internal void GiveFeedback(object sender, GiveFeedbackEventArgs e)
System\Windows\Forms\Design\ComponentTray.cs (1)
1055protected override void OnGiveFeedback(GiveFeedbackEventArgs gfevent)
System\Windows\Forms\Design\ControlDesigner.cs (2)
646private void OnGiveFeedback(object? s, GiveFeedbackEventArgs e) => OnGiveFeedback(e); 1291protected virtual void OnGiveFeedback(GiveFeedbackEventArgs e)
System\Windows\Forms\Design\ControlDesigner.TransparentBehavior.cs (1)
83public override void OnGiveFeedback(Glyph? g, GiveFeedbackEventArgs e)
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
1005public void DoOleGiveFeedback(GiveFeedbackEventArgs e)
System\Windows\Forms\Design\TabControlDesigner.cs (1)
588protected override void OnGiveFeedback(GiveFeedbackEventArgs e)
System\Windows\Forms\Design\TabPageDesigner.cs (1)
38internal void OnGiveFeedbackInternal(GiveFeedbackEventArgs e) => OnGiveFeedback(e);
System.Windows.Forms.Tests (18)
System\Windows\Forms\ControlTests.cs (1)
1288public new void OnGiveFeedback(GiveFeedbackEventArgs e) => base.OnGiveFeedback(e);
System\Windows\Forms\ControlTests.Handlers.cs (1)
2062public void Control_OnGiveFeedback_Invoke_CallsGiveFeedback(GiveFeedbackEventArgs eventArgs)
System\Windows\Forms\DragDropHelperTests.cs (2)
130public unsafe void SetDragImage_DataObject_GiveFeedbackEventArgs_ReturnsExpected(DataObject dataObject, GiveFeedbackEventArgs e) 170GiveFeedbackEventArgs e = null;
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (5)
16GiveFeedbackEventArgs e = new(effect, useDefaultCursors); 25GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(1, 1), new Point(0, 0), false) 42GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(2, 2), new Point(0, 0), false) 60GiveFeedbackEventArgs e = new(DragDropEffects.None, false) 72GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(1, 1), new Point(0, 0), false)
System\Windows\Forms\RichTextBoxTests.cs (2)
10839GiveFeedbackEventArgs giveFeedbackEventArgs = new(DragDropEffects.None, useDefaultCursors: true); 11010public new void OnGiveFeedback(GiveFeedbackEventArgs e) => base.OnGiveFeedback(e);
System\Windows\Forms\ToolStripControlHostTests.cs (2)
3496public void ToolStripControlHost_OnSubscribeControlEvents_InvokeGiveFeedback_Success(GiveFeedbackEventArgs eventArgs) 4584public new void OnGiveFeedback(GiveFeedbackEventArgs e) => base.OnGiveFeedback(e);
System\Windows\Forms\ToolStripDropDownTests.cs (2)
3865public void ToolStripDropDown_OnGiveFeedback_Invoke_CallsGiveFeedback(GiveFeedbackEventArgs eventArgs) 5194public new void OnGiveFeedback(GiveFeedbackEventArgs e) => base.OnGiveFeedback(e);
System\Windows\Forms\ToolStripItemTests.cs (2)
11720public void ToolStripItem_OnGiveFeedback_Invoke_CallsGiveFeedback(GiveFeedbackEventArgs eventArgs) 15576public new void OnGiveFeedback(GiveFeedbackEventArgs giveFeedbackEvent) => base.OnGiveFeedback(giveFeedbackEvent);
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (1)
97GiveFeedbackEventArgs giveFeedbackEventArgs = new(effect: DragDropEffects.None, useDefaultCursors: false);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
738private void ListDragSource_GiveFeedback(object? sender, GiveFeedbackEventArgs e)
WinFormsControlsTest (1)
DragDrop.cs (1)
187private void PictureBox_GiveFeedback(object? sender, GiveFeedbackEventArgs e)