Code:
/ DotNET / DotNET / 8.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
- ImageField.cs
- IteratorDescriptor.cs
- RegexCharClass.cs
- TileBrush.cs
- SymbolType.cs
- ByteAnimationBase.cs
- SQLInt16Storage.cs
- Ticks.cs
- WasHttpHandlersInstallComponent.cs
- TrustLevelCollection.cs
- OdbcFactory.cs
- SiteMap.cs
- XmlEventCache.cs
- DragStartedEventArgs.cs
- TextServicesProperty.cs
- ValidationService.cs
- TextFormatterContext.cs
- ConstraintConverter.cs
- LazyTextWriterCreator.cs
- HttpStaticObjectsCollectionBase.cs
- CompositeActivityTypeDescriptor.cs
- GroupQuery.cs
- ProviderCollection.cs
- MethodBuilderInstantiation.cs
- Panel.cs
- PrintDocument.cs
- MostlySingletonList.cs
- Int64Animation.cs
- InfoCardRSACryptoProvider.cs
- MultiPropertyDescriptorGridEntry.cs
- RawStylusInput.cs
- BufferedReceiveManager.cs
- AnimationClock.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- LogFlushAsyncResult.cs
- AnnotationDocumentPaginator.cs
- Array.cs
- XmlEnumAttribute.cs
- Rect.cs
- InfoCard.cs
- mediaeventshelper.cs
- _RequestCacheProtocol.cs
- PartDesigner.cs
- WebBrowserProgressChangedEventHandler.cs
- RequestCache.cs
- SqlReferenceCollection.cs
- CatalogZone.cs
- CompilationPass2TaskInternal.cs
- FixedSOMContainer.cs
- DocumentXPathNavigator.cs
- XpsS0ValidatingLoader.cs
- OperationPickerDialog.cs
- TrackingCondition.cs
- OdbcUtils.cs
- MemoryMappedView.cs
- FrameSecurityDescriptor.cs
- SecureConversationDriver.cs
- LOSFormatter.cs
- NativeMethods.cs
- CLSCompliantAttribute.cs
- HttpCookiesSection.cs
- AuthenticatedStream.cs
- EditModeSwitchButton.cs
- LinkLabel.cs
- Parser.cs
- TextElementEnumerator.cs
- Triplet.cs
- PrinterSettings.cs
- WebConfigurationManager.cs
- JournalEntryStack.cs
- DispatcherHooks.cs
- MemoryPressure.cs
- ImageMapEventArgs.cs
- MappingMetadataHelper.cs
- ProcessManager.cs
- CompilerGlobalScopeAttribute.cs
- NotifyCollectionChangedEventArgs.cs
- StateBag.cs
- NetworkInformationPermission.cs
- ellipse.cs
- AttributeCollection.cs
- XmlLoader.cs
- xml.cs
- GenericAuthenticationEventArgs.cs
- Vars.cs
- OutputCacheProfile.cs
- XPathNodeList.cs
- SafeEventHandle.cs
- BamlCollectionHolder.cs
- columnmapfactory.cs
- TitleStyle.cs
- Preprocessor.cs
- SiteMapNode.cs
- SqlProcedureAttribute.cs
- BamlLocalizableResource.cs
- backend.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- ComboBox.cs
- HtmlTableCellCollection.cs
- OptimalTextSource.cs