Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ActiveDocumentEvent.cs / 1305376 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- Function.cs
- IApplicationTrustManager.cs
- ConditionCollection.cs
- PlainXmlSerializer.cs
- formatter.cs
- RawMouseInputReport.cs
- Subset.cs
- VectorAnimationUsingKeyFrames.cs
- LeaseManager.cs
- NativeMethods.cs
- BamlLocalizabilityResolver.cs
- PointLightBase.cs
- ImageMap.cs
- Label.cs
- XmlSchemaParticle.cs
- CLRBindingWorker.cs
- HopperCache.cs
- UserControlCodeDomTreeGenerator.cs
- WindowPattern.cs
- SizeConverter.cs
- ComplexLine.cs
- DebugInfo.cs
- CryptoConfig.cs
- CharEntityEncoderFallback.cs
- CharEntityEncoderFallback.cs
- QilInvoke.cs
- StylusEditingBehavior.cs
- ColorMatrix.cs
- XmlAnyElementAttributes.cs
- ColorIndependentAnimationStorage.cs
- SpeechEvent.cs
- DataGridCellsPresenter.cs
- GraphicsContainer.cs
- ReliabilityContractAttribute.cs
- Drawing.cs
- AffineTransform3D.cs
- DescendantOverDescendantQuery.cs
- GridItemPatternIdentifiers.cs
- AdRotator.cs
- CompilerInfo.cs
- TypeUtil.cs
- WebServiceEnumData.cs
- PopupEventArgs.cs
- RegisteredExpandoAttribute.cs
- MenuItem.cs
- InstallerTypeAttribute.cs
- DependencyPropertyDescriptor.cs
- SendSecurityHeaderElement.cs
- CfgArc.cs
- NullReferenceException.cs
- TextServicesContext.cs
- ScriptDescriptor.cs
- DomainLiteralReader.cs
- ExtendedProperty.cs
- ShaperBuffers.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ProgressBar.cs
- OrderedDictionaryStateHelper.cs
- RawContentTypeMapper.cs
- CounterCreationData.cs
- WebBaseEventKeyComparer.cs
- GlobalizationSection.cs
- ChildrenQuery.cs
- X509CertificateChain.cs
- ADMembershipUser.cs
- IconHelper.cs
- TextSimpleMarkerProperties.cs
- SByte.cs
- PingOptions.cs
- oledbmetadatacolumnnames.cs
- MessageBox.cs
- BitmapSourceSafeMILHandle.cs
- FormViewInsertedEventArgs.cs
- webbrowsersite.cs
- OleDbReferenceCollection.cs
- FunctionNode.cs
- StrokeFIndices.cs
- recordstatescratchpad.cs
- Equal.cs
- QilStrConcatenator.cs
- ImageListUtils.cs
- SqlNode.cs
- MaxMessageSizeStream.cs
- AdornerDecorator.cs
- JsonQueryStringConverter.cs
- UnsettableComboBox.cs
- ValueProviderWrapper.cs
- StringAnimationUsingKeyFrames.cs
- GridProviderWrapper.cs
- storepermissionattribute.cs
- WindowsTokenRoleProvider.cs
- SqlCacheDependencySection.cs
- BitmapEffect.cs
- RectAnimationClockResource.cs
- MenuItem.cs
- VBIdentifierTrimConverter.cs
- CodeMemberEvent.cs
- WrappedIUnknown.cs
- CodeNamespaceImport.cs
- Collection.cs