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
- XMLSchema.cs
- UnsafeNativeMethods.cs
- SizeIndependentAnimationStorage.cs
- DescendantOverDescendantQuery.cs
- GraphicsPathIterator.cs
- SqlDataReaderSmi.cs
- X500Name.cs
- HMAC.cs
- Events.cs
- ChangePassword.cs
- DataTableCollection.cs
- MulticastDelegate.cs
- CodeTypeReference.cs
- CompiledRegexRunner.cs
- HierarchicalDataTemplate.cs
- ListItemCollection.cs
- OdbcRowUpdatingEvent.cs
- LogicalCallContext.cs
- MultiPropertyDescriptorGridEntry.cs
- Events.cs
- HttpSysSettings.cs
- TextViewSelectionProcessor.cs
- WebPartCollection.cs
- TraceListeners.cs
- SqlUserDefinedAggregateAttribute.cs
- ErrorWrapper.cs
- GeneralTransform.cs
- LinkLabel.cs
- WorkflowServiceNamespace.cs
- EdmComplexPropertyAttribute.cs
- BitmapSourceSafeMILHandle.cs
- _ProxyChain.cs
- GifBitmapEncoder.cs
- MDIWindowDialog.cs
- JournalNavigationScope.cs
- _FixedSizeReader.cs
- SystemIPInterfaceProperties.cs
- nulltextcontainer.cs
- TrackBarDesigner.cs
- JoinElimination.cs
- RedirectionProxy.cs
- ReadingWritingEntityEventArgs.cs
- CodeIdentifier.cs
- SendActivityEventArgs.cs
- SchemaImporterExtensionsSection.cs
- SystemWebCachingSectionGroup.cs
- NetworkInterface.cs
- ResolveNextArgumentWorkItem.cs
- AppLevelCompilationSectionCache.cs
- Int32AnimationUsingKeyFrames.cs
- CodeConstructor.cs
- XmlDomTextWriter.cs
- EditorReuseAttribute.cs
- RootBrowserWindowProxy.cs
- TimersDescriptionAttribute.cs
- VisualBrush.cs
- LinkedResourceCollection.cs
- sqlcontext.cs
- BmpBitmapDecoder.cs
- RotationValidation.cs
- DefaultWorkflowLoaderService.cs
- Column.cs
- ParserOptions.cs
- TypeCollectionDesigner.xaml.cs
- SharedUtils.cs
- PeerApplicationLaunchInfo.cs
- AssemblyFilter.cs
- SmiGettersStream.cs
- WriteableBitmap.cs
- AnimationStorage.cs
- XmlUtilWriter.cs
- SqlNotificationEventArgs.cs
- ExeContext.cs
- MailMessageEventArgs.cs
- XmlEventCache.cs
- XmlNodeWriter.cs
- CompositeFontFamily.cs
- _AutoWebProxyScriptWrapper.cs
- HtmlTableCell.cs
- Expression.cs
- Base64Decoder.cs
- ChildTable.cs
- EpmTargetPathSegment.cs
- XPathNodeIterator.cs
- MustUnderstandSoapException.cs
- AtomicFile.cs
- BasePattern.cs
- MissingFieldException.cs
- HandleDictionary.cs
- PropertyDescriptor.cs
- SrgsToken.cs
- Send.cs
- RtfNavigator.cs
- SqlDependency.cs
- PropertyCollection.cs
- Bitmap.cs
- DataFormats.cs
- ExpanderAutomationPeer.cs
- SqlBuffer.cs
- MessageAction.cs