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