Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentEvent.cs / 1305376 / ComponentEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ComponentEventArgs : EventArgs { private IComponent component; ///Provides data for the System.ComponentModel.Design.IComponentChangeService.ComponentEvent /// event raised for component-level events. ////// public virtual IComponent Component { get { return component; } } ////// Gets or sets the component associated with the event. /// ////// public ComponentEventArgs(IComponent component) { this.component = component; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Initializes a new instance of the System.ComponentModel.Design.ComponentEventArgs class. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ComponentEventArgs : EventArgs { private IComponent component; ///Provides data for the System.ComponentModel.Design.IComponentChangeService.ComponentEvent /// event raised for component-level events. ////// public virtual IComponent Component { get { return component; } } ////// Gets or sets the component associated with the event. /// ////// public ComponentEventArgs(IComponent component) { this.component = component; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Initializes a new instance of the System.ComponentModel.Design.ComponentEventArgs class. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RecognizedPhrase.cs
- XmlDomTextWriter.cs
- SqlDataSourceStatusEventArgs.cs
- ConfigurationElementCollection.cs
- Grant.cs
- UpdatePanelControlTrigger.cs
- CallbackValidatorAttribute.cs
- DescriptionAttribute.cs
- BinaryReader.cs
- PreservationFileReader.cs
- PrimaryKeyTypeConverter.cs
- CachedBitmap.cs
- WebResourceUtil.cs
- PackageDigitalSignature.cs
- ModuleConfigurationInfo.cs
- QueueProcessor.cs
- FixedFlowMap.cs
- ConstructorNeedsTagAttribute.cs
- ClientSettingsStore.cs
- InputProcessorProfilesLoader.cs
- RawStylusInputCustomDataList.cs
- SafeSystemMetrics.cs
- XmlLanguageConverter.cs
- ListManagerBindingsCollection.cs
- IDReferencePropertyAttribute.cs
- ConfigurationStrings.cs
- PackWebRequest.cs
- SevenBitStream.cs
- BevelBitmapEffect.cs
- Drawing.cs
- HtmlWindow.cs
- HtmlInputCheckBox.cs
- XmlUtilWriter.cs
- LogRestartAreaEnumerator.cs
- PrincipalPermission.cs
- Base64Encoder.cs
- InboundActivityHelper.cs
- DbMetaDataFactory.cs
- SqlExpander.cs
- AsyncDataRequest.cs
- XPathSelectionIterator.cs
- TypeResolver.cs
- ObjectDataSourceMethodEventArgs.cs
- Contracts.cs
- ExtendedProperty.cs
- EpmSourceTree.cs
- DictionaryKeyPropertyAttribute.cs
- WebReference.cs
- SerializationAttributes.cs
- wmiprovider.cs
- PromptStyle.cs
- TextServicesContext.cs
- CodeCompileUnit.cs
- DetailsViewDesigner.cs
- AQNBuilder.cs
- UriTemplateTrieLocation.cs
- TransformGroup.cs
- HWStack.cs
- Select.cs
- GlyphRunDrawing.cs
- ToolStripPanel.cs
- TextParagraphCache.cs
- XmlObjectSerializerReadContextComplexJson.cs
- Subtract.cs
- TabControlDesigner.cs
- WebPartDisplayModeCollection.cs
- DbProviderFactory.cs
- EntityContainerEmitter.cs
- UserPreferenceChangedEventArgs.cs
- XPathChildIterator.cs
- PropertyDescriptors.cs
- DbgUtil.cs
- XmlNodeReader.cs
- StreamAsIStream.cs
- ConfigXmlText.cs
- RadioButtonPopupAdapter.cs
- TextTreeUndo.cs
- Attribute.cs
- messageonlyhwndwrapper.cs
- AutoGeneratedFieldProperties.cs
- GenericPrincipal.cs
- ConfigErrorGlyph.cs
- PersistChildrenAttribute.cs
- OdbcHandle.cs
- ToolStripDropDownItem.cs
- XmlnsCache.cs
- QueryOpeningEnumerator.cs
- EmissiveMaterial.cs
- AssertSection.cs
- BinaryMethodMessage.cs
- RawAppCommandInputReport.cs
- PenLineJoinValidation.cs
- UIPropertyMetadata.cs
- Rotation3DAnimationBase.cs
- NativeActivity.cs
- PartialList.cs
- InProcStateClientManager.cs
- httpstaticobjectscollection.cs
- SqlWebEventProvider.cs
- MouseActionConverter.cs