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
- OverflowException.cs
- DetailsViewRow.cs
- BamlTreeUpdater.cs
- dbenumerator.cs
- DataGridPageChangedEventArgs.cs
- UxThemeWrapper.cs
- IndexObject.cs
- AuthenticationModulesSection.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ChangeTracker.cs
- BufferModesCollection.cs
- XmlSerializerFactory.cs
- TypeSource.cs
- RpcResponse.cs
- SQLInt16.cs
- ThicknessAnimation.cs
- GcHandle.cs
- TextLineResult.cs
- QuaternionConverter.cs
- TextFormatter.cs
- ObjectStateFormatter.cs
- CodeAttributeDeclarationCollection.cs
- CompilationUtil.cs
- ObjectIDGenerator.cs
- OciHandle.cs
- XmlElementList.cs
- CellPartitioner.cs
- WaitForChangedResult.cs
- OutputScopeManager.cs
- GlyphRunDrawing.cs
- RemoteWebConfigurationHostServer.cs
- ActivityDesignerLayoutSerializers.cs
- SystemThemeKey.cs
- Imaging.cs
- Label.cs
- DbDataReader.cs
- DataReaderContainer.cs
- InstancePersistenceEvent.cs
- EventBindingService.cs
- WmlValidatorAdapter.cs
- EventTask.cs
- OutputCacheModule.cs
- ReaderContextStackData.cs
- ActivityCollectionMarkupSerializer.cs
- CryptographicAttribute.cs
- WindowsSysHeader.cs
- ResXFileRef.cs
- SqlBulkCopyColumnMapping.cs
- ProcessingInstructionAction.cs
- ParagraphVisual.cs
- KeyedCollection.cs
- EFTableProvider.cs
- TextShapeableCharacters.cs
- DateTimePicker.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- Vector3DCollectionConverter.cs
- SingleObjectCollection.cs
- EpmTargetPathSegment.cs
- FormViewPagerRow.cs
- DynamicFilter.cs
- ReturnEventArgs.cs
- HtmlCommandAdapter.cs
- Buffer.cs
- CellLabel.cs
- FontStretchConverter.cs
- ApplicationBuildProvider.cs
- TimerEventSubscriptionCollection.cs
- WebFormsRootDesigner.cs
- QilPatternVisitor.cs
- AuthenticatingEventArgs.cs
- Identifier.cs
- StoreAnnotationsMap.cs
- SqlRecordBuffer.cs
- MemberRelationshipService.cs
- OneToOneMappingSerializer.cs
- SQLMoneyStorage.cs
- ThicknessAnimation.cs
- CheckBoxPopupAdapter.cs
- SubMenuStyleCollection.cs
- DataComponentNameHandler.cs
- Deflater.cs
- XmlWriterSettings.cs
- Form.cs
- CodeCatchClause.cs
- BamlTreeNode.cs
- ResourcePart.cs
- TempFiles.cs
- StatusBar.cs
- CompilerGeneratedAttribute.cs
- InstanceContext.cs
- BaseServiceProvider.cs
- InputLangChangeRequestEvent.cs
- XmlSerializableReader.cs
- ReturnType.cs
- KnownTypesHelper.cs
- SearchForVirtualItemEventArgs.cs
- TextElementEnumerator.cs
- QilNode.cs
- ResourcePermissionBaseEntry.cs
- XsdDuration.cs