2 implementations of OnEnterState
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
362void IMsoComponent.Interface.OnEnterState(msocstate uStateID, BOOL fEnter)
System.Windows.Forms.Tests (1)
System\Windows\Forms\Application.ComponentManagerTests.cs (1)
353void IMsoComponent.Interface.OnEnterState(msocstate uStateID, BOOL fEnter)
12 references to OnEnterState
System.Windows.Forms.Primitives (3)
Microsoft\Office\IMsoComponent.cs (3)
59=> UnwrapAndInvoke<IMsoComponent, Interface>(@this, o => o.OnEnterState(uStateID, fEnter)); 160/// <inheritdoc cref="Interface.OnEnterState(msocstate, BOOL)"/> 355/// <see cref="OnEnterState"/> with <see cref="msocstate.Modal" /> notification.
System.Windows.Forms.Tests (9)
System\Windows\Forms\Application.ComponentManagerTests.cs (9)
186mock.Setup(m => m.OnEnterState(msocstate.Modal, true)); 194mock.Verify(m => m.OnEnterState(msocstate.Modal, true), Times.Never); 197mock.Verify(m => m.OnEnterState(msocstate.Modal, true), Times.Once); 200mock.Verify(m => m.OnEnterState(msocstate.Modal, true), Times.Exactly(2)); 217mock.Setup(m => m.OnEnterState(msocstate.Modal, false)); 225mock.Verify(m => m.OnEnterState(msocstate.Modal, false), Times.Never); 228mock.Verify(m => m.OnEnterState(msocstate.Modal, false), Times.Once); 231mock.Verify(m => m.OnEnterState(msocstate.Modal, false), Times.Exactly(2)); 354=> _mock.OnEnterState(uStateID, fEnter);