2 implementations of OnEnterState
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
362
void IMsoComponent.Interface.
OnEnterState
(msocstate uStateID, BOOL fEnter)
System.Windows.Forms.Tests (1)
System\Windows\Forms\Application.ComponentManagerTests.cs (1)
353
void 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)
186
mock.Setup(m => m.
OnEnterState
(msocstate.Modal, true));
194
mock.Verify(m => m.
OnEnterState
(msocstate.Modal, true), Times.Never);
197
mock.Verify(m => m.
OnEnterState
(msocstate.Modal, true), Times.Once);
200
mock.Verify(m => m.
OnEnterState
(msocstate.Modal, true), Times.Exactly(2));
217
mock.Setup(m => m.
OnEnterState
(msocstate.Modal, false));
225
mock.Verify(m => m.
OnEnterState
(msocstate.Modal, false), Times.Never);
228
mock.Verify(m => m.
OnEnterState
(msocstate.Modal, false), Times.Once);
231
mock.Verify(m => m.
OnEnterState
(msocstate.Modal, false), Times.Exactly(2));
354
=> _mock.
OnEnterState
(uStateID, fEnter);