Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentEvent.cs / 1 / 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
- HttpHandlerActionCollection.cs
- SafeFreeMibTable.cs
- ServiceManager.cs
- TemplateContent.cs
- SystemResourceHost.cs
- AccessText.cs
- JoinTreeSlot.cs
- Identity.cs
- BinaryFormatterWriter.cs
- SymmetricKeyWrap.cs
- XMLUtil.cs
- FormViewDesigner.cs
- ToolboxDataAttribute.cs
- SecurityTokenAuthenticator.cs
- IndentedWriter.cs
- ConstantSlot.cs
- NameService.cs
- CriticalHandle.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- PrintDialog.cs
- WebPartConnectionsCancelEventArgs.cs
- TemplateKey.cs
- DataError.cs
- RotationValidation.cs
- JsonGlobals.cs
- ToolStripSettings.cs
- ZipIOLocalFileBlock.cs
- Accessible.cs
- _AutoWebProxyScriptHelper.cs
- SerialErrors.cs
- EncodingTable.cs
- InternalsVisibleToAttribute.cs
- HttpConfigurationSystem.cs
- ApplicationSecurityInfo.cs
- OleDbStruct.cs
- TableProviderWrapper.cs
- SqlTriggerAttribute.cs
- HtmlTextArea.cs
- FreeIndexList.cs
- ShapeTypeface.cs
- TypeInfo.cs
- AsyncOperationContext.cs
- DrawingState.cs
- SettingsPropertyNotFoundException.cs
- MessageHeaderAttribute.cs
- SweepDirectionValidation.cs
- CopyOnWriteList.cs
- NextPreviousPagerField.cs
- CacheAxisQuery.cs
- Convert.cs
- RuntimeHandles.cs
- RemoteWebConfigurationHost.cs
- LinkTarget.cs
- SchemaSetCompiler.cs
- PopupEventArgs.cs
- xmlglyphRunInfo.cs
- SelectedDatesCollection.cs
- Point3D.cs
- PropertyValueChangedEvent.cs
- DataGridViewCellConverter.cs
- PathFigureCollectionConverter.cs
- PathData.cs
- WsdlInspector.cs
- URI.cs
- PKCS1MaskGenerationMethod.cs
- InternalRelationshipCollection.cs
- WebPartManagerInternals.cs
- SelectionEditor.cs
- CngProperty.cs
- HasActivatableWorkflowEvent.cs
- AssociationTypeEmitter.cs
- OleStrCAMarshaler.cs
- CaseInsensitiveHashCodeProvider.cs
- SmtpReplyReader.cs
- TypeRefElement.cs
- ValidationPropertyAttribute.cs
- MeasureData.cs
- MouseOverProperty.cs
- CharAnimationBase.cs
- Internal.cs
- DataGridViewButtonColumn.cs
- XslException.cs
- PrintEvent.cs
- ManagedWndProcTracker.cs
- OleCmdHelper.cs
- DataGridViewDesigner.cs
- ReachPageContentSerializerAsync.cs
- CommandDevice.cs
- CorePropertiesFilter.cs
- MetadataUtilsSmi.cs
- NullExtension.cs
- HttpGetProtocolImporter.cs
- InvalidCastException.cs
- NodeInfo.cs
- CLSCompliantAttribute.cs
- RemotingAttributes.cs
- TaskExceptionHolder.cs
- CultureInfo.cs
- regiisutil.cs
- WebEventCodes.cs