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
- GACIdentityPermission.cs
- _BaseOverlappedAsyncResult.cs
- ActivityExecutionFilter.cs
- StringResourceManager.cs
- SqlInternalConnection.cs
- IssuanceLicense.cs
- XamlGridLengthSerializer.cs
- SerializationSectionGroup.cs
- SqlEnums.cs
- FrameworkElement.cs
- DataGridColumn.cs
- RenderDataDrawingContext.cs
- Socket.cs
- WebPartTransformerAttribute.cs
- CollectionsUtil.cs
- CodeNamespaceCollection.cs
- RegistrationServices.cs
- DescendantOverDescendantQuery.cs
- ToolBar.cs
- ToolStripSplitStackLayout.cs
- DebugView.cs
- BinaryConverter.cs
- EmbossBitmapEffect.cs
- GuidConverter.cs
- FixedSOMContainer.cs
- SubMenuStyleCollection.cs
- URLString.cs
- DynamicMethod.cs
- MimeFormatter.cs
- InputManager.cs
- WebPartEditorCancelVerb.cs
- InputMethodStateTypeInfo.cs
- DataGridAutoFormat.cs
- WebPartMenu.cs
- ListContractAdapter.cs
- XmlSerializerFactory.cs
- TableLayoutSettingsTypeConverter.cs
- MultiplexingFormatMapping.cs
- ValueUtilsSmi.cs
- UxThemeWrapper.cs
- WebPartEventArgs.cs
- DataGridViewColumn.cs
- SymmetricKey.cs
- WebPartConnectionsCloseVerb.cs
- WhiteSpaceTrimStringConverter.cs
- _Semaphore.cs
- DrawingContextDrawingContextWalker.cs
- MultiBindingExpression.cs
- HostedBindingBehavior.cs
- InfoCardConstants.cs
- MulticastIPAddressInformationCollection.cs
- RIPEMD160.cs
- CurrentTimeZone.cs
- HostAdapter.cs
- FixedHighlight.cs
- XmlIlGenerator.cs
- Mapping.cs
- XmlDocumentFragment.cs
- XmlReflectionImporter.cs
- Internal.cs
- ListViewItemEventArgs.cs
- CacheOutputQuery.cs
- AbstractDataSvcMapFileLoader.cs
- XPathNavigatorReader.cs
- JournalEntryListConverter.cs
- Compiler.cs
- InputLangChangeRequestEvent.cs
- FormViewCommandEventArgs.cs
- SwitchLevelAttribute.cs
- SchemaConstraints.cs
- TableLayoutPanel.cs
- CustomPopupPlacement.cs
- SQLCharsStorage.cs
- WebBrowserNavigatedEventHandler.cs
- XmlTextReaderImplHelpers.cs
- QuaternionValueSerializer.cs
- StreamWriter.cs
- ElementAtQueryOperator.cs
- HttpCookieCollection.cs
- SimpleType.cs
- compensatingcollection.cs
- VectorValueSerializer.cs
- TypeExtensionConverter.cs
- ping.cs
- QilInvokeLateBound.cs
- ViewValidator.cs
- ResourceProviderFactory.cs
- _NegoState.cs
- TripleDES.cs
- TablePatternIdentifiers.cs
- AccessibleObject.cs
- BehaviorEditorPart.cs
- TypeSystem.cs
- ErrorHandler.cs
- DataContractSet.cs
- TreeWalker.cs
- CompilerLocalReference.cs
- TextContainerChangeEventArgs.cs
- StrokeSerializer.cs
- C14NUtil.cs