Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataGridViewCheckBoxColumn.cs
- DefaultTypeArgumentAttribute.cs
- DbDataSourceEnumerator.cs
- TcpConnectionPoolSettingsElement.cs
- VectorCollection.cs
- TheQuery.cs
- MasterPageParser.cs
- AttributeEmitter.cs
- WebPartCatalogCloseVerb.cs
- FrameworkTemplate.cs
- BuildProviderCollection.cs
- PerfCounters.cs
- BufferManager.cs
- StructuredTypeEmitter.cs
- TraceUtils.cs
- DataObjectFieldAttribute.cs
- DesignerAdRotatorAdapter.cs
- SetState.cs
- XmlHierarchicalEnumerable.cs
- StringConcat.cs
- SQLInt16Storage.cs
- EncoderExceptionFallback.cs
- SingleBodyParameterMessageFormatter.cs
- RegexGroupCollection.cs
- UmAlQuraCalendar.cs
- Camera.cs
- QueueProcessor.cs
- WebPartCatalogCloseVerb.cs
- IPAddressCollection.cs
- PeekCompletedEventArgs.cs
- AvTraceDetails.cs
- XsltSettings.cs
- MultilineStringConverter.cs
- SecurityRuntime.cs
- AnimationStorage.cs
- nulltextnavigator.cs
- DataTemplateKey.cs
- GridViewSelectEventArgs.cs
- JpegBitmapEncoder.cs
- SqlFormatter.cs
- ClientScriptManager.cs
- CompiledIdentityConstraint.cs
- ChtmlTextWriter.cs
- Pen.cs
- DataGridViewCheckBoxColumn.cs
- DescendentsWalker.cs
- ClientTarget.cs
- TextEditorTables.cs
- FactoryMaker.cs
- RectangleGeometry.cs
- SqlNodeTypeOperators.cs
- Light.cs
- CompositeScriptReference.cs
- EditingCommands.cs
- XmlSchemaInclude.cs
- StylusCaptureWithinProperty.cs
- PickDesigner.xaml.cs
- BitmapEffectvisualstate.cs
- SchemaComplexType.cs
- ValidatorCompatibilityHelper.cs
- DBNull.cs
- CreateUserErrorEventArgs.cs
- RuntimeCompatibilityAttribute.cs
- WebPartManager.cs
- SmiEventStream.cs
- MessageBox.cs
- RequestStatusBarUpdateEventArgs.cs
- CodeValidator.cs
- RuleAttributes.cs
- SecurityRequiresReviewAttribute.cs
- TreeNodeConverter.cs
- TextSimpleMarkerProperties.cs
- Utils.cs
- ProtocolsSection.cs
- EmptyCollection.cs
- Descriptor.cs
- TraceHandler.cs
- BitStack.cs
- PrtCap_Base.cs
- RequestCachingSection.cs
- ImageMapEventArgs.cs
- PropertyInformation.cs
- TabControlAutomationPeer.cs
- Style.cs
- ISAPIRuntime.cs
- XmlIlTypeHelper.cs
- InternalBufferOverflowException.cs
- StorageConditionPropertyMapping.cs
- WebPartHeaderCloseVerb.cs
- EventLogPermission.cs
- WebPartCancelEventArgs.cs
- TransactionChannel.cs
- ProcessStartInfo.cs
- Transform3DGroup.cs
- autovalidator.cs
- TreeView.cs
- DispatcherTimer.cs
- WebAdminConfigurationHelper.cs
- DataKeyCollection.cs
- DataGridColumnCollection.cs