Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- RecordsAffectedEventArgs.cs
- ConfigUtil.cs
- PaintValueEventArgs.cs
- WebPartConnectionsEventArgs.cs
- DataDocumentXPathNavigator.cs
- TableCellCollection.cs
- OdbcConnectionString.cs
- DataRelationCollection.cs
- NodeLabelEditEvent.cs
- PageContentAsyncResult.cs
- BitConverter.cs
- DbDeleteCommandTree.cs
- ListBindingConverter.cs
- CollectionBase.cs
- WebHttpElement.cs
- ForEachAction.cs
- EdmProperty.cs
- BaseAutoFormat.cs
- WebPartEditorCancelVerb.cs
- PriorityRange.cs
- Visual3DCollection.cs
- ModelFactory.cs
- TypeGeneratedEventArgs.cs
- TemplateNameScope.cs
- HttpCacheParams.cs
- HttpBrowserCapabilitiesBase.cs
- EmptyStringExpandableObjectConverter.cs
- ExtensibleClassFactory.cs
- ITreeGenerator.cs
- CalendarDateRange.cs
- DataProtection.cs
- InvalidPropValue.cs
- DbConnectionClosed.cs
- DecimalConstantAttribute.cs
- CollectionContainer.cs
- RuntimeIdentifierPropertyAttribute.cs
- _DigestClient.cs
- XmlSerializationReader.cs
- FontSource.cs
- MenuItemBindingCollection.cs
- Point.cs
- Identity.cs
- WebPartDescription.cs
- EntityDataSourceView.cs
- Rect3DConverter.cs
- SByte.cs
- ButtonBaseDesigner.cs
- BaseInfoTable.cs
- FixedSOMPageConstructor.cs
- ScriptControlManager.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- DataGridViewColumnStateChangedEventArgs.cs
- BrowserDefinitionCollection.cs
- CommandLibraryHelper.cs
- ToolBarButton.cs
- XamlStyleSerializer.cs
- TransferRequestHandler.cs
- TableHeaderCell.cs
- StreamInfo.cs
- RectangleF.cs
- XmlSchemaExternal.cs
- Keyboard.cs
- ProfilePropertyMetadata.cs
- LinkClickEvent.cs
- RectangleHotSpot.cs
- PropertyGridView.cs
- NumericExpr.cs
- CompositionDesigner.cs
- XmlBinaryWriterSession.cs
- D3DImage.cs
- NameTable.cs
- TextChangedEventArgs.cs
- StringComparer.cs
- VisualStyleTypesAndProperties.cs
- SingleConverter.cs
- DocumentPageTextView.cs
- FontResourceCache.cs
- SecurityContext.cs
- WebPartHeaderCloseVerb.cs
- RuleValidation.cs
- GeometryCollection.cs
- MappedMetaModel.cs
- BulletedList.cs
- PTConverter.cs
- HttpRuntimeSection.cs
- DataColumnCollection.cs
- CaseDesigner.xaml.cs
- OracleCommandSet.cs
- TransactionalPackage.cs
- CryptoApi.cs
- NamespaceDecl.cs
- SmtpNtlmAuthenticationModule.cs
- StrokeIntersection.cs
- DefinitionUpdate.cs
- ResourceDisplayNameAttribute.cs
- Scanner.cs
- wgx_exports.cs
- RtfNavigator.cs
- ColumnTypeConverter.cs
- SqlBinder.cs