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
- GenericWebPart.cs
- InternalCache.cs
- CodeArgumentReferenceExpression.cs
- XmlWrappingWriter.cs
- ObjectHandle.cs
- ImageAutomationPeer.cs
- MinimizableAttributeTypeConverter.cs
- HttpCachePolicyElement.cs
- StatusBar.cs
- IOException.cs
- PackWebRequest.cs
- ProtocolsSection.cs
- LogManagementAsyncResult.cs
- UpdateTracker.cs
- EntitySqlException.cs
- ComPlusAuthorization.cs
- WinFormsSpinner.cs
- FloaterBaseParaClient.cs
- SplineQuaternionKeyFrame.cs
- PointLight.cs
- MaxMessageSizeStream.cs
- UInt32Converter.cs
- OdbcError.cs
- UnsafeNativeMethods.cs
- Message.cs
- ComponentResourceKey.cs
- DataTableCollection.cs
- TemplateAction.cs
- PropertyPathWorker.cs
- GridLengthConverter.cs
- DataGridHeaderBorder.cs
- XmlSignatureManifest.cs
- COM2ExtendedTypeConverter.cs
- PackagePart.cs
- ValidatorCollection.cs
- Tool.cs
- SqlFileStream.cs
- CollectionViewGroup.cs
- GroupDescription.cs
- _OverlappedAsyncResult.cs
- DrawingImage.cs
- UnsafeNativeMethodsTablet.cs
- TextShapeableCharacters.cs
- _NtlmClient.cs
- ChangePasswordDesigner.cs
- Helpers.cs
- WpfPayload.cs
- EventHandlers.cs
- CngProvider.cs
- SapiAttributeParser.cs
- GPRECT.cs
- GridViewRowPresenter.cs
- Matrix.cs
- ImageSource.cs
- ResourceContainer.cs
- WorkflowMarkupSerializerMapping.cs
- RequestCachePolicyConverter.cs
- WebResponse.cs
- ServicePrincipalNameElement.cs
- EncoderFallback.cs
- SQLDecimal.cs
- _SslStream.cs
- SingleAnimationBase.cs
- TargetFrameworkAttribute.cs
- LinqDataSourceView.cs
- ListCollectionView.cs
- DllNotFoundException.cs
- TextElementAutomationPeer.cs
- ListView.cs
- FormatterConverter.cs
- EmbeddedMailObjectsCollection.cs
- TemplateXamlParser.cs
- ObjectAnimationBase.cs
- DesignerLinkAdapter.cs
- PaintValueEventArgs.cs
- ListBoxItemAutomationPeer.cs
- Function.cs
- PlainXmlWriter.cs
- TextElement.cs
- TokenBasedSet.cs
- RegexTree.cs
- InstanceCompleteException.cs
- InvalidCastException.cs
- KnownIds.cs
- AbsoluteQuery.cs
- VirtualDirectoryMappingCollection.cs
- Marshal.cs
- EncoderNLS.cs
- OrderedEnumerableRowCollection.cs
- Region.cs
- JournalEntryListConverter.cs
- ProfileParameter.cs
- ColorIndependentAnimationStorage.cs
- CompressEmulationStream.cs
- TreeNodeStyle.cs
- PagerStyle.cs
- MailDefinition.cs
- PointKeyFrameCollection.cs
- Processor.cs
- RenamedEventArgs.cs