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;
///
/// Provides data for the event.
///
[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;
///
///
/// Gets or sets the component that is being changed or that is the parent container of the member being changed.
///
///
public object Component {
get {
return component;
}
}
///
///
/// Gets or sets the member of the component that is about to be changed.
///
///
public MemberDescriptor Member {
get {
return member;
}
}
///
///
/// Initializes a new instance of the class.
///
///
public ComponentChangingEventArgs(object component, MemberDescriptor member) {
this.component = component;
this.member = member;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// 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;
///
/// Provides data for the event.
///
[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;
///
///
/// Gets or sets the component that is being changed or that is the parent container of the member being changed.
///
///
public object Component {
get {
return component;
}
}
///
///
/// Gets or sets the member of the component that is about to be changed.
///
///
public MemberDescriptor Member {
get {
return member;
}
}
///
///
/// Initializes a new instance of the class.
///
///
public ComponentChangingEventArgs(object component, MemberDescriptor member) {
this.component = component;
this.member = member;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FixedSchema.cs
- DbBuffer.cs
- DesignerSerializationVisibilityAttribute.cs
- PictureBox.cs
- DataRelationCollection.cs
- CalendarData.cs
- ConfigurationValue.cs
- XmlQueryCardinality.cs
- HandlerFactoryWrapper.cs
- InitializerFacet.cs
- DocumentDesigner.cs
- KeyConstraint.cs
- DeploymentSection.cs
- ClientScriptItemCollection.cs
- CodeTryCatchFinallyStatement.cs
- ConfigurationLockCollection.cs
- PropertyMapper.cs
- MappingMetadataHelper.cs
- View.cs
- ReturnType.cs
- ToolStripRenderEventArgs.cs
- ArrayTypeMismatchException.cs
- DelayedRegex.cs
- CommandHelper.cs
- SharedHttpTransportManager.cs
- WindowsIdentity.cs
- DataControlReferenceCollection.cs
- ProtocolsConfiguration.cs
- HtmlElementErrorEventArgs.cs
- TextTreeTextBlock.cs
- PageFunction.cs
- DiscreteKeyFrames.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- TrackingProfileDeserializationException.cs
- XmlResolver.cs
- ElementProxy.cs
- TreeNodeSelectionProcessor.cs
- BooleanConverter.cs
- CommandBinding.cs
- CodeIdentifier.cs
- MatrixKeyFrameCollection.cs
- QueryOutputWriterV1.cs
- MatrixValueSerializer.cs
- PeerCustomResolverBindingElement.cs
- Int16.cs
- SEHException.cs
- Thumb.cs
- SQLCharsStorage.cs
- WmlValidationSummaryAdapter.cs
- StrongNameKeyPair.cs
- ComplexTypeEmitter.cs
- InheritanceRules.cs
- MetafileHeader.cs
- DesignerCapabilities.cs
- DataServiceRequestOfT.cs
- PersistChildrenAttribute.cs
- SelectQueryOperator.cs
- PackageStore.cs
- OleDbWrapper.cs
- ImageFormat.cs
- PtsPage.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- HttpInputStream.cs
- PropertyItem.cs
- diagnosticsswitches.cs
- DefaultDialogButtons.cs
- ResponseBodyWriter.cs
- ReadOnlyCollection.cs
- CommandSet.cs
- VisualStyleInformation.cs
- FileFormatException.cs
- NameValueFileSectionHandler.cs
- ParentQuery.cs
- SiteMapNode.cs
- PasswordTextContainer.cs
- ImageDesigner.cs
- FaultDesigner.cs
- XmlNodeReader.cs
- DataControlLinkButton.cs
- DocumentPaginator.cs
- RSAOAEPKeyExchangeFormatter.cs
- ValidationRuleCollection.cs
- DataGridViewColumnHeaderCell.cs
- ConstructorNeedsTagAttribute.cs
- PointLight.cs
- Visual3D.cs
- StaticDataManager.cs
- fixedPageContentExtractor.cs
- GiveFeedbackEventArgs.cs
- UriParserTemplates.cs
- BigIntegerStorage.cs
- InputProcessorProfilesLoader.cs
- ParamArrayAttribute.cs
- DbConvert.cs
- ExpressionSelection.cs
- ReferencedAssemblyResolver.cs
- StoreAnnotationsMap.cs
- CompositeKey.cs
- CategoryAttribute.cs
- CodeSnippetExpression.cs