15 instantiations of ActiveDesignerEventArgs
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerEventService.cs (1)
71(_events?[s_eventActiveDesignerChanged] as ActiveDesignerEventHandler)?.Invoke(this, new ActiveDesignerEventArgs(oldDesigner, host));
System\ComponentModel\Design\DesignerHost.cs (1)
363OnActiveDesignerChanged(sender: null, new ActiveDesignerEventArgs(oldDesigner: null, this));
System.Windows.Forms.Design.Tests (10)
System\ComponentModel\Design\DesignerHostTests.cs (10)
2439yield return new object[] { new ActiveDesignerEventArgs(s_placeholderHost, s_placeholderHost), 0, 1, 1 }; 2440yield return new object[] { new ActiveDesignerEventArgs(s_placeholderHost, otherHost), 0, 1, 1 }; 2441yield return new object[] { new ActiveDesignerEventArgs(s_placeholderHost, null), 0, 1, 1 }; 2443yield return new object[] { new ActiveDesignerEventArgs(otherHost, s_placeholderHost), 1, 0, 0 }; 2444yield return new object[] { new ActiveDesignerEventArgs(otherHost, otherHost), 0, 0, 0 }; 2445yield return new object[] { new ActiveDesignerEventArgs(otherHost, null), 0, 0, 0 }; 2447yield return new object[] { new ActiveDesignerEventArgs(null, s_placeholderHost), 1, 0, 0 }; 2448yield return new object[] { new ActiveDesignerEventArgs(null, otherHost), 0, 0, 0 }; 2449yield return new object[] { new ActiveDesignerEventArgs(null, null), 0, 0, 0 }; 2505actualEventArgs = new ActiveDesignerEventArgs(oldDesigner, newDesigner);
System.Windows.Forms.Tests (3)
System\Windows\Forms\Design\EventsTabTests.cs (3)
111new ActiveDesignerEventArgs(null, nullMockDesignerHost.Object), 112new ActiveDesignerEventArgs(null, invalidMockDesignerHost.Object), 113new ActiveDesignerEventArgs(null, mockDesignerHost.Object)
13 references to ActiveDesignerEventArgs
netstandard (1)
netstandard.cs (1)
223[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.ActiveDesignerEventArgs))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
209[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.ActiveDesignerEventArgs))]
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\ActiveDesignerEventArgs.cs (1)
13/// Initializes a new instance of the <see cref='System.ComponentModel.Design.ActiveDesignerEventArgs'/>
System\ComponentModel\Design\ActiveDocumentEventHandler.cs (1)
10public delegate void ActiveDesignerEventHandler(object? sender, ActiveDesignerEventArgs e);
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
2339private void OnActiveDesignerChanged(object? sender, ActiveDesignerEventArgs e)
System\Windows\Forms\Design\EventsTab.cs (1)
30private void OnActiveDesignerChanged(object? sender, ActiveDesignerEventArgs e)
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerHost.cs (1)
520private void OnActiveDesignerChanged(object? sender, ActiveDesignerEventArgs? e)
System\ComponentModel\Design\DesignSurfaceManager.cs (1)
332private void OnActiveDesignerChanged(object? sender, ActiveDesignerEventArgs e)
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\DesignerHostTests.cs (2)
2454public void DesignerHost_ChangeActiveDesigner_Invoke_Success(ActiveDesignerEventArgs eventArgs, int expectedActivatedCallCount, int expectedDeactivatedCallCount, int expectedFlushCount) 2500ActiveDesignerEventArgs actualEventArgs = null;
System.Windows.Forms.Tests (3)
System\Windows\Forms\Design\EventsTabTests.cs (3)
109foreach (ActiveDesignerEventArgs e in new object[] 125public void EventsTab_GetDefaultProperty_IDesignerEventService_Success(object obj, ActiveDesignerEventArgs e, object expected) 168public void OnActiveDesignerChanged(ActiveDesignerEventArgs e)