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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GeneralTransform.cs
- ActiveDocumentEvent.cs
- FilteredReadOnlyMetadataCollection.cs
- DataServiceConfiguration.cs
- RelationshipEndMember.cs
- PathFigureCollectionValueSerializer.cs
- SemaphoreFullException.cs
- OpenTypeLayoutCache.cs
- ParamArrayAttribute.cs
- ConfigurationValidatorAttribute.cs
- PreDigestedSignedInfo.cs
- WebEventTraceProvider.cs
- RequestQueryParser.cs
- HtmlInputReset.cs
- BuildResultCache.cs
- CreateUserWizard.cs
- CFStream.cs
- TemplateLookupAction.cs
- ButtonChrome.cs
- StylusPointProperty.cs
- DebugTrace.cs
- StylusPointCollection.cs
- UIElementAutomationPeer.cs
- NetworkInterface.cs
- OutputScope.cs
- HttpVersion.cs
- StrokeDescriptor.cs
- TextDecoration.cs
- ConnectionStringsExpressionBuilder.cs
- XmlException.cs
- RootBrowserWindowProxy.cs
- EditCommandColumn.cs
- ColorBlend.cs
- NullRuntimeConfig.cs
- ExpressionQuoter.cs
- TimeSpanParse.cs
- QueryCorrelationInitializer.cs
- DataGridViewCellValidatingEventArgs.cs
- SettingsProperty.cs
- WindowInteropHelper.cs
- TableStyle.cs
- ToolStripItemRenderEventArgs.cs
- Peer.cs
- sortedlist.cs
- XmlEnumAttribute.cs
- TemplateBuilder.cs
- GroupBoxAutomationPeer.cs
- ModuleConfigurationInfo.cs
- AssemblyHash.cs
- SeverityFilter.cs
- SmtpNetworkElement.cs
- UnregisterInfo.cs
- complextypematerializer.cs
- CustomAttributeSerializer.cs
- GuidTagList.cs
- ModelTreeEnumerator.cs
- DrawingImage.cs
- ServiceProviders.cs
- RawKeyboardInputReport.cs
- ByteStack.cs
- FastPropertyAccessor.cs
- ContainerCodeDomSerializer.cs
- MostlySingletonList.cs
- StaticFileHandler.cs
- SystemSounds.cs
- EnterpriseServicesHelper.cs
- GridViewCellAutomationPeer.cs
- TextPenaltyModule.cs
- Viewport3DVisual.cs
- TableLayoutPanel.cs
- XmlNavigatorStack.cs
- FreeFormPanel.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- Matrix3DStack.cs
- ProgressBar.cs
- SetState.cs
- Exceptions.cs
- CodeDirectiveCollection.cs
- COM2ExtendedTypeConverter.cs
- EventlogProvider.cs
- VirtualPath.cs
- RegularExpressionValidator.cs
- PopupEventArgs.cs
- GridViewRowEventArgs.cs
- RangeValueProviderWrapper.cs
- PersonalizationProvider.cs
- ListViewInsertEventArgs.cs
- TimelineCollection.cs
- JsonDeserializer.cs
- ParserExtension.cs
- ISessionStateStore.cs
- LogicalExpressionEditor.cs
- MouseWheelEventArgs.cs
- PerfCounters.cs
- DefinitionBase.cs
- ControlOperationInvoker.cs
- Parser.cs
- DbParameterCollectionHelper.cs
- XmlSchemaObjectCollection.cs
- NativeMethods.cs