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