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
- CustomAttributeBuilder.cs
- SiteMap.cs
- XmlDocumentFragment.cs
- CustomAssemblyResolver.cs
- XmlComplianceUtil.cs
- DeflateStreamAsyncResult.cs
- cryptoapiTransform.cs
- JumpPath.cs
- RowCache.cs
- UrlPropertyAttribute.cs
- SafeArrayTypeMismatchException.cs
- SimpleExpression.cs
- InlineCategoriesDocument.cs
- LoginName.cs
- ExtensionQuery.cs
- ForeignKeyFactory.cs
- Decorator.cs
- Label.cs
- ThreadPool.cs
- QualifierSet.cs
- ManagementClass.cs
- TraceHandler.cs
- assertwrapper.cs
- Evidence.cs
- HtmlTextArea.cs
- Int32Animation.cs
- FormViewDeletedEventArgs.cs
- HttpCapabilitiesSectionHandler.cs
- InputQueueChannel.cs
- CodeTryCatchFinallyStatement.cs
- EmptyEnumerable.cs
- ExpressionBuilder.cs
- StrokeCollection.cs
- CurrentChangedEventManager.cs
- ExtendedPropertyCollection.cs
- RoleManagerSection.cs
- PseudoWebRequest.cs
- PermissionSetTriple.cs
- CodeVariableReferenceExpression.cs
- FormsAuthenticationEventArgs.cs
- DataServiceCollectionOfT.cs
- ClassHandlersStore.cs
- UnionExpr.cs
- TypeName.cs
- UInt16Converter.cs
- DetailsViewModeEventArgs.cs
- SimpleParser.cs
- SrgsRulesCollection.cs
- EnumerationRangeValidationUtil.cs
- X509Utils.cs
- NamespaceCollection.cs
- EUCJPEncoding.cs
- DataExchangeServiceBinder.cs
- EventLogPermission.cs
- BaseProcessor.cs
- TransportListener.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- AnnotationResource.cs
- MsmqInputChannel.cs
- InheritanceAttribute.cs
- Style.cs
- SQLRoleProvider.cs
- FloaterParagraph.cs
- _SslState.cs
- FontStyleConverter.cs
- ActiveXHelper.cs
- SpanIndex.cs
- VectorKeyFrameCollection.cs
- DependentList.cs
- ReadOnlyDataSourceView.cs
- SevenBitStream.cs
- BroadcastEventHelper.cs
- prefixendpointaddressmessagefiltertable.cs
- sqlcontext.cs
- WsatTransactionFormatter.cs
- ContentAlignmentEditor.cs
- DefaultValueTypeConverter.cs
- updateconfighost.cs
- XmlDataSource.cs
- TransactionCache.cs
- tooltip.cs
- TraceContextRecord.cs
- GridSplitter.cs
- TCPClient.cs
- Bitmap.cs
- XmlCharCheckingWriter.cs
- PluralizationServiceUtil.cs
- ByteAnimationBase.cs
- SqlServer2KCompatibilityCheck.cs
- CommandField.cs
- NodeFunctions.cs
- MiniModule.cs
- wgx_commands.cs
- WebZone.cs
- MD5.cs
- SqlDataSourceConfigureSortForm.cs
- HttpListenerPrefixCollection.cs
- DataSourceProvider.cs
- SelectionProviderWrapper.cs
- CachedPathData.cs