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
- SqlUtils.cs
- DataObjectAttribute.cs
- AccessViolationException.cs
- ConsumerConnectionPointCollection.cs
- OleDbRowUpdatingEvent.cs
- KeyGestureValueSerializer.cs
- filewebrequest.cs
- DBSchemaRow.cs
- WebContext.cs
- FlowDocumentReader.cs
- TableRowCollection.cs
- PathFigureCollectionValueSerializer.cs
- PageContentAsyncResult.cs
- WebChannelFactory.cs
- NullableDoubleSumAggregationOperator.cs
- AssemblyBuilder.cs
- ReachSerializationCacheItems.cs
- KeyInfo.cs
- Timeline.cs
- TagMapCollection.cs
- SchemaNotation.cs
- RowToParametersTransformer.cs
- HostingPreferredMapPath.cs
- ObjectQueryProvider.cs
- PasswordBoxAutomationPeer.cs
- WebRequest.cs
- RankException.cs
- SortFieldComparer.cs
- SemanticAnalyzer.cs
- AbsoluteQuery.cs
- BrowserCapabilitiesCompiler.cs
- PageParser.cs
- BuildManager.cs
- Splitter.cs
- SkewTransform.cs
- ActivityDesigner.cs
- AjaxFrameworkAssemblyAttribute.cs
- InvalidateEvent.cs
- SelfIssuedAuthRSACryptoProvider.cs
- DetailsViewPageEventArgs.cs
- SamlAuthorizationDecisionClaimResource.cs
- ParsedAttributeCollection.cs
- AutomationProperties.cs
- WorkflowServiceBehavior.cs
- DataGridView.cs
- UIAgentMonitor.cs
- SafeLibraryHandle.cs
- DataColumn.cs
- FontFamily.cs
- DashStyle.cs
- FrameworkContentElement.cs
- MailDefinition.cs
- CriticalFileToken.cs
- HtmlHistory.cs
- NotFiniteNumberException.cs
- InheritanceContextChangedEventManager.cs
- OleDbEnumerator.cs
- ReturnType.cs
- RowsCopiedEventArgs.cs
- TextCompositionEventArgs.cs
- StringUtil.cs
- FrameDimension.cs
- TableItemStyle.cs
- TranslateTransform.cs
- NonSerializedAttribute.cs
- TextRunProperties.cs
- ListBoxItem.cs
- RequestCachingSection.cs
- WorkItem.cs
- Tool.cs
- BaseParaClient.cs
- ByteStorage.cs
- MethodBody.cs
- MailDefinition.cs
- UrlPath.cs
- ExecutorLocksHeldException.cs
- ProgressBarHighlightConverter.cs
- HtmlControlDesigner.cs
- CheckBoxField.cs
- DiffuseMaterial.cs
- GeometryValueSerializer.cs
- IntegerCollectionEditor.cs
- ObjectFullSpanRewriter.cs
- login.cs
- Menu.cs
- TemplateField.cs
- PassportPrincipal.cs
- EventProviderTraceListener.cs
- ExternalFile.cs
- HwndSourceKeyboardInputSite.cs
- SystemUdpStatistics.cs
- SpanIndex.cs
- PersonalizationEntry.cs
- D3DImage.cs
- DataBoundControlAdapter.cs
- SpeechRecognitionEngine.cs
- FontInfo.cs
- Button.cs
- DbConnectionPoolCounters.cs
- CustomSignedXml.cs