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
- BoolLiteral.cs
- MobileControlPersister.cs
- OracleParameter.cs
- XmlSerializerVersionAttribute.cs
- BamlLocalizabilityResolver.cs
- MimeTypeMapper.cs
- RsaSecurityToken.cs
- SoapAttributeAttribute.cs
- OperandQuery.cs
- FontCollection.cs
- BookmarkTable.cs
- UIElement3D.cs
- EventProperty.cs
- HttpResponseHeader.cs
- ImplicitInputBrush.cs
- MapPathBasedVirtualPathProvider.cs
- ExtensionWindowResizeGrip.cs
- TransactionFlowBindingElement.cs
- SmtpAuthenticationManager.cs
- WebServiceResponseDesigner.cs
- PartialClassGenerationTask.cs
- TargetPerspective.cs
- IHttpResponseInternal.cs
- TextServicesCompartmentEventSink.cs
- RijndaelManagedTransform.cs
- TypeExtensions.cs
- MemoryFailPoint.cs
- DesigntimeLicenseContext.cs
- Crc32Helper.cs
- MetaModel.cs
- DrawItemEvent.cs
- _Win32.cs
- SafeTimerHandle.cs
- FormView.cs
- ReferenceEqualityComparer.cs
- AttributeAction.cs
- TypeResolvingOptionsAttribute.cs
- KnowledgeBase.cs
- MessageQueueTransaction.cs
- BatchParser.cs
- Pair.cs
- HttpModuleCollection.cs
- WebPartConnectionsDisconnectVerb.cs
- ConfigurationSectionCollection.cs
- FontNameEditor.cs
- PageFunction.cs
- PrimarySelectionGlyph.cs
- StaticResourceExtension.cs
- TabItemWrapperAutomationPeer.cs
- InheritablePropertyChangeInfo.cs
- AuthenticationSchemesHelper.cs
- Rijndael.cs
- ListControlConvertEventArgs.cs
- Metafile.cs
- HttpRawResponse.cs
- AndCondition.cs
- InvalidEnumArgumentException.cs
- DialogResultConverter.cs
- XhtmlConformanceSection.cs
- Timer.cs
- ListDesigner.cs
- WindowPattern.cs
- SqlError.cs
- SafeBitVector32.cs
- SqlTopReducer.cs
- StorageFunctionMapping.cs
- ProcessModuleCollection.cs
- UnlockInstanceCommand.cs
- WaitHandleCannotBeOpenedException.cs
- ImportedNamespaceContextItem.cs
- RuntimeIdentifierPropertyAttribute.cs
- HandleCollector.cs
- FontWeights.cs
- ExceptionUtil.cs
- _SSPIWrapper.cs
- UnsafeNativeMethods.cs
- CTreeGenerator.cs
- CoTaskMemSafeHandle.cs
- NativeCppClassAttribute.cs
- NamespaceQuery.cs
- RecoverInstanceLocksCommand.cs
- SQLBytes.cs
- Queue.cs
- CodeExpressionRuleDeclaration.cs
- StatusBar.cs
- AutomationElement.cs
- SchemaInfo.cs
- SyndicationFeed.cs
- GlobalId.cs
- PopupEventArgs.cs
- StatusBarItem.cs
- UnsafeNativeMethods.cs
- AuthenticationService.cs
- altserialization.cs
- Globals.cs
- ExpressionBindingCollection.cs
- MachineKeySection.cs
- TableCell.cs
- OutputCacheModule.cs
- QilScopedVisitor.cs