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