Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DrawingContextDrawingContextWalker.cs
- XPathNode.cs
- GetResponse.cs
- InputReport.cs
- SettingsPropertyValue.cs
- OuterGlowBitmapEffect.cs
- ContextStaticAttribute.cs
- CounterCreationData.cs
- ChannelServices.cs
- SkinBuilder.cs
- HttpConfigurationSystem.cs
- GeneralTransformCollection.cs
- DurationConverter.cs
- ECDiffieHellmanPublicKey.cs
- ImplicitInputBrush.cs
- InputLanguageProfileNotifySink.cs
- EdmProviderManifest.cs
- DataGridTablesFactory.cs
- OSFeature.cs
- DataView.cs
- CalendarDay.cs
- FunctionNode.cs
- PropertyMetadata.cs
- ContourSegment.cs
- Int32Storage.cs
- ProfileProvider.cs
- GridView.cs
- ProcessManager.cs
- DateRangeEvent.cs
- EventMappingSettings.cs
- RNGCryptoServiceProvider.cs
- Object.cs
- ExpressionBindingsDialog.cs
- DocComment.cs
- Visual.cs
- XmlCountingReader.cs
- AssemblyCollection.cs
- WebPartEditorOkVerb.cs
- HwndSourceParameters.cs
- AutomationEventArgs.cs
- TextServicesDisplayAttribute.cs
- DataSysAttribute.cs
- State.cs
- RegexCode.cs
- WindowsGraphicsCacheManager.cs
- WindowsButton.cs
- CompositionTarget.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- HyperlinkAutomationPeer.cs
- XmlDocumentSurrogate.cs
- AddressHeaderCollection.cs
- Polyline.cs
- FactoryMaker.cs
- HtmlTextBoxAdapter.cs
- COM2ComponentEditor.cs
- InplaceBitmapMetadataWriter.cs
- WindowsListView.cs
- DataGridViewCellValueEventArgs.cs
- DataGridCaption.cs
- GacUtil.cs
- NavigationProgressEventArgs.cs
- SettingsAttributes.cs
- ExtendedPropertiesHandler.cs
- SectionInformation.cs
- WindowPatternIdentifiers.cs
- KeyValuePair.cs
- BinaryFormatterWriter.cs
- GACMembershipCondition.cs
- DataGridTableStyleMappingNameEditor.cs
- FigureParaClient.cs
- Win32PrintDialog.cs
- SelfIssuedAuthAsymmetricKey.cs
- MD5CryptoServiceProvider.cs
- ServiceOperation.cs
- SafeRegistryKey.cs
- GregorianCalendarHelper.cs
- WorkflowDesignerColors.cs
- TextElementCollectionHelper.cs
- ToolStripGripRenderEventArgs.cs
- DoubleCollection.cs
- VersionedStream.cs
- BulletedListEventArgs.cs
- WindowHideOrCloseTracker.cs
- DefaultSerializationProviderAttribute.cs
- ToolStripDropDownClosingEventArgs.cs
- Convert.cs
- JoinElimination.cs
- PrintControllerWithStatusDialog.cs
- NullableDoubleSumAggregationOperator.cs
- Activator.cs
- ContentElement.cs
- SqlCacheDependencySection.cs
- PersonalizationStateQuery.cs
- ListControlBuilder.cs
- DoubleAverageAggregationOperator.cs
- VisualStyleElement.cs
- RawKeyboardInputReport.cs
- FacetValueContainer.cs
- CheckBoxList.cs
- UrlAuthorizationModule.cs