Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / Design / ActiveDocumentEvent.cs / 1 / 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
- RepeatEnumerable.cs
- SqlAliaser.cs
- XmlReaderSettings.cs
- FillErrorEventArgs.cs
- DeclarativeConditionsCollection.cs
- CellQuery.cs
- OleDbParameter.cs
- ValidatorCollection.cs
- StringStorage.cs
- WebConfigManager.cs
- RemotingSurrogateSelector.cs
- MasterPageParser.cs
- ListViewGroupItemCollection.cs
- TableLayout.cs
- SslStream.cs
- ADMembershipUser.cs
- PaperSize.cs
- FixedSOMImage.cs
- SmtpException.cs
- PropertySegmentSerializationProvider.cs
- SoapClientProtocol.cs
- SettingsProperty.cs
- BuildProvidersCompiler.cs
- EntityTypeEmitter.cs
- DataTemplate.cs
- EnumBuilder.cs
- SelectQueryOperator.cs
- IxmlLineInfo.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- InputProcessorProfiles.cs
- FormView.cs
- IDispatchConstantAttribute.cs
- BaseCollection.cs
- WebRequestModuleElementCollection.cs
- PriorityQueue.cs
- XamlTypeMapper.cs
- XmlMtomWriter.cs
- XmlElementAttribute.cs
- EventEntry.cs
- PersistNameAttribute.cs
- MatrixIndependentAnimationStorage.cs
- StylusButton.cs
- PropertyTab.cs
- FormsIdentity.cs
- CollectionEditVerbManager.cs
- Visual3D.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ControlCollection.cs
- RowsCopiedEventArgs.cs
- RadioButtonRenderer.cs
- ObjectCloneHelper.cs
- QilChoice.cs
- ByteBufferPool.cs
- StylusDownEventArgs.cs
- EventLogHandle.cs
- UIElementIsland.cs
- TickBar.cs
- Pair.cs
- MergeFailedEvent.cs
- Rect3D.cs
- _AutoWebProxyScriptEngine.cs
- GlyphRunDrawing.cs
- StatusBarDrawItemEvent.cs
- AuthenticationException.cs
- MenuItem.cs
- StorageComplexTypeMapping.cs
- SeekableReadStream.cs
- HostedImpersonationContext.cs
- SettingsPropertyValueCollection.cs
- WaitingCursor.cs
- SoapConverter.cs
- SystemIPInterfaceStatistics.cs
- Registry.cs
- DiscoveryClientDocuments.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- IPHostEntry.cs
- RadioButtonList.cs
- Int32CollectionConverter.cs
- RoleBoolean.cs
- ComponentResourceKey.cs
- DataContractSerializer.cs
- EnumValidator.cs
- ClientFormsIdentity.cs
- ParserExtension.cs
- DesignerUtility.cs
- XamlSerializerUtil.cs
- TimeStampChecker.cs
- MILUtilities.cs
- SqlError.cs
- MsmqNonTransactedPoisonHandler.cs
- CollectionViewSource.cs
- SimpleBitVector32.cs
- HtmlInputSubmit.cs
- SetIndexBinder.cs
- HtmlControlPersistable.cs
- MimeMapping.cs
- BulletChrome.cs
- WebReferenceOptions.cs
- XmlDocumentType.cs
- XmlDataSourceDesigner.cs