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
- ValidatorUtils.cs
- GrabHandleGlyph.cs
- SafeNativeMethods.cs
- DocumentEventArgs.cs
- SmiEventSink_DeferedProcessing.cs
- httpapplicationstate.cs
- BitConverter.cs
- XPathDocumentBuilder.cs
- SchemaCollectionPreprocessor.cs
- ButtonBaseAdapter.cs
- XsltSettings.cs
- CodeObject.cs
- ResourceDictionary.cs
- AutoCompleteStringCollection.cs
- ConfigurationSectionGroup.cs
- StorageAssociationTypeMapping.cs
- DesignOnlyAttribute.cs
- IpcChannelHelper.cs
- SystemIcmpV6Statistics.cs
- QuaternionAnimation.cs
- SystemInformation.cs
- Adorner.cs
- SimpleApplicationHost.cs
- RemoteWebConfigurationHostServer.cs
- CodeTypeReferenceCollection.cs
- DataGridCellEditEndingEventArgs.cs
- XmlAttributeAttribute.cs
- ToolStripContentPanelRenderEventArgs.cs
- StatusStrip.cs
- Button.cs
- DataPagerFieldItem.cs
- DataListItemEventArgs.cs
- PackageDigitalSignatureManager.cs
- StorageRoot.cs
- SingleQueryOperator.cs
- ResourceKey.cs
- RuleSetBrowserDialog.cs
- ProfileProvider.cs
- CodeDOMProvider.cs
- RangeBaseAutomationPeer.cs
- LinqDataSourceHelper.cs
- SessionStateItemCollection.cs
- OperationCanceledException.cs
- PropagatorResult.cs
- KeyValueConfigurationElement.cs
- validation.cs
- CryptographicAttribute.cs
- Task.cs
- LogFlushAsyncResult.cs
- NamedElement.cs
- UndirectedGraph.cs
- TextElementAutomationPeer.cs
- mda.cs
- BridgeDataReader.cs
- Attributes.cs
- PageTheme.cs
- ToolStripOverflowButton.cs
- MultipartContentParser.cs
- AuthStoreRoleProvider.cs
- NoPersistScope.cs
- OpenTypeLayoutCache.cs
- PersistChildrenAttribute.cs
- ValidationRuleCollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- EnumConverter.cs
- DataServiceRequestOfT.cs
- ColumnResizeUndoUnit.cs
- DataBinder.cs
- UserNameSecurityTokenAuthenticator.cs
- HttpClientCertificate.cs
- ControlAdapter.cs
- TemplateParser.cs
- Point3DCollection.cs
- ScalarConstant.cs
- OleDbPermission.cs
- XmlDataSourceNodeDescriptor.cs
- NumberFunctions.cs
- UrlMappingsModule.cs
- TextTreeObjectNode.cs
- RijndaelManagedTransform.cs
- ItemsControl.cs
- IteratorFilter.cs
- EndpointIdentityExtension.cs
- RuntimeHelpers.cs
- SafeThreadHandle.cs
- PersonalizableAttribute.cs
- XPathArrayIterator.cs
- DataServiceHostFactory.cs
- MessageEncoderFactory.cs
- LoginName.cs
- DataGridTextBoxColumn.cs
- Decorator.cs
- FontCacheUtil.cs
- RepeatButton.cs
- SwitchExpression.cs
- PrintEvent.cs
- ProfileModule.cs
- XMLDiffLoader.cs
- ExpressionHelper.cs
- RichTextBoxAutomationPeer.cs