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 / ComponentChangingEvent.cs / 1 / 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
- BlockUIContainer.cs
- TextCollapsingProperties.cs
- ECDsaCng.cs
- MulticastIPAddressInformationCollection.cs
- ErrorWrapper.cs
- RedistVersionInfo.cs
- ResourceLoader.cs
- HttpListenerRequest.cs
- DataControlFieldHeaderCell.cs
- EasingQuaternionKeyFrame.cs
- FrameworkObject.cs
- ElementHostPropertyMap.cs
- RoutedEventArgs.cs
- NonBatchDirectoryCompiler.cs
- DirectionalLight.cs
- InkCanvasFeedbackAdorner.cs
- DbCommandTree.cs
- BulletedListEventArgs.cs
- MetadataExporter.cs
- EpmCustomContentWriterNodeData.cs
- DeclarationUpdate.cs
- InteropAutomationProvider.cs
- QueryContinueDragEvent.cs
- cookiecontainer.cs
- VisualBasicExpressionConverter.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- DesignerVerb.cs
- CorrelationRequestContext.cs
- ExternalException.cs
- Mouse.cs
- CommandLibraryHelper.cs
- DateTimeValueSerializer.cs
- ActivityLocationReferenceEnvironment.cs
- XmlSchemaSimpleContentExtension.cs
- TagMapInfo.cs
- PerformanceCounterPermissionEntryCollection.cs
- DrawingGroup.cs
- PartialCachingAttribute.cs
- UniqueEventHelper.cs
- odbcmetadatacollectionnames.cs
- XmlCustomFormatter.cs
- PermissionSet.cs
- LostFocusEventManager.cs
- SimpleLine.cs
- IPPacketInformation.cs
- UriScheme.cs
- MessagePropertyDescription.cs
- TextRangeEditLists.cs
- EmptyControlCollection.cs
- AdPostCacheSubstitution.cs
- ConfigurationSectionGroup.cs
- TraceContextEventArgs.cs
- ApplicationDirectory.cs
- ContractSearchPattern.cs
- XPathBinder.cs
- BitmapFrameEncode.cs
- FixedSOMPageConstructor.cs
- CommonProperties.cs
- GradientBrush.cs
- ContentFileHelper.cs
- ReadOnlyDictionary.cs
- DocumentGridPage.cs
- ParameterCollection.cs
- SiteOfOriginContainer.cs
- HeaderCollection.cs
- WebSysDefaultValueAttribute.cs
- TranslateTransform3D.cs
- SafeNativeMethods.cs
- ConnectionsZone.cs
- ColorBlend.cs
- AddInIpcChannel.cs
- UnicastIPAddressInformationCollection.cs
- PathGeometry.cs
- BinHexEncoder.cs
- Primitive.cs
- TemplatePartAttribute.cs
- AttributeXamlType.cs
- ExpressionBindingCollection.cs
- CompoundFileReference.cs
- InkPresenter.cs
- MexHttpsBindingElement.cs
- ControlIdConverter.cs
- DirectoryObjectSecurity.cs
- DBDataPermission.cs
- LoginName.cs
- LeaseManager.cs
- ReflectionTypeLoadException.cs
- TdsParserHelperClasses.cs
- MappingModelBuildProvider.cs
- EntityStoreSchemaFilterEntry.cs
- SessionViewState.cs
- commandenforcer.cs
- FloaterParagraph.cs
- ZipIOFileItemStream.cs
- PeerCollaboration.cs
- ReadOnlyPermissionSet.cs
- TypefaceCollection.cs
- DiscoveryUtility.cs
- CodeAccessSecurityEngine.cs
- SiteMapDataSourceView.cs