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
- TcpClientChannel.cs
- FieldBuilder.cs
- RadioButtonList.cs
- UnionExpr.cs
- TableTextElementCollectionInternal.cs
- WindowInteractionStateTracker.cs
- FileStream.cs
- WorkingDirectoryEditor.cs
- HeaderedItemsControl.cs
- ContentElement.cs
- BinaryFormatterWriter.cs
- TextEditorSpelling.cs
- httpapplicationstate.cs
- StylusSystemGestureEventArgs.cs
- DBConcurrencyException.cs
- _ChunkParse.cs
- DiagnosticsConfiguration.cs
- SmtpReplyReaderFactory.cs
- DirectoryObjectSecurity.cs
- PartialTrustVisibleAssemblyCollection.cs
- MenuItemCollection.cs
- CustomMenuItemCollection.cs
- assemblycache.cs
- ActivityCollectionMarkupSerializer.cs
- FastEncoder.cs
- DesignerDeviceConfig.cs
- FastPropertyAccessor.cs
- DataKeyCollection.cs
- PerfProviderCollection.cs
- TemplateKeyConverter.cs
- TypeSemantics.cs
- RelationshipManager.cs
- TreeViewImageIndexConverter.cs
- TdsParserSessionPool.cs
- ModelVisual3D.cs
- Activity.cs
- Padding.cs
- XPathAncestorQuery.cs
- ExpressionReplacer.cs
- ForeignKeyConstraint.cs
- WindowExtensionMethods.cs
- XDeferredAxisSource.cs
- InstanceCompleteException.cs
- EventLogPermissionEntryCollection.cs
- Int16.cs
- TemplateNodeContextMenu.cs
- CodeSnippetExpression.cs
- SourceChangedEventArgs.cs
- UidManager.cs
- KeyboardNavigation.cs
- SqlDelegatedTransaction.cs
- InvokeProviderWrapper.cs
- PropertyDescriptorCollection.cs
- ArrayConverter.cs
- DocumentNUp.cs
- OutputCacheProfileCollection.cs
- streamingZipPartStream.cs
- Gdiplus.cs
- ProvideValueServiceProvider.cs
- DefaultTraceListener.cs
- EventEntry.cs
- CodeTypeParameterCollection.cs
- DataSourceCache.cs
- Context.cs
- WindowsGraphics.cs
- EditorPartCollection.cs
- ConfigXmlWhitespace.cs
- TextBoxAutoCompleteSourceConverter.cs
- List.cs
- InputMethodStateChangeEventArgs.cs
- SharedStatics.cs
- UnitySerializationHolder.cs
- DbConnectionInternal.cs
- TextEditorContextMenu.cs
- HttpRequestCacheValidator.cs
- EntityDesignPluralizationHandler.cs
- SafeNativeMethodsOther.cs
- ThemeDirectoryCompiler.cs
- NetworkInformationException.cs
- SelfIssuedAuthProofToken.cs
- oledbmetadatacollectionnames.cs
- securitycriticaldataClass.cs
- GridItemCollection.cs
- FontWeightConverter.cs
- _NetRes.cs
- DetailsViewActionList.cs
- WindowsStatusBar.cs
- TextRangeBase.cs
- _OSSOCK.cs
- StylusSystemGestureEventArgs.cs
- DoubleCollectionConverter.cs
- SecurityProtocolCorrelationState.cs
- DataGridViewSelectedRowCollection.cs
- SemaphoreFullException.cs
- EventHandlersStore.cs
- OleDbSchemaGuid.cs
- WriteLine.cs
- CompositeFontInfo.cs
- RequestBringIntoViewEventArgs.cs
- BaseContextMenu.cs