Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PrintingPermissionAttribute.cs
- XmlSchemaChoice.cs
- DefaultValueTypeConverter.cs
- XhtmlConformanceSection.cs
- BufferedWebEventProvider.cs
- HttpProfileGroupBase.cs
- Panel.cs
- SafeViewOfFileHandle.cs
- TokenBasedSetEnumerator.cs
- PersonalizationProvider.cs
- DropTarget.cs
- WindowProviderWrapper.cs
- safex509handles.cs
- XsltArgumentList.cs
- HatchBrush.cs
- followingsibling.cs
- Transactions.cs
- DataGridViewTopLeftHeaderCell.cs
- mongolianshape.cs
- InputGestureCollection.cs
- HashHelper.cs
- updatecommandorderer.cs
- TableParagraph.cs
- ContentPlaceHolder.cs
- DependencyObject.cs
- ProfileSettingsCollection.cs
- SafeNativeMethodsCLR.cs
- ReservationCollection.cs
- ZipFileInfoCollection.cs
- DesignerUtils.cs
- GCHandleCookieTable.cs
- ComponentDispatcherThread.cs
- ProvideValueServiceProvider.cs
- _NetworkingPerfCounters.cs
- Hash.cs
- ClientTargetCollection.cs
- AesManaged.cs
- DataBinder.cs
- ProfileSettingsCollection.cs
- Version.cs
- CodeBinaryOperatorExpression.cs
- StaticSiteMapProvider.cs
- ArgumentException.cs
- Type.cs
- CodeGotoStatement.cs
- assemblycache.cs
- MetafileHeader.cs
- InternalsVisibleToAttribute.cs
- AdditionalEntityFunctions.cs
- EmptyElement.cs
- COM2TypeInfoProcessor.cs
- ValidationSummaryDesigner.cs
- WebControlParameterProxy.cs
- Glyph.cs
- ListBindableAttribute.cs
- PropertyToken.cs
- CapabilitiesPattern.cs
- MailAddressCollection.cs
- CodePageEncoding.cs
- FormsAuthenticationUser.cs
- GenericTextProperties.cs
- RuleSettings.cs
- PropertyCollection.cs
- Permission.cs
- KeyEvent.cs
- CheckBox.cs
- Panel.cs
- JoinElimination.cs
- BaseResourcesBuildProvider.cs
- SQLChars.cs
- VolatileResourceManager.cs
- BamlLocalizationDictionary.cs
- ProcessModelSection.cs
- WebPartsPersonalization.cs
- EdmItemError.cs
- MetadataUtilsSmi.cs
- CqlLexer.cs
- CompressionTracing.cs
- nulltextnavigator.cs
- DispatcherOperation.cs
- LogWriteRestartAreaAsyncResult.cs
- HtmlTableCell.cs
- TextDecorationCollection.cs
- PageWrapper.cs
- Viewport2DVisual3D.cs
- CodeStatement.cs
- DateTimeOffsetConverter.cs
- DefaultObjectMappingItemCollection.cs
- RegisteredExpandoAttribute.cs
- ThicknessConverter.cs
- PropertyRecord.cs
- Annotation.cs
- RSAPKCS1SignatureFormatter.cs
- RegistrationProxy.cs
- DataPagerFieldItem.cs
- RequestCachingSection.cs
- XmlMapping.cs
- SqlFunctionAttribute.cs
- Crypto.cs
- ResponseBodyWriter.cs