Code:
/ 4.0 / 4.0 / 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. /// ///// 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
- DataGridCaption.cs
- shaper.cs
- wpf-etw.cs
- DataFormats.cs
- ActiveXContainer.cs
- MemberCollection.cs
- TCPClient.cs
- SerializationException.cs
- StateItem.cs
- GridViewDeletedEventArgs.cs
- SynchronizedDispatch.cs
- SystemKeyConverter.cs
- GroupByQueryOperator.cs
- EDesignUtil.cs
- CompoundFileReference.cs
- TableRowGroupCollection.cs
- ImageEditor.cs
- XmlCDATASection.cs
- PasswordDeriveBytes.cs
- SymbolMethod.cs
- PropertyConverter.cs
- Msec.cs
- ToolboxBitmapAttribute.cs
- ToolStripLocationCancelEventArgs.cs
- ViewSimplifier.cs
- StorageScalarPropertyMapping.cs
- PackageRelationship.cs
- DbProviderSpecificTypePropertyAttribute.cs
- WindowsHyperlink.cs
- listitem.cs
- SwitchLevelAttribute.cs
- FileChangeNotifier.cs
- KerberosRequestorSecurityToken.cs
- DelegateBodyWriter.cs
- FieldToken.cs
- ConfigurationSection.cs
- ListBindingHelper.cs
- RequestCachePolicyConverter.cs
- WS2007FederationHttpBindingElement.cs
- EmptyCollection.cs
- RubberbandSelector.cs
- NominalTypeEliminator.cs
- AmbiguousMatchException.cs
- WebReferencesBuildProvider.cs
- FormViewPageEventArgs.cs
- OuterGlowBitmapEffect.cs
- TokenBasedSet.cs
- StorageRoot.cs
- Converter.cs
- EntityModelSchemaGenerator.cs
- ObjectResult.cs
- XmlEntityReference.cs
- CodeRegionDirective.cs
- MachinePropertyVariants.cs
- NativeActivityFaultContext.cs
- DataGridViewDataConnection.cs
- IfAction.cs
- LicenseException.cs
- TextPenaltyModule.cs
- EndpointReference.cs
- _NestedSingleAsyncResult.cs
- BuildDependencySet.cs
- UriTemplateDispatchFormatter.cs
- SmtpSection.cs
- PhoneCall.cs
- ProcessHostMapPath.cs
- TextTreeFixupNode.cs
- XmlTextAttribute.cs
- RevocationPoint.cs
- ZeroOpNode.cs
- Serializer.cs
- TreeNodeBinding.cs
- BufferBuilder.cs
- ApplicationId.cs
- TerminatorSinks.cs
- ContextDataSourceView.cs
- PointLight.cs
- RouteParameter.cs
- XmlResolver.cs
- ControlBindingsCollection.cs
- FormsAuthenticationUserCollection.cs
- CodeMemberMethod.cs
- ProcessModelInfo.cs
- DescendentsWalkerBase.cs
- HtmlInputReset.cs
- FixUpCollection.cs
- RectangleF.cs
- XmlUtil.cs
- PropertyFilterAttribute.cs
- ConfigXmlAttribute.cs
- ZipIOExtraFieldPaddingElement.cs
- SchemaNames.cs
- XmlSigningNodeWriter.cs
- OutputCacheProfileCollection.cs
- PersonalizationDictionary.cs
- BaseDataList.cs
- MdiWindowListStrip.cs
- BuildProviderUtils.cs
- MetaModel.cs
- PropertyDescriptorCollection.cs