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
- UserControlBuildProvider.cs
- NativeMethods.cs
- EntityViewGenerator.cs
- CacheEntry.cs
- SecurityElement.cs
- Vector3DAnimation.cs
- ParserStreamGeometryContext.cs
- HttpSessionStateBase.cs
- GrammarBuilder.cs
- Int16KeyFrameCollection.cs
- OrderedDictionary.cs
- TraceContext.cs
- AsymmetricKeyExchangeDeformatter.cs
- PerformanceCounterLib.cs
- ObjectDataSourceSelectingEventArgs.cs
- AsyncOperationManager.cs
- RegexGroupCollection.cs
- RawStylusInput.cs
- WebPartsPersonalizationAuthorization.cs
- ContentFilePart.cs
- CustomError.cs
- FormsAuthenticationCredentials.cs
- BaseAutoFormat.cs
- DataGridRelationshipRow.cs
- CssTextWriter.cs
- BuildDependencySet.cs
- UnsettableComboBox.cs
- TerminatorSinks.cs
- ValidationHelpers.cs
- PlainXmlDeserializer.cs
- AutoFocusStyle.xaml.cs
- _ProxyRegBlob.cs
- StringBuilder.cs
- SafeEventLogReadHandle.cs
- AspProxy.cs
- NamespaceList.cs
- DataMemberConverter.cs
- TypeTypeConverter.cs
- CookieParameter.cs
- TypeNameHelper.cs
- RTLAwareMessageBox.cs
- SolidBrush.cs
- BindingMemberInfo.cs
- PageVisual.cs
- ProxyWebPart.cs
- GreenMethods.cs
- AstTree.cs
- DataTableNewRowEvent.cs
- TextInfo.cs
- GraphicsContainer.cs
- CompilerWrapper.cs
- XmlSchemaExporter.cs
- MemberDomainMap.cs
- FixedDocument.cs
- ParserHooks.cs
- WebResourceAttribute.cs
- HttpContext.cs
- DefaultValueTypeConverter.cs
- RequestCacheValidator.cs
- TextEditorSpelling.cs
- BridgeDataReader.cs
- Property.cs
- PhysicalOps.cs
- TagMapInfo.cs
- NameValueConfigurationCollection.cs
- XPathNodeHelper.cs
- GenericTextProperties.cs
- CheckBoxList.cs
- MatrixUtil.cs
- FormattedTextSymbols.cs
- LayoutEditorPart.cs
- IteratorFilter.cs
- WorkflowCommandExtensionItem.cs
- _NegotiateClient.cs
- MD5CryptoServiceProvider.cs
- SizeValueSerializer.cs
- TogglePattern.cs
- TreeViewImageGenerator.cs
- TableLayoutRowStyleCollection.cs
- AddInActivator.cs
- PropertySourceInfo.cs
- DataRecordInternal.cs
- webeventbuffer.cs
- GZipDecoder.cs
- DrawingImage.cs
- Quaternion.cs
- ListViewContainer.cs
- UnknownWrapper.cs
- DbConnectionHelper.cs
- SqlInternalConnection.cs
- HeaderLabel.cs
- UrlMappingCollection.cs
- BitmapFrame.cs
- RegionData.cs
- WebControlAdapter.cs
- SecurityUniqueId.cs
- ListItemConverter.cs
- XmlCodeExporter.cs
- QueryHandler.cs
- IChannel.cs