Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ThreadStartException.cs
- RowToFieldTransformer.cs
- ImageButton.cs
- DependencyPropertyConverter.cs
- EmbossBitmapEffect.cs
- FontUnitConverter.cs
- AsyncWaitHandle.cs
- SeekableReadStream.cs
- OleTxTransaction.cs
- Icon.cs
- Camera.cs
- DataGridViewLinkColumn.cs
- SafeMemoryMappedFileHandle.cs
- QueryRewriter.cs
- MetadataArtifactLoaderFile.cs
- ObjectConverter.cs
- DataGridViewImageCell.cs
- DataControlFieldCell.cs
- WebServiceEnumData.cs
- ImageList.cs
- FlowDocumentReaderAutomationPeer.cs
- CopyCodeAction.cs
- ToggleButton.cs
- ApplicationFileParser.cs
- ToolStripLabel.cs
- ColorPalette.cs
- WorkflowPrinting.cs
- WindowsIdentity.cs
- CodeDomConfigurationHandler.cs
- DbConnectionFactory.cs
- FamilyMapCollection.cs
- ReadOnlyMetadataCollection.cs
- DependentList.cs
- SerializationSectionGroup.cs
- EventPrivateKey.cs
- ReaderContextStackData.cs
- UIElementParaClient.cs
- MimeMultiPart.cs
- IndicShape.cs
- HierarchicalDataTemplate.cs
- SymmetricCryptoHandle.cs
- XslAst.cs
- DependentList.cs
- JsonDataContract.cs
- AppSettingsExpressionBuilder.cs
- ActivityBindForm.Designer.cs
- ListManagerBindingsCollection.cs
- TextFormatterContext.cs
- NumberEdit.cs
- QuaternionConverter.cs
- CellRelation.cs
- CodeCastExpression.cs
- TableLayoutSettingsTypeConverter.cs
- SelectionEditingBehavior.cs
- TdsParser.cs
- ControlLocalizer.cs
- RelationshipType.cs
- StylusPointDescription.cs
- ResourceDescriptionAttribute.cs
- XmlCDATASection.cs
- UnauthorizedAccessException.cs
- Unit.cs
- ParseElement.cs
- UnauthorizedAccessException.cs
- User.cs
- StringSource.cs
- LookupBindingPropertiesAttribute.cs
- Common.cs
- VariantWrapper.cs
- SiteMapDesignerDataSourceView.cs
- DataTableExtensions.cs
- SerializationIncompleteException.cs
- ModelFactory.cs
- ReferentialConstraint.cs
- OletxVolatileEnlistment.cs
- MulticastNotSupportedException.cs
- CompressionTransform.cs
- ProtocolsConfigurationEntry.cs
- AnnotationResourceCollection.cs
- HtmlInputFile.cs
- CategoryAttribute.cs
- Attributes.cs
- TextDecorationCollection.cs
- InheritanceAttribute.cs
- LinqTreeNodeEvaluator.cs
- FillBehavior.cs
- AliasedSlot.cs
- ValidatorCompatibilityHelper.cs
- OdbcTransaction.cs
- AdRotator.cs
- Utility.cs
- IntSecurity.cs
- StructuredType.cs
- BindValidationContext.cs
- XmlSchemaComplexContentExtension.cs
- FixedTextBuilder.cs
- Form.cs
- Pts.cs
- HttpApplication.cs
- TypedTableBase.cs