Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / Design / ActiveDocumentEvent.cs / 1 / ActiveDocumentEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel.Design {
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Security.Permissions;
using Microsoft.Win32;
///
/// Provides data for the
/// event.
///
[HostProtection(SharedState = true)]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")]
public class ActiveDesignerEventArgs : EventArgs {
///
/// The document that is losing activation.
///
private readonly IDesignerHost oldDesigner;
///
/// The document that is gaining activation.
///
private readonly IDesignerHost newDesigner;
///
/// Initializes a new instance of the
/// class.
///
public ActiveDesignerEventArgs(IDesignerHost oldDesigner, IDesignerHost newDesigner) {
this.oldDesigner = oldDesigner;
this.newDesigner = newDesigner;
}
///
///
/// Gets or
/// sets the document that is losing activation.
///
///
public IDesignerHost OldDesigner {
get {
return oldDesigner;
}
}
///
///
/// Gets or
/// sets the document that is gaining activation.
///
///
public IDesignerHost NewDesigner {
get {
return newDesigner;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GeometryGroup.cs
- Size3D.cs
- ConnectionStringSettings.cs
- SkipQueryOptionExpression.cs
- Triangle.cs
- EpmTargetTree.cs
- AddInAdapter.cs
- CheckBoxList.cs
- AmbientProperties.cs
- IDReferencePropertyAttribute.cs
- TableRowGroupCollection.cs
- DataSourceXmlTextReader.cs
- SqlBuffer.cs
- ClickablePoint.cs
- FixUp.cs
- Empty.cs
- SiteMapNodeItem.cs
- WorkflowViewElement.cs
- DeclarativeCatalogPart.cs
- GCHandleCookieTable.cs
- RenderDataDrawingContext.cs
- MasterPageBuildProvider.cs
- InkCollectionBehavior.cs
- DCSafeHandle.cs
- CallbackValidator.cs
- RealizationContext.cs
- GiveFeedbackEvent.cs
- StylusOverProperty.cs
- DbConnectionPoolCounters.cs
- InternalBufferOverflowException.cs
- BackgroundWorker.cs
- WindowsPrincipal.cs
- CreateUserWizardStep.cs
- DataGridLength.cs
- ListViewEditEventArgs.cs
- QilLoop.cs
- DocumentViewerBase.cs
- SettingsPropertyCollection.cs
- ListViewUpdatedEventArgs.cs
- TraceXPathNavigator.cs
- ValidationPropertyAttribute.cs
- WebPartTransformerAttribute.cs
- BindValidator.cs
- HttpUnhandledOperationInvoker.cs
- BrowserInteropHelper.cs
- StringHandle.cs
- RSAPKCS1SignatureDeformatter.cs
- CompilerTypeWithParams.cs
- SQLMembershipProvider.cs
- HttpBrowserCapabilitiesWrapper.cs
- WindowsGraphicsCacheManager.cs
- CharConverter.cs
- BinaryParser.cs
- MDIControlStrip.cs
- ProxyWebPartConnectionCollection.cs
- DataKeyCollection.cs
- ObfuscationAttribute.cs
- PathData.cs
- Decimal.cs
- XmlSchemaAll.cs
- PageCatalogPart.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- Typeface.cs
- Zone.cs
- RewritingSimplifier.cs
- ReferenceEqualityComparer.cs
- ListSortDescriptionCollection.cs
- Vector.cs
- HwndMouseInputProvider.cs
- DrawingDrawingContext.cs
- ReadOnlyHierarchicalDataSource.cs
- GridSplitter.cs
- PackageDigitalSignature.cs
- _NegoStream.cs
- FieldBuilder.cs
- ObjectNotFoundException.cs
- ExceptionHelpers.cs
- PathParser.cs
- ScrollBarRenderer.cs
- PublisherMembershipCondition.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- XmlSchemaIdentityConstraint.cs
- CallbackException.cs
- MappingItemCollection.cs
- OracleException.cs
- PassportAuthenticationModule.cs
- SemanticResolver.cs
- OdbcConnectionOpen.cs
- PackageStore.cs
- Blend.cs
- FrameworkElementAutomationPeer.cs
- CellParagraph.cs
- Completion.cs
- KeyInstance.cs
- WebPartConnectionsEventArgs.cs
- PassportAuthenticationModule.cs
- UiaCoreProviderApi.cs
- ColorConvertedBitmap.cs
- ContextMenu.cs
- Volatile.cs