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
- AssociationSetMetadata.cs
- TreePrinter.cs
- SchemaElementDecl.cs
- BitmapEffectInput.cs
- DataGridItem.cs
- SQLRoleProvider.cs
- InstanceDescriptor.cs
- PageThemeParser.cs
- odbcmetadatacolumnnames.cs
- SqlXml.cs
- Vector.cs
- PenCursorManager.cs
- MenuCommandsChangedEventArgs.cs
- ModelFunction.cs
- PointAnimation.cs
- TypeGeneratedEventArgs.cs
- TransactionCache.cs
- CqlParserHelpers.cs
- HttpListenerResponse.cs
- FunctionParameter.cs
- EventLogEntryCollection.cs
- EntityParameterCollection.cs
- PolyQuadraticBezierSegment.cs
- WindowsFormsSynchronizationContext.cs
- StringConverter.cs
- ReaderContextStackData.cs
- MessageQueuePermissionEntryCollection.cs
- IgnoreSectionHandler.cs
- TypefaceMetricsCache.cs
- EntityDataSourceViewSchema.cs
- AddInActivator.cs
- SettingsPropertyCollection.cs
- SafeArrayRankMismatchException.cs
- SafeRightsManagementPubHandle.cs
- OperatorExpressions.cs
- XmlUtf8RawTextWriter.cs
- DataGridColumnHeadersPresenter.cs
- SchemaComplexType.cs
- NavigationExpr.cs
- XmlEncoding.cs
- WebServiceAttribute.cs
- DbConnectionStringBuilder.cs
- OdbcConnectionOpen.cs
- InputGestureCollection.cs
- Walker.cs
- HttpListenerResponse.cs
- StylusButton.cs
- StreamGeometryContext.cs
- ExpressionPrefixAttribute.cs
- QueueException.cs
- HeaderedItemsControl.cs
- ChildTable.cs
- CaseCqlBlock.cs
- ConnectionConsumerAttribute.cs
- CultureInfo.cs
- QueryStringConverter.cs
- AssociationType.cs
- PackagePartCollection.cs
- AutomationPatternInfo.cs
- ListViewItemMouseHoverEvent.cs
- ExpressionVisitor.cs
- QuaternionKeyFrameCollection.cs
- HandleRef.cs
- XmlNavigatorFilter.cs
- ObservableCollectionDefaultValueFactory.cs
- SpecialFolderEnumConverter.cs
- XmlSchemaSimpleContentRestriction.cs
- WindowsImpersonationContext.cs
- CompilerParameters.cs
- Debug.cs
- EncodingNLS.cs
- TemplateParser.cs
- PrintDocument.cs
- ResourceReferenceKeyNotFoundException.cs
- OrderedDictionaryStateHelper.cs
- ConstraintStruct.cs
- AutomationIdentifierGuids.cs
- DeploymentSection.cs
- QueueProcessor.cs
- HttpException.cs
- CustomExpressionEventArgs.cs
- SkipQueryOptionExpression.cs
- JpegBitmapEncoder.cs
- DiffuseMaterial.cs
- XDeferredAxisSource.cs
- CheckBoxBaseAdapter.cs
- SafeRegistryHandle.cs
- PipeStream.cs
- OdbcEnvironmentHandle.cs
- RightsManagementErrorHandler.cs
- ImportDesigner.xaml.cs
- ToolStrip.cs
- followingsibling.cs
- XamlInt32CollectionSerializer.cs
- Operand.cs
- TimerElapsedEvenArgs.cs
- EventManager.cs
- _AutoWebProxyScriptWrapper.cs
- CustomDictionarySources.cs
- RandomNumberGenerator.cs