2 writes to _components
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (2)
275
_components
= null;
440
_components
= new Dictionary<int, UnsafeNativeMethods.IMsoComponent>();
31 references to _components
System.Windows.Forms (31)
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (31)
323
if (
_components
!= null) {
324
foreach (UnsafeNativeMethods.IMsoComponent c in
_components
.Values) {
331
if (
_components
!= null) {
332
foreach (UnsafeNativeMethods.IMsoComponent c in
_components
.Values) {
345
if (
_components
!= null) {
346
foreach (UnsafeNativeMethods.IMsoComponent c in
_components
.Values) {
355
if (
_components
!= null) {
356
foreach (UnsafeNativeMethods.IMsoComponent c in
_components
.Values) {
369
_components
.Clear();
374
if (
_components
!= null) {
375
foreach (UnsafeNativeMethods.IMsoComponent c in
_components
.Values) {
388
if (
_components
!= null &&
_components
.Values.Count>0) {
389
UnsafeNativeMethods.IMsoComponent[] components = new UnsafeNativeMethods.IMsoComponent[
_components
.Values.Count];
390
_components
.Values.CopyTo(components, 0);
439
if (
_components
== null) {
450
while (
_components
.ContainsKey(_nextComponentId)) {
461
_components
.Add(_nextComponentId, component);
470
if (
_components
== null || dwLocalComponentID <= 0 || !
_components
.ContainsKey(dwLocalComponentID)) {
481
_components
.Remove(dwLocalComponentID);
511
if (
_components
== null || dwLocalComponentID <= 0 || !
_components
.ContainsKey(dwLocalComponentID)) {
519
_activeComponent =
_components
[dwLocalComponentID];
532
if (
_components
== null || dwLocalComponentID <= 0 || !
_components
.ContainsKey(dwLocalComponentID)) {
541
_trackingComponent =
_components
[dwLocalComponentID];
555
if (
_components
!= null) {
556
foreach (UnsafeNativeMethods.IMsoComponent comp in
_components
.Values) {
568
if (
_components
!= null) {
569
foreach (UnsafeNativeMethods.IMsoComponent comp in
_components
.Values) {