Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentChangingEvent.cs / 1305376 / ComponentChangingEvent.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.LinkDemand, Name="FullTrust")] public sealed class ComponentChangingEventArgs : EventArgs { private object component; private MemberDescriptor member; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is being changed or that is the parent container of the member being changed. /// ////// public MemberDescriptor Member { get { return member; } } ////// Gets or sets the member of the component that is about to be changed. /// ////// public ComponentChangingEventArgs(object component, MemberDescriptor member) { this.component = component; this.member = member; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Initializes a new instance of the ///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.LinkDemand, Name="FullTrust")] public sealed class ComponentChangingEventArgs : EventArgs { private object component; private MemberDescriptor member; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is being changed or that is the parent container of the member being changed. /// ////// public MemberDescriptor Member { get { return member; } } ////// Gets or sets the member of the component that is about to be changed. /// ////// public ComponentChangingEventArgs(object component, MemberDescriptor member) { this.component = component; this.member = member; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Initializes a new instance of the ///class. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridViewRowEventArgs.cs
- MailAddress.cs
- HtmlLinkAdapter.cs
- ControlPropertyNameConverter.cs
- TypeGeneratedEventArgs.cs
- RequestQueue.cs
- SHA1CryptoServiceProvider.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- BinHexEncoder.cs
- ToolboxItemCollection.cs
- IConvertible.cs
- FileDialog_Vista_Interop.cs
- ProcessRequestAsyncResult.cs
- PropagationProtocolsTracing.cs
- AnnotationResourceCollection.cs
- sitestring.cs
- XmlILAnnotation.cs
- ListItemCollection.cs
- ResolveMatchesCD1.cs
- SByte.cs
- Figure.cs
- FlowPosition.cs
- SimpleHandlerFactory.cs
- DrawingGroupDrawingContext.cs
- AtlasWeb.Designer.cs
- MetadataHelper.cs
- RecordBuilder.cs
- Utils.cs
- MarginCollapsingState.cs
- RegistryPermission.cs
- CodeTypeDeclarationCollection.cs
- SetIndexBinder.cs
- FilterElement.cs
- MessageFilterException.cs
- FastEncoderWindow.cs
- ToolStripManager.cs
- ComboBoxRenderer.cs
- DataGridState.cs
- RepeaterItemEventArgs.cs
- AttributeEmitter.cs
- FixedPageProcessor.cs
- DecimalStorage.cs
- StrongNamePublicKeyBlob.cs
- DataSourceGroupCollection.cs
- DbParameterHelper.cs
- DeclarativeCatalogPart.cs
- CompositionDesigner.cs
- SelectionRange.cs
- FileVersion.cs
- SQLGuidStorage.cs
- SettingsProviderCollection.cs
- ValidationHelper.cs
- CodeLabeledStatement.cs
- XmlStringTable.cs
- ToolboxComponentsCreatingEventArgs.cs
- Configuration.cs
- PackageRelationshipCollection.cs
- EntityRecordInfo.cs
- XmlWrappingReader.cs
- documentsequencetextview.cs
- GridEntry.cs
- XmlAnyElementAttributes.cs
- FileSystemEventArgs.cs
- AnnotationDocumentPaginator.cs
- DSASignatureDeformatter.cs
- XmlSchemaElement.cs
- EmbeddedMailObjectsCollection.cs
- ValueUnavailableException.cs
- XmlLoader.cs
- XmlUtil.cs
- AssemblyCacheEntry.cs
- ContextMenuStrip.cs
- BamlLocalizableResourceKey.cs
- WinEventTracker.cs
- RefreshPropertiesAttribute.cs
- XmlObjectSerializerReadContext.cs
- ThreadInterruptedException.cs
- ConnectionConsumerAttribute.cs
- Gdiplus.cs
- PipeStream.cs
- ComboBox.cs
- QuaternionConverter.cs
- WindowsFormsHost.cs
- WindowClosedEventArgs.cs
- CustomErrorsSectionWrapper.cs
- GenericParameterDataContract.cs
- CqlLexerHelpers.cs
- EntityContainer.cs
- SystemDiagnosticsSection.cs
- Freezable.cs
- ConfigurationManager.cs
- PersonalizationProviderCollection.cs
- XhtmlConformanceSection.cs
- EntityKeyElement.cs
- AutomationPatternInfo.cs
- XmlUrlResolver.cs
- TableRowCollection.cs
- SchemaComplexType.cs
- OleDbInfoMessageEvent.cs
- HeaderLabel.cs