Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DesignerProperties.cs
- MailSettingsSection.cs
- BinaryFormatterSinks.cs
- ResourcesGenerator.cs
- SqlConnectionFactory.cs
- BatchParser.cs
- HtmlHistory.cs
- OdbcStatementHandle.cs
- xsdvalidator.cs
- WindowsGraphicsCacheManager.cs
- ValidationErrorEventArgs.cs
- WbemProvider.cs
- DbConnectionInternal.cs
- TrimSurroundingWhitespaceAttribute.cs
- Scene3D.cs
- SecurityProtocol.cs
- XamlBrushSerializer.cs
- TextTreeNode.cs
- XComponentModel.cs
- XPathMultyIterator.cs
- FontWeight.cs
- ReversePositionQuery.cs
- DoubleUtil.cs
- ExpressionTextBox.xaml.cs
- EditorBrowsableAttribute.cs
- TakeQueryOptionExpression.cs
- LinqDataSourceStatusEventArgs.cs
- ManifestResourceInfo.cs
- ProcessHostFactoryHelper.cs
- TypeGeneratedEventArgs.cs
- ArrangedElement.cs
- WebPartTransformerCollection.cs
- NativeMethodsOther.cs
- WriteLineDesigner.xaml.cs
- DataSourceConverter.cs
- FloatUtil.cs
- DeclarativeCatalogPartDesigner.cs
- CodeDomSerializerBase.cs
- ExpandCollapsePattern.cs
- WebPartConnectionsCancelVerb.cs
- CellRelation.cs
- _NtlmClient.cs
- GacUtil.cs
- SharedTcpTransportManager.cs
- XPathParser.cs
- ChannelEndpointElementCollection.cs
- Classification.cs
- SchemaImporterExtensionElementCollection.cs
- PeerResolverSettings.cs
- OlePropertyStructs.cs
- TextMarkerSource.cs
- XPathDocumentBuilder.cs
- BuilderPropertyEntry.cs
- CapabilitiesState.cs
- HandlerBase.cs
- XmlObjectSerializerWriteContext.cs
- ModelTreeEnumerator.cs
- ThreadTrace.cs
- EntityTransaction.cs
- InertiaRotationBehavior.cs
- ImageKeyConverter.cs
- wmiprovider.cs
- FormParameter.cs
- InternalResources.cs
- FlowDocumentScrollViewer.cs
- QilExpression.cs
- Exceptions.cs
- ServicesExceptionNotHandledEventArgs.cs
- Task.cs
- WebPartEditVerb.cs
- TemplateManager.cs
- EntityDataSourceViewSchema.cs
- SerializationException.cs
- ExtensionElementCollection.cs
- ScrollItemPattern.cs
- WebPartConnectionsEventArgs.cs
- _UriTypeConverter.cs
- FixedTextSelectionProcessor.cs
- CompiledRegexRunner.cs
- Guid.cs
- HttpUnhandledOperationInvoker.cs
- httpserverutility.cs
- MeshGeometry3D.cs
- XamlTemplateSerializer.cs
- COSERVERINFO.cs
- DataBinder.cs
- LogLogRecordEnumerator.cs
- ThreadPool.cs
- Utils.cs
- Underline.cs
- Rectangle.cs
- Currency.cs
- DynamicRouteExpression.cs
- SyndicationDeserializer.cs
- PackWebResponse.cs
- DesignerActionMethodItem.cs
- FamilyMapCollection.cs
- VisualBrush.cs
- GlobalEventManager.cs
- WebScriptMetadataFormatter.cs