2 writes to componentID
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Application.cs (2)
2552
componentID
= unchecked((int)(long)localComponentID);
3737
componentID
= INVALID_ID;
15 references to componentID
System.Windows.Forms (15)
winforms\Managed\System\WinForms\Application.cs (15)
2540
if (msocm != null &&
componentID
== INVALID_ID) {
2553
Debug.Assert(
componentID
!= INVALID_ID, "Our ID sentinel was returned as a valid ID");
2561
Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager.FRegisterComponent assigned a componentID == [0x" + Convert.ToString(
componentID
, 16) + "]");
2730
cm.OnComponentEnterState((IntPtr)
componentID
, NativeMethods.MSOCM.msocstateModal, NativeMethods.MSOCM.msoccontextAll, 0, 0, 0);
2942
cm.FOnComponentExitState((IntPtr)
componentID
, NativeMethods.MSOCM.msocstateModal, NativeMethods.MSOCM.msoccontextAll, 0, 0);
3019
cm.FOnComponentActivate((IntPtr)
componentID
);
3032
cm.FSetTrackingComponent((IntPtr)
componentID
, track);
3175
return (
componentID
!= INVALID_ID);
3422
Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "[0x" + Convert.ToString(
componentID
, 16) + "] Notifying component manager that we are entering a modal loop");
3451
Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "[0x" + Convert.ToString(
componentID
, 16) + "] Calling ComponentManager.FPushMessageLoop...");
3468
result = ComponentManager.FPushMessageLoop((IntPtr)
componentID
, reason, 0);
3478
Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "[0x" + Convert.ToString(
componentID
, 16) + "] ComponentManager.FPushMessageLoop returned " + result.ToString());
3483
Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "[0x" + Convert.ToString(
componentID
, 16) + "] Notifying component manager that we are exiting a modal loop");
3725
if (componentManager != null &&
componentID
!= INVALID_ID) {
3726
int id =
componentID
;