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
- AsymmetricSignatureDeformatter.cs
- ScalarOps.cs
- DataGridRelationshipRow.cs
- ColumnHeaderConverter.cs
- TerminatorSinks.cs
- ExpressionVisitorHelpers.cs
- TypographyProperties.cs
- ServiceMoniker.cs
- AnimationClock.cs
- RsaSecurityToken.cs
- NetworkCredential.cs
- BufferedWebEventProvider.cs
- RelationalExpressions.cs
- TreeViewImageKeyConverter.cs
- CommentGlyph.cs
- ExpandoClass.cs
- Events.cs
- DataSetMappper.cs
- DigestTraceRecordHelper.cs
- Symbol.cs
- Part.cs
- SystemWebSectionGroup.cs
- DocumentXPathNavigator.cs
- HttpNamespaceReservationInstallComponent.cs
- AsyncInvokeOperation.cs
- QuaternionRotation3D.cs
- DbParameterCollectionHelper.cs
- MetafileHeaderWmf.cs
- ConfigurationConverterBase.cs
- NamedPipeProcessProtocolHandler.cs
- Task.cs
- HttpCapabilitiesSectionHandler.cs
- SqlInternalConnectionTds.cs
- _RequestCacheProtocol.cs
- FileNotFoundException.cs
- SHA1Managed.cs
- SliderAutomationPeer.cs
- BinaryParser.cs
- AdornerLayer.cs
- Effect.cs
- RoleManagerModule.cs
- UserControl.cs
- LocalizedNameDescriptionPair.cs
- ErrorWebPart.cs
- TextElementEnumerator.cs
- XamlVector3DCollectionSerializer.cs
- StructuredTypeEmitter.cs
- LayoutInformation.cs
- HitTestFilterBehavior.cs
- PathSegmentCollection.cs
- RuntimeWrappedException.cs
- SlipBehavior.cs
- AutoResetEvent.cs
- Vector3DAnimationUsingKeyFrames.cs
- ProfileEventArgs.cs
- ListViewItemMouseHoverEvent.cs
- OutputCacheProfileCollection.cs
- PropertyToken.cs
- PhysicalOps.cs
- MultilineStringConverter.cs
- RemoteX509Token.cs
- TableLayoutCellPaintEventArgs.cs
- ExternalException.cs
- DCSafeHandle.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DbMetaDataFactory.cs
- CssClassPropertyAttribute.cs
- XmlArrayItemAttributes.cs
- XsdBuildProvider.cs
- TextTrailingCharacterEllipsis.cs
- WebPartVerbsEventArgs.cs
- Message.cs
- RoutedEvent.cs
- ErrorRuntimeConfig.cs
- ModifierKeysConverter.cs
- __FastResourceComparer.cs
- MouseEventArgs.cs
- WebConfigurationManager.cs
- TableStyle.cs
- FormatSettings.cs
- DataGridViewTextBoxCell.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- PhoneCall.cs
- OrderingQueryOperator.cs
- CellTreeNodeVisitors.cs
- GPStream.cs
- DeclarativeExpressionConditionDeclaration.cs
- BamlResourceDeserializer.cs
- DataSourceDescriptorCollection.cs
- MailWriter.cs
- ReadOnlyDictionary.cs
- XmlIlTypeHelper.cs
- CompiledRegexRunnerFactory.cs
- ImageList.cs
- DataObjectPastingEventArgs.cs
- TransactionChannelFaultConverter.cs
- WorkflowMarkupSerializerMapping.cs
- SettingsProviderCollection.cs
- MaxMessageSizeStream.cs
- RegexTypeEditor.cs