Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ActiveDocumentEvent.cs / 1305376 / 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
- XPathExpr.cs
- MultiplexingFormatMapping.cs
- PolyBezierSegment.cs
- CommandLineParser.cs
- SQLMoneyStorage.cs
- ExpressionBinding.cs
- CqlIdentifiers.cs
- ActivationArguments.cs
- HttpListenerContext.cs
- AppModelKnownContentFactory.cs
- SortableBindingList.cs
- ProjectionPath.cs
- XmlTextReader.cs
- SpecialNameAttribute.cs
- FreeFormDragDropManager.cs
- Pen.cs
- MailHeaderInfo.cs
- LexicalChunk.cs
- ThreadInterruptedException.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- XmlUtil.cs
- SyndicationItem.cs
- TdsParserSessionPool.cs
- ActivityFunc.cs
- QueryableDataSource.cs
- TextCharacters.cs
- TypefaceMetricsCache.cs
- ResourceSet.cs
- UriScheme.cs
- _LocalDataStoreMgr.cs
- RayMeshGeometry3DHitTestResult.cs
- Pen.cs
- FilterException.cs
- RTLAwareMessageBox.cs
- storagemappingitemcollection.viewdictionary.cs
- MulticastDelegate.cs
- AppDomainGrammarProxy.cs
- LinqDataSourceValidationException.cs
- FormsAuthenticationConfiguration.cs
- PipelineModuleStepContainer.cs
- NativeMethods.cs
- WindowsGraphicsWrapper.cs
- EndOfStreamException.cs
- Int32Storage.cs
- EnterpriseServicesHelper.cs
- BitmapCacheBrush.cs
- DataGridRowClipboardEventArgs.cs
- UnknownWrapper.cs
- ExpressionPrinter.cs
- AssemblyInfo.cs
- ChangesetResponse.cs
- ParseChildrenAsPropertiesAttribute.cs
- ItemContainerGenerator.cs
- TableParagraph.cs
- MultiSelector.cs
- XmlReflectionMember.cs
- ContextMarshalException.cs
- WebPartVerbsEventArgs.cs
- TextServicesContext.cs
- ServiceHttpHandlerFactory.cs
- xsdvalidator.cs
- URL.cs
- EntityCommandExecutionException.cs
- ValueSerializerAttribute.cs
- SrgsSubset.cs
- BehaviorEditorPart.cs
- ParsedAttributeCollection.cs
- DurableTimerExtension.cs
- PageVisual.cs
- AuthenticateEventArgs.cs
- ImageMetadata.cs
- CodeComment.cs
- SplineKeyFrames.cs
- HttpListenerRequest.cs
- FatalException.cs
- XmlILConstructAnalyzer.cs
- PolicyLevel.cs
- XmlSchemaType.cs
- Deserializer.cs
- SqlProfileProvider.cs
- dataobject.cs
- XmlSchemaChoice.cs
- FileIOPermission.cs
- DropDownHolder.cs
- AdornerPresentationContext.cs
- ProtocolViolationException.cs
- CookielessHelper.cs
- DataGridViewHitTestInfo.cs
- EraserBehavior.cs
- OracleCommandBuilder.cs
- DataGridViewCellLinkedList.cs
- RawTextInputReport.cs
- OutOfProcStateClientManager.cs
- PointConverter.cs
- DebuggerAttributes.cs
- ErrorLog.cs
- CalendarDay.cs
- CredentialCache.cs
- Condition.cs
- GraphicsContainer.cs