7 instantiations of ControlEventArgs
System.Windows.Forms (2)
System\Windows\Forms\Control.ControlCollection.cs (2)
122
Owner.OnControlAdded(new
ControlEventArgs
(value));
302
Owner.OnControlRemoved(new
ControlEventArgs
(value));
System.Windows.Forms.Tests (5)
System\Windows\Forms\ControlEventArgsTests.cs (1)
18
ControlEventArgs e =
new
(control);
System\Windows\Forms\ControlTests.Handlers.cs (2)
1012
yield return new object[] { new
ControlEventArgs
(null) };
1013
yield return new object[] { new
ControlEventArgs
(new Control()) };
System\Windows\Forms\ToolStripTests.cs (2)
5030
yield return new object[] { new
ControlEventArgs
(null) };
5031
yield return new object[] { new
ControlEventArgs
(new Control()) };
25 references to ControlEventArgs
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (2)
7234
protected virtual void OnControlAdded(
ControlEventArgs
e)
7243
protected virtual void OnControlRemoved(
ControlEventArgs
e)
System\Windows\Forms\ControlEventHandler.cs (1)
10
public delegate void ControlEventHandler(object? sender,
ControlEventArgs
e);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.SnappableControl.cs (1)
31
protected override void OnControlAdded(
ControlEventArgs
ce)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
446
protected override void OnControlAdded(
ControlEventArgs
e)
470
protected override void OnControlRemoved(
ControlEventArgs
e)
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\ControlDesigner.cs (2)
493
private void OnControlAdded(object? sender,
ControlEventArgs
e)
1025
private void OnControlRemoved(object? sender,
ControlEventArgs
e)
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
714
private void OnChildControlAdded(object sender,
ControlEventArgs
e)
System\Windows\Forms\Design\TabControlDesigner.cs (1)
387
private void OnControlAdded(object sender,
ControlEventArgs
e)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
1208
private void OnControlAdded(object sender,
ControlEventArgs
e)
1251
private void OnControlRemoved(object sender,
ControlEventArgs
e)
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (2)
364
private void OnControlAdded(object? sender,
ControlEventArgs
e)
389
private void OnControlRemoved(object? sender,
ControlEventArgs
e)
System.Windows.Forms.Tests (11)
System\Windows\Forms\ControlEventArgsTests.cs (1)
18
ControlEventArgs
e = new(control);
System\Windows\Forms\ControlTests.ControlCollection.cs (2)
495
void handler(object sender,
ControlEventArgs
e)
2807
void handler(object sender,
ControlEventArgs
e)
System\Windows\Forms\ControlTests.cs (2)
1256
public new void OnControlAdded(
ControlEventArgs
e) => base.OnControlAdded(e);
1258
public new void OnControlRemoved(
ControlEventArgs
e) => base.OnControlRemoved(e);
System\Windows\Forms\ControlTests.Handlers.cs (2)
1018
public void Control_OnControlAdded_Invoke_CallsControlAdded(
ControlEventArgs
eventArgs)
1042
public void Control_OnControlRemoved_Invoke_CallsControlRemoved(
ControlEventArgs
eventArgs)
System\Windows\Forms\ToolStripTests.cs (4)
5036
public void ToolStrip_OnControlAdded_Invoke_CallsControlAdded(
ControlEventArgs
eventArgs)
5060
public void ToolStrip_OnControlRemoved_Invoke_CallsControlRemoved(
ControlEventArgs
eventArgs)
7624
public new void OnControlAdded(
ControlEventArgs
e) => base.OnControlAdded(e);
7626
public new void OnControlRemoved(
ControlEventArgs
e) => base.OnControlRemoved(e);