23 references to Component
System.Windows.Forms (7)
winforms\Managed\System\WinForms\AxHost.cs (1)
5687
Control c = e.
Component
as Control;
winforms\Managed\System\WinForms\PropertyGrid.cs (5)
2812
PropertyTabAttribute attribute = (PropertyTabAttribute) TypeDescriptor.GetAttributes(e.
Component
.GetType())[typeof(PropertyTabAttribute)];
2821
AddRefTab(attribute.TabClasses[i], e.
Component
, PropertyTabScope.Document, true);
2848
PropertyTabAttribute attribute = (PropertyTabAttribute) TypeDescriptor.GetAttributes(e.
Component
.GetType())[typeof(PropertyTabAttribute)];
2857
ReleaseTab(attribute.TabClasses[i], e.
Component
);
2862
if (e.
Component
== currentObjects[i]) {
winforms\Managed\System\WinForms\WebBrowserContainer.cs (1)
287
Control c = e.
Component
as Control;
System.Workflow.ComponentModel (16)
AuthoringOM\Design\CompositeActivityDesigner.cs (3)
1476
ActivityDesigner designer = ActivityDesigner.GetDesigner(e.
Component
as Activity);
1477
if (Activity != e.
Component
&& designer != null && designer.IsLocked)
1478
DesignerHelpers.MakePropertiesReadOnly(e.
Component
.Site, designer.Activity);
AuthoringOM\Design\CustomActivityDesigner.cs (7)
68
Activity rootActivity = eventArgs.
Component
as Activity;
89
if (designerHost.RootComponent == eventArgs.
Component
)
106
else if (eventArgs.
Component
is Activity)
108
if ((eventArgs.
Component
is CompositeActivity) && Helpers.IsCustomActivity(eventArgs.
Component
as CompositeActivity))
109
(eventArgs.
Component
as Activity).UserData[UserDataKeys.CustomActivity] = true;
111
(eventArgs.
Component
as Activity).UserData[UserDataKeys.CustomActivity] = false;
AuthoringOM\Design\ReferenceService.cs (6)
165
this.addedComponents.Add(cevent.
Component
);
167
this.removedComponents.Remove(cevent.
Component
);
169
this.changedComponents.Remove(cevent.
Component
);
177
this.removedComponents.Add(cevent.
Component
);
180
this.addedComponents.Remove(cevent.
Component
);
182
this.changedComponents.Remove(cevent.
Component
);