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; ////// [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 { ///Provides data for the ////// event. /// The document that is losing activation. /// private readonly IDesignerHost oldDesigner; ////// The document that is gaining activation. /// private readonly IDesignerHost newDesigner; ////// public ActiveDesignerEventArgs(IDesignerHost oldDesigner, IDesignerHost newDesigner) { this.oldDesigner = oldDesigner; this.newDesigner = newDesigner; } ///Initializes a new instance of the ////// class. /// public IDesignerHost OldDesigner { get { return oldDesigner; } } ////// Gets or /// sets the document that is losing activation. /// ////// public IDesignerHost NewDesigner { get { return newDesigner; } } } }/// Gets or /// sets the document that is gaining activation. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AssociationEndMember.cs
- GroupBox.cs
- DistributedTransactionPermission.cs
- basecomparevalidator.cs
- TextDecorationLocationValidation.cs
- Knowncolors.cs
- Matrix3D.cs
- AccessDataSource.cs
- RuntimeEnvironment.cs
- HttpDebugHandler.cs
- ParameterElementCollection.cs
- TCPListener.cs
- CodeDelegateCreateExpression.cs
- PasswordDeriveBytes.cs
- Menu.cs
- UriSectionData.cs
- SharedUtils.cs
- SiteMapDesignerDataSourceView.cs
- TextSchema.cs
- ThreadAttributes.cs
- XmlSchemaValidator.cs
- Tablet.cs
- BaseAsyncResult.cs
- OrderablePartitioner.cs
- JsonXmlDataContract.cs
- XmlJsonReader.cs
- WorkflowDispatchContext.cs
- _NestedSingleAsyncResult.cs
- MediaScriptCommandRoutedEventArgs.cs
- ObjectToken.cs
- ContextDataSourceView.cs
- MediaTimeline.cs
- DeclaredTypeValidator.cs
- StylusPlugInCollection.cs
- PeerPresenceInfo.cs
- VectorAnimation.cs
- Rect.cs
- TableStyle.cs
- MoveSizeWinEventHandler.cs
- WebPartManagerInternals.cs
- Utils.cs
- XmlnsDictionary.cs
- KeyValueInternalCollection.cs
- RadioButtonBaseAdapter.cs
- XmlHierarchicalDataSourceView.cs
- MultiSelector.cs
- MobileTextWriter.cs
- GraphicsState.cs
- xmlglyphRunInfo.cs
- InvalidPrinterException.cs
- FormsAuthenticationTicket.cs
- EnumerableCollectionView.cs
- PseudoWebRequest.cs
- RemoteWebConfigurationHost.cs
- XmlBinaryWriterSession.cs
- XPathNode.cs
- CultureInfo.cs
- PkcsMisc.cs
- MimeWriter.cs
- DecoderFallbackWithFailureFlag.cs
- DetailsViewInsertEventArgs.cs
- CodeTypeDeclaration.cs
- SqlStatistics.cs
- UnhandledExceptionEventArgs.cs
- DataGridView.cs
- CodeBlockBuilder.cs
- Int64Storage.cs
- TableLayoutRowStyleCollection.cs
- DataControlField.cs
- UdpTransportBindingElement.cs
- CodePropertyReferenceExpression.cs
- WeakKeyDictionary.cs
- ParseChildrenAsPropertiesAttribute.cs
- DbReferenceCollection.cs
- FormViewUpdateEventArgs.cs
- TimeStampChecker.cs
- CompiledScopeCriteria.cs
- UrlMappingsModule.cs
- MarkupCompiler.cs
- CharEntityEncoderFallback.cs
- FormatVersion.cs
- Cell.cs
- ApplyHostConfigurationBehavior.cs
- ListBase.cs
- TextModifier.cs
- ToolStripItemImageRenderEventArgs.cs
- ServiceInfoCollection.cs
- PropertyBuilder.cs
- WindowsPrincipal.cs
- XmlAttributeAttribute.cs
- SqlCacheDependencyDatabase.cs
- SqlPersonalizationProvider.cs
- OleDbStruct.cs
- TextServicesContext.cs
- BitArray.cs
- Substitution.cs
- DropSourceBehavior.cs
- TextPointer.cs
- Html32TextWriter.cs
- ContentDisposition.cs