31 references to CancelEventHandler
netstandard (1)
netstandard.cs (1)
193[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.CancelEventHandler))]
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (1)
26internal event CancelEventHandler CountGoingToZero;
PresentationFramework (5)
Microsoft\Win32\FileDialog.cs (1)
399public event CancelEventHandler FileOk;
Microsoft\Win32\OpenFolderDialog.cs (1)
219public event CancelEventHandler FolderOk;
System\Windows\Window.cs (3)
1680public event CancelEventHandler Closing 2047CancelEventHandler handler = (CancelEventHandler)Events[EVENT_CLOSING];
System (1)
src\libraries\shims\System\ref\System.cs (1)
179[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.CancelEventHandler))]
System.Windows.Forms (18)
System\Windows\Forms\Control.cs (2)
4107public event CancelEventHandler? Validating 8026((CancelEventHandler?)Events[s_validatingEvent])?.Invoke(this, e);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
436public event CancelEventHandler? Validating
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (3)
531public event CancelEventHandler? Opening 847public new event CancelEventHandler? Validating 1150((CancelEventHandler?)Events[s_openingEvent])?.Invoke(this, e);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3073internal void RaiseCancelEvent(object key, CancelEventArgs e) => ((CancelEventHandler?)Events[key])?.Invoke(this, e);
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
362public new event CancelEventHandler? Validating
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1070public event CancelEventHandler? NewWindow;
System\Windows\Forms\DataBinding\Binding.cs (2)
446CancelEventHandler handler = new(Target_Validate); 461CancelEventHandler handler = new(Target_Validate);
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (3)
376public event CancelEventHandler FileOk 605CancelEventHandler? handler = (CancelEventHandler?)Events[EventFileOk];
System\Windows\Forms\Form.cs (4)
990public event CancelEventHandler? HelpButtonClicked 2560public event CancelEventHandler? Closing 3989((CancelEventHandler?)Events[s_closingEvent])?.Invoke(this, e); 4189((CancelEventHandler?)Events[s_helpButtonChangedEvent])?.Invoke(this, e);
System.Windows.Forms.Tests (5)
System\Windows\Forms\ControlTests.Handlers.cs (1)
5520CancelEventHandler handler = (sender, e) =>
System\Windows\Forms\FileDialogTests.cs (1)
565CancelEventHandler handler = (sender, e) =>
System\Windows\Forms\ToolStripControlHostTests.cs (1)
4175CancelEventHandler handler = (sender, e) =>
System\Windows\Forms\ToolStripDropDownTests.cs (1)
4831CancelEventHandler handler = (sender, e) =>
System\Windows\Forms\WebBrowserTests.cs (1)
3832CancelEventHandler handler = (sender, e) =>