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
- FormViewUpdatedEventArgs.cs
- COM2ExtendedTypeConverter.cs
- Point3D.cs
- EventEntry.cs
- StrongTypingException.cs
- ProcessManager.cs
- AsyncOperationManager.cs
- URL.cs
- COM2PictureConverter.cs
- MessagePartProtectionMode.cs
- MetadataArtifactLoaderCompositeResource.cs
- MultilineStringConverter.cs
- CFStream.cs
- XmlSchemaExporter.cs
- Behavior.cs
- SystemEvents.cs
- AsyncOperationManager.cs
- ParseNumbers.cs
- ParamArrayAttribute.cs
- PeerInputChannelListener.cs
- FontUnitConverter.cs
- TraceLevelStore.cs
- FileDetails.cs
- HttpHandlersSection.cs
- RuntimeHandles.cs
- __Filters.cs
- DoubleKeyFrameCollection.cs
- StringInfo.cs
- XsltContext.cs
- BrowsableAttribute.cs
- StorageTypeMapping.cs
- HopperCache.cs
- DateTimeFormat.cs
- DelegatingTypeDescriptionProvider.cs
- ProgressPage.cs
- SingleAnimation.cs
- MemberAccessException.cs
- LongValidator.cs
- SchemaTypeEmitter.cs
- ListViewItemSelectionChangedEvent.cs
- MouseActionConverter.cs
- GPPOINT.cs
- TrayIconDesigner.cs
- XmlBinaryReader.cs
- SqlConnectionStringBuilder.cs
- PathGradientBrush.cs
- DataSetMappper.cs
- ResolveNameEventArgs.cs
- LazyTextWriterCreator.cs
- DataStorage.cs
- TimerTable.cs
- EventData.cs
- EditingMode.cs
- MasterPage.cs
- AspNetHostingPermission.cs
- UserControlCodeDomTreeGenerator.cs
- ToolStripItemEventArgs.cs
- CodePageEncoding.cs
- shaperfactoryquerycacheentry.cs
- TypeSource.cs
- DesignerVerbCollection.cs
- WindowPattern.cs
- ListViewDataItem.cs
- MarkupCompiler.cs
- WebPartZone.cs
- DataGridViewSelectedRowCollection.cs
- IndentedWriter.cs
- SQLDecimal.cs
- Tag.cs
- LayoutEngine.cs
- FixUpCollection.cs
- base64Transforms.cs
- MappableObjectManager.cs
- SqlNodeTypeOperators.cs
- _CookieModule.cs
- cookie.cs
- FixedPosition.cs
- CodeAttributeDeclaration.cs
- ContextMenu.cs
- ValidationUtility.cs
- QuaternionRotation3D.cs
- OdbcConnectionPoolProviderInfo.cs
- LambdaValue.cs
- RelationshipFixer.cs
- HttpModuleCollection.cs
- ToolStripContentPanel.cs
- RenderTargetBitmap.cs
- SymLanguageVendor.cs
- FixedSOMPageConstructor.cs
- Label.cs
- BinHexEncoding.cs
- TextParentUndoUnit.cs
- MultiSelectRootGridEntry.cs
- TableSectionStyle.cs
- ServiceModelConfigurationSectionGroup.cs
- ZipIOModeEnforcingStream.cs
- CommunicationObject.cs
- PhysicalFontFamily.cs
- LinkedResource.cs
- Vector3D.cs