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
- WinEventQueueItem.cs
- TagNameToTypeMapper.cs
- Logging.cs
- AuthenticationModuleElement.cs
- DataGridViewColumnCollectionDialog.cs
- Canvas.cs
- GrammarBuilderWildcard.cs
- TreeViewImageGenerator.cs
- DelegateHelpers.cs
- XmlEncodedRawTextWriter.cs
- selecteditemcollection.cs
- TimeEnumHelper.cs
- MobileTextWriter.cs
- DataKeyArray.cs
- ContextQuery.cs
- UrlMappingsModule.cs
- Transform.cs
- HWStack.cs
- ByteConverter.cs
- initElementDictionary.cs
- RoleService.cs
- SafeSecurityHandles.cs
- ColumnWidthChangingEvent.cs
- SystemResourceHost.cs
- IndexExpression.cs
- SymbolMethod.cs
- SqlDataSourceConnectionPanel.cs
- ScopelessEnumAttribute.cs
- DecoderReplacementFallback.cs
- ValueTable.cs
- TreeSet.cs
- sqlpipe.cs
- MemberPath.cs
- WebPageTraceListener.cs
- RelationshipConverter.cs
- StsCommunicationException.cs
- BlockExpression.cs
- InputReport.cs
- FixedElement.cs
- Control.cs
- SurrogateDataContract.cs
- XmlAnyAttributeAttribute.cs
- PersonalizableAttribute.cs
- SecurityTokenContainer.cs
- CheckBoxBaseAdapter.cs
- ServiceOperationParameter.cs
- InvalidFilterCriteriaException.cs
- BindingObserver.cs
- ErrorFormatterPage.cs
- SelectionUIHandler.cs
- RelationshipManager.cs
- Application.cs
- MappingException.cs
- SaveFileDialog.cs
- DataComponentGenerator.cs
- TrustLevel.cs
- ScrollPatternIdentifiers.cs
- DataGridViewColumnConverter.cs
- XmlToDatasetMap.cs
- PrintDocument.cs
- SessionEndedEventArgs.cs
- RC2CryptoServiceProvider.cs
- Stack.cs
- RenamedEventArgs.cs
- ObjectNavigationPropertyMapping.cs
- FieldNameLookup.cs
- MemoryMappedView.cs
- PreviewPageInfo.cs
- InvalidPipelineStoreException.cs
- WebBrowserNavigatedEventHandler.cs
- TextTreeTextElementNode.cs
- UserPreferenceChangingEventArgs.cs
- SettingsPropertyWrongTypeException.cs
- UDPClient.cs
- XmlAttributeOverrides.cs
- DBPropSet.cs
- ImageCodecInfo.cs
- FormatterServices.cs
- CodeArrayCreateExpression.cs
- _UriSyntax.cs
- EdmToObjectNamespaceMap.cs
- XPathChildIterator.cs
- CodeDirectiveCollection.cs
- CompositeControl.cs
- PageCatalogPart.cs
- EntityContainerEntitySetDefiningQuery.cs
- ReachVisualSerializer.cs
- Ray3DHitTestResult.cs
- AppDomainShutdownMonitor.cs
- ScopedKnownTypes.cs
- HttpCookieCollection.cs
- HttpModuleAction.cs
- ISessionStateStore.cs
- XmlAutoDetectWriter.cs
- LongCountAggregationOperator.cs
- QilBinary.cs
- X500Name.cs
- XmlDataSource.cs
- StreamMarshaler.cs
- ProcessInputEventArgs.cs