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
- ProcessModelSection.cs
- WindowsIPAddress.cs
- StatusBarItemAutomationPeer.cs
- SoapSchemaMember.cs
- DependencySource.cs
- SafeThemeHandle.cs
- TypeConverterAttribute.cs
- entityreference_tresulttype.cs
- OutputCacheProfileCollection.cs
- FilteredDataSetHelper.cs
- SqlConnectionString.cs
- datacache.cs
- AnonymousIdentificationSection.cs
- GeneralTransform3D.cs
- PersonalizationEntry.cs
- ObjectAnimationBase.cs
- TableDetailsRow.cs
- Stackframe.cs
- PolyLineSegmentFigureLogic.cs
- PatternMatcher.cs
- XPathSingletonIterator.cs
- Point3DAnimation.cs
- BitmapImage.cs
- ScrollBarAutomationPeer.cs
- SubpageParaClient.cs
- InterleavedZipPartStream.cs
- DefinitionUpdate.cs
- DictionarySectionHandler.cs
- ResourceDescriptionAttribute.cs
- ButtonChrome.cs
- BitmapEffectGroup.cs
- EventProvider.cs
- SrgsElement.cs
- BitmapEffectGroup.cs
- DSASignatureDeformatter.cs
- ContextMenuStripActionList.cs
- ConsoleCancelEventArgs.cs
- Point3DCollection.cs
- SoapFault.cs
- Int32RectValueSerializer.cs
- shaperfactoryquerycacheentry.cs
- SizeAnimationClockResource.cs
- WithParamAction.cs
- SafeHGlobalHandleCritical.cs
- DBSchemaRow.cs
- FormatConvertedBitmap.cs
- CTreeGenerator.cs
- SystemResources.cs
- GregorianCalendarHelper.cs
- ByteFacetDescriptionElement.cs
- Bidi.cs
- TransportContext.cs
- PageCatalogPart.cs
- ToolStripDropDownClosedEventArgs.cs
- MetadataItem_Static.cs
- BindingCompleteEventArgs.cs
- BezierSegment.cs
- Form.cs
- CodeAccessPermission.cs
- TranslateTransform3D.cs
- OutputBuffer.cs
- WindowsListViewGroup.cs
- PointCollectionValueSerializer.cs
- EventBuilder.cs
- GraphicsContext.cs
- PointAnimation.cs
- SqlClientPermission.cs
- SqlUtil.cs
- DocumentGrid.cs
- ipaddressinformationcollection.cs
- AssemblyInfo.cs
- GroupItem.cs
- NetworkInformationPermission.cs
- SyndicationSerializer.cs
- ConstrainedDataObject.cs
- CfgParser.cs
- ViewBox.cs
- IntSecurity.cs
- SizeAnimationUsingKeyFrames.cs
- LocatorGroup.cs
- Zone.cs
- HttpCacheParams.cs
- EditorZone.cs
- ColorContextHelper.cs
- ObjectNotFoundException.cs
- SymbolEqualComparer.cs
- PlatformNotSupportedException.cs
- KeyGesture.cs
- SafePipeHandle.cs
- DispatcherOperation.cs
- XmlChildNodes.cs
- ToolStripLabel.cs
- RemoteDebugger.cs
- DbProviderFactories.cs
- ClientSettingsSection.cs
- PathGradientBrush.cs
- WebPartMinimizeVerb.cs
- OptimizedTemplateContent.cs
- Rotation3DAnimationUsingKeyFrames.cs
- TypeExtensionSerializer.cs