Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Events.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- ObjectDataSourceEventArgs.cs
- SiteMap.cs
- StreamWithDictionary.cs
- InputBinder.cs
- TextModifier.cs
- TreeNodeBindingCollection.cs
- TextComposition.cs
- ScrollBarRenderer.cs
- ImageField.cs
- SqlRowUpdatingEvent.cs
- ImpersonateTokenRef.cs
- _CommandStream.cs
- ErrorProvider.cs
- NominalTypeEliminator.cs
- Int32Converter.cs
- XmlLangPropertyAttribute.cs
- GenericEnumerator.cs
- DiscoveryClientOutputChannel.cs
- UserUseLicenseDictionaryLoader.cs
- FilterRepeater.cs
- ComplexType.cs
- MailDefinition.cs
- TableCell.cs
- HtmlEmptyTagControlBuilder.cs
- OdbcReferenceCollection.cs
- BitConverter.cs
- ApplicationId.cs
- PolicyStatement.cs
- LongValidator.cs
- StreamInfo.cs
- codemethodreferenceexpression.cs
- TextEditor.cs
- updatecommandorderer.cs
- WmiEventSink.cs
- DesignerSerializationVisibilityAttribute.cs
- HttpResponseHeader.cs
- FieldNameLookup.cs
- Parser.cs
- Int32Collection.cs
- LinkTarget.cs
- HttpApplicationStateWrapper.cs
- ObjectSecurity.cs
- ThousandthOfEmRealDoubles.cs
- DocumentSequenceHighlightLayer.cs
- TextTreePropertyUndoUnit.cs
- HTMLTagNameToTypeMapper.cs
- PropertyCollection.cs
- MSAAWinEventWrap.cs
- Journaling.cs
- BehaviorEditorPart.cs
- PackageDocument.cs
- MouseActionValueSerializer.cs
- PageCodeDomTreeGenerator.cs
- DbParameterCollectionHelper.cs
- ExtentCqlBlock.cs
- FactoryGenerator.cs
- HttpResponseBase.cs
- TransformedBitmap.cs
- WebPartExportVerb.cs
- XmlSchemaSet.cs
- BinaryFormatterWriter.cs
- CryptoApi.cs
- FamilyMapCollection.cs
- BitmapEffectInput.cs
- NonVisualControlAttribute.cs
- StrokeIntersection.cs
- CatalogZoneBase.cs
- DigitShape.cs
- NavigateUrlConverter.cs
- FileDialog.cs
- SymLanguageVendor.cs
- OrderingInfo.cs
- SchemaObjectWriter.cs
- CompositionCommandSet.cs
- PagedDataSource.cs
- DataBindingCollection.cs
- KerberosSecurityTokenAuthenticator.cs
- Soap12ServerProtocol.cs
- Hash.cs
- CodeFieldReferenceExpression.cs
- ServiceBuildProvider.cs
- ObjectDataProvider.cs
- ISCIIEncoding.cs
- WebInvokeAttribute.cs
- VectorCollectionConverter.cs
- LinkArea.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- ImportDesigner.xaml.cs
- CodeRemoveEventStatement.cs
- PenContexts.cs
- Point3DCollection.cs
- ConnectorDragDropGlyph.cs
- ReflectionHelper.cs
- Wildcard.cs
- SchemaCollectionCompiler.cs
- XmlQualifiedName.cs
- RowUpdatingEventArgs.cs
- ColorKeyFrameCollection.cs