Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- ToolStripItemTextRenderEventArgs.cs
- MethodBuilder.cs
- ByValueEqualityComparer.cs
- CryptoConfig.cs
- GridView.cs
- TextEncodedRawTextWriter.cs
- WebRequestModulesSection.cs
- LinearGradientBrush.cs
- ScriptServiceAttribute.cs
- TypeContext.cs
- Psha1DerivedKeyGenerator.cs
- PromptEventArgs.cs
- TransactionScopeDesigner.cs
- TrackingProvider.cs
- Geometry.cs
- AssociationSetMetadata.cs
- PrintDialog.cs
- OptimalTextSource.cs
- AssemblyName.cs
- NamedPermissionSet.cs
- BackgroundWorker.cs
- SafeNativeMethods.cs
- BitArray.cs
- SkewTransform.cs
- AspNetHostingPermission.cs
- ForEachAction.cs
- FullTrustAssembliesSection.cs
- DataFormat.cs
- DoubleAnimationClockResource.cs
- XmlRootAttribute.cs
- CapacityStreamGeometryContext.cs
- XmlNavigatorFilter.cs
- FileClassifier.cs
- DbSetClause.cs
- TypedColumnHandler.cs
- FragmentQueryProcessor.cs
- BamlWriter.cs
- IIS7UserPrincipal.cs
- TextEditor.cs
- EventLogPermissionEntry.cs
- UnsafeNativeMethods.cs
- TransformCryptoHandle.cs
- SiteIdentityPermission.cs
- FormsAuthenticationUserCollection.cs
- HttpProfileBase.cs
- ObjectReaderCompiler.cs
- TextBoxBase.cs
- TransactedBatchingElement.cs
- RandomDelayQueuedSendsAsyncResult.cs
- ListComponentEditor.cs
- NotFiniteNumberException.cs
- XmlILStorageConverter.cs
- TextServicesManager.cs
- ProcessHostServerConfig.cs
- FuncTypeConverter.cs
- SchemaConstraints.cs
- Activity.cs
- BrowserTree.cs
- LOSFormatter.cs
- FindSimilarActivitiesVerb.cs
- ProcessHost.cs
- MachineSettingsSection.cs
- WizardPanelChangingEventArgs.cs
- XmlBoundElement.cs
- DirectionalLight.cs
- WindowsHyperlink.cs
- EncoderReplacementFallback.cs
- XmlBoundElement.cs
- DictionarySectionHandler.cs
- base64Transforms.cs
- CookieHandler.cs
- HostProtectionException.cs
- TemplateControlParser.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- CharAnimationUsingKeyFrames.cs
- PolyLineSegment.cs
- BlurBitmapEffect.cs
- GZipStream.cs
- InkPresenterAutomationPeer.cs
- MenuAutomationPeer.cs
- ListCollectionView.cs
- ListViewGroupConverter.cs
- ResolveNameEventArgs.cs
- TemplatedAdorner.cs
- SafeHandle.cs
- WebDescriptionAttribute.cs
- SafeMILHandle.cs
- ClientFormsAuthenticationMembershipProvider.cs
- ExtentKey.cs
- MemberProjectionIndex.cs
- FtpCachePolicyElement.cs
- ExecutionContext.cs
- SiteMapPath.cs
- DiscreteKeyFrames.cs
- XPathItem.cs
- Itemizer.cs
- DataListItemCollection.cs
- SplashScreenNativeMethods.cs
- TemplateNodeContextMenu.cs
- DataGridViewDataErrorEventArgs.cs