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
- UICuesEvent.cs
- EntitySqlQueryState.cs
- wmiprovider.cs
- KeyInstance.cs
- DataStreamFromComStream.cs
- CompilerCollection.cs
- mediaclock.cs
- ActivityWithResultValueSerializer.cs
- MappingSource.cs
- DefaultProxySection.cs
- CssClassPropertyAttribute.cs
- CodeTypeMemberCollection.cs
- DBNull.cs
- OleServicesContext.cs
- FtpCachePolicyElement.cs
- SqlComparer.cs
- PictureBox.cs
- TextBoxAutoCompleteSourceConverter.cs
- FormClosedEvent.cs
- TreeView.cs
- serverconfig.cs
- TransformGroup.cs
- DateTimeConstantAttribute.cs
- Buffer.cs
- VisualState.cs
- ConstraintEnumerator.cs
- NullableLongAverageAggregationOperator.cs
- StorageMappingFragment.cs
- TextTreePropertyUndoUnit.cs
- WindowsToolbar.cs
- PathData.cs
- CompilerTypeWithParams.cs
- ConnectionProviderAttribute.cs
- Certificate.cs
- ConstNode.cs
- CodeVariableReferenceExpression.cs
- documentation.cs
- XmlReflectionImporter.cs
- GridViewRowPresenterBase.cs
- EventProviderWriter.cs
- RSACryptoServiceProvider.cs
- XmlTypeAttribute.cs
- SortFieldComparer.cs
- AuthenticationModuleElement.cs
- LinkUtilities.cs
- ButtonPopupAdapter.cs
- _OverlappedAsyncResult.cs
- SiteMapNodeCollection.cs
- LeafCellTreeNode.cs
- MILUtilities.cs
- EntityConnection.cs
- Pair.cs
- SafeArrayRankMismatchException.cs
- ValidationError.cs
- CodeCompileUnit.cs
- ThreadInterruptedException.cs
- MaskedTextBoxTextEditorDropDown.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- XmlSerializationGeneratedCode.cs
- DefaultTextStoreTextComposition.cs
- OneToOneMappingSerializer.cs
- DecimalAnimationBase.cs
- DrawingVisualDrawingContext.cs
- CheckBoxBaseAdapter.cs
- Win32MouseDevice.cs
- WrappedIUnknown.cs
- XslAst.cs
- SelectionPattern.cs
- RelationshipEnd.cs
- PersistenceMetadataNamespace.cs
- LayoutDump.cs
- StructuralCache.cs
- ImageListStreamer.cs
- ParentUndoUnit.cs
- ResourceManagerWrapper.cs
- PlanCompiler.cs
- DataErrorValidationRule.cs
- AssemblyBuilder.cs
- cookiecontainer.cs
- SqlUDTStorage.cs
- HtmlTableRow.cs
- TraceHandler.cs
- CompositeDispatchFormatter.cs
- UserPreferenceChangedEventArgs.cs
- HybridWebProxyFinder.cs
- Tuple.cs
- ToolStripDesignerAvailabilityAttribute.cs
- _RequestCacheProtocol.cs
- FieldBuilder.cs
- DependencyObjectPropertyDescriptor.cs
- EpmAttributeNameBuilder.cs
- LinkUtilities.cs
- ValueUnavailableException.cs
- WinEventTracker.cs
- TypeUsageBuilder.cs
- ClassImporter.cs
- MetadataPropertyCollection.cs
- ScriptModule.cs
- SqlDataSourceStatusEventArgs.cs
- WizardForm.cs