Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- IisTraceListener.cs
- HttpHandlersSection.cs
- SafeViewOfFileHandle.cs
- UTF8Encoding.cs
- OdbcEnvironment.cs
- ValidationError.cs
- StateMachineSubscription.cs
- Freezable.cs
- MultiAsyncResult.cs
- TraceSource.cs
- DataListItemEventArgs.cs
- ValidationError.cs
- XmlSchemaProviderAttribute.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- XmlSchemaSearchPattern.cs
- ComplexPropertyEntry.cs
- SchemaNames.cs
- xmlglyphRunInfo.cs
- NavigationExpr.cs
- DataRelationCollection.cs
- DeviceContexts.cs
- RbTree.cs
- Ref.cs
- TreeNodeCollection.cs
- While.cs
- TextStore.cs
- ObjectPersistData.cs
- XmlBinaryReader.cs
- RenderCapability.cs
- ArgumentNullException.cs
- UserControlDocumentDesigner.cs
- WindowVisualStateTracker.cs
- IdleTimeoutMonitor.cs
- xsdvalidator.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- HostingEnvironment.cs
- EntityDataSourceDataSelection.cs
- QilNode.cs
- TextServicesContext.cs
- WebPartMenu.cs
- ServicePointManagerElement.cs
- NativeMethods.cs
- ZipIOLocalFileHeader.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- DataGridViewTopRowAccessibleObject.cs
- PropertyChangedEventArgs.cs
- ModelPerspective.cs
- SupportsEventValidationAttribute.cs
- CodeMemberEvent.cs
- Padding.cs
- GridItemPatternIdentifiers.cs
- WriteFileContext.cs
- Group.cs
- SectionInformation.cs
- ValueOfAction.cs
- WS2007FederationHttpBinding.cs
- ObjectDesignerDataSourceView.cs
- DataGridViewCellStateChangedEventArgs.cs
- PointLight.cs
- ProtocolsInstallComponent.cs
- WebPartHelpVerb.cs
- TemplateAction.cs
- ServiceParser.cs
- ParserContext.cs
- PrintDialogDesigner.cs
- _NestedMultipleAsyncResult.cs
- RelationshipType.cs
- ConfigurationManagerInternal.cs
- ResourceDefaultValueAttribute.cs
- WebBrowserProgressChangedEventHandler.cs
- PointConverter.cs
- QueryStringParameter.cs
- Attributes.cs
- Geometry.cs
- PageTheme.cs
- StackOverflowException.cs
- SecurityElement.cs
- ProfilePropertySettings.cs
- GraphicsPathIterator.cs
- PropagatorResult.cs
- SimpleWorkerRequest.cs
- WizardForm.cs
- ImpersonateTokenRef.cs
- MemberMaps.cs
- ProfileSettingsCollection.cs
- NameValuePair.cs
- NavigationPropertySingletonExpression.cs
- ComponentGlyph.cs
- SettingsPropertyValueCollection.cs
- UnsafeNativeMethodsMilCoreApi.cs
- FrameDimension.cs
- WebPartConnectionsConfigureVerb.cs
- GridViewSortEventArgs.cs
- MenuItemBinding.cs
- BitFlagsGenerator.cs
- SqlBulkCopyColumnMapping.cs
- SelectedDatesCollection.cs
- FloaterParagraph.cs
- DrawingContext.cs
- TypedTableBase.cs