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
- WsdlInspector.cs
- ChannelManagerService.cs
- ContractMapping.cs
- ServiceSecurityAuditBehavior.cs
- HttpServerUtilityBase.cs
- SqlInternalConnection.cs
- RequestReplyCorrelator.cs
- FacetEnabledSchemaElement.cs
- ExtendedPropertyInfo.cs
- AuthenticationException.cs
- COSERVERINFO.cs
- Matrix3D.cs
- RoutedEvent.cs
- parserscommon.cs
- PagesSection.cs
- HttpTransportElement.cs
- SQLConvert.cs
- keycontainerpermission.cs
- PassportAuthenticationEventArgs.cs
- XhtmlBasicPhoneCallAdapter.cs
- DetailsViewUpdateEventArgs.cs
- TableRow.cs
- ExecutedRoutedEventArgs.cs
- DebugControllerThread.cs
- PartDesigner.cs
- EntityContainerEntitySet.cs
- PenThread.cs
- SecurityTokenResolver.cs
- CompensationParticipant.cs
- QueryAsyncResult.cs
- XmlLanguage.cs
- HttpFileCollection.cs
- CodeDOMUtility.cs
- TypeDescriptor.cs
- UIElementCollection.cs
- PKCS1MaskGenerationMethod.cs
- XamlVector3DCollectionSerializer.cs
- WsatServiceCertificate.cs
- VirtualPath.cs
- DemultiplexingDispatchMessageFormatter.cs
- UInt16Converter.cs
- DropShadowBitmapEffect.cs
- UpdateException.cs
- WindowsButton.cs
- MdiWindowListItemConverter.cs
- Timeline.cs
- LingerOption.cs
- ConditionalExpression.cs
- IssuedTokenClientBehaviorsElement.cs
- TabPanel.cs
- ColorMatrix.cs
- RetrieveVirtualItemEventArgs.cs
- ListViewCommandEventArgs.cs
- ToolStripSettings.cs
- PrivilegeNotHeldException.cs
- CopyOfAction.cs
- TypeKeyValue.cs
- _ConnectionGroup.cs
- Console.cs
- PreviousTrackingServiceAttribute.cs
- SafeHandles.cs
- ChannelPoolSettings.cs
- InkCanvasSelection.cs
- InternalResources.cs
- SqlBuilder.cs
- ReadOnlyNameValueCollection.cs
- ApplicationException.cs
- SingleStorage.cs
- HostingEnvironmentException.cs
- AudioFormatConverter.cs
- UncommonField.cs
- InstancePersistence.cs
- DateTimeConstantAttribute.cs
- HttpWriter.cs
- EventLogger.cs
- DataControlImageButton.cs
- AssemblySettingAttributes.cs
- TemplateAction.cs
- CodeSubDirectory.cs
- SchemaCollectionCompiler.cs
- Button.cs
- EventItfInfo.cs
- CodeDirectoryCompiler.cs
- LinkButton.cs
- X509Certificate.cs
- SafeRightsManagementQueryHandle.cs
- HMAC.cs
- ObjectStateManager.cs
- WinEventQueueItem.cs
- CompilerGeneratedAttribute.cs
- ImageDrawing.cs
- KeyFrames.cs
- HtmlButton.cs
- AdapterUtil.cs
- ExpandSegmentCollection.cs
- GACIdentityPermission.cs
- CqlBlock.cs
- Set.cs
- UIElementParagraph.cs
- XmlReflectionImporter.cs