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
- CompilerState.cs
- Debug.cs
- ContentElement.cs
- FormViewInsertEventArgs.cs
- BitmapVisualManager.cs
- ServiceEndpointElement.cs
- HTTPNotFoundHandler.cs
- Selector.cs
- SchemaElement.cs
- UserControlAutomationPeer.cs
- RuleEngine.cs
- WinFormsSpinner.cs
- XmlSerializationReader.cs
- WorkerRequest.cs
- XPathPatternParser.cs
- InlineUIContainer.cs
- SystemWebSectionGroup.cs
- KnownBoxes.cs
- XmlEncoding.cs
- InvokeMemberBinder.cs
- TextViewBase.cs
- InputManager.cs
- XmlSchemaObject.cs
- TreeViewTemplateSelector.cs
- CallbackHandler.cs
- SQLBoolean.cs
- SearchForVirtualItemEventArgs.cs
- MarkupCompiler.cs
- SpeakCompletedEventArgs.cs
- Win32.cs
- DataViewManager.cs
- coordinatorscratchpad.cs
- ThreadStartException.cs
- StrokeRenderer.cs
- SystemGatewayIPAddressInformation.cs
- DataSourceSelectArguments.cs
- TextTreePropertyUndoUnit.cs
- StringReader.cs
- control.ime.cs
- EventPropertyMap.cs
- Exceptions.cs
- ReadingWritingEntityEventArgs.cs
- LinkedList.cs
- EdmConstants.cs
- SignatureToken.cs
- RotateTransform3D.cs
- EnumerableCollectionView.cs
- SQLString.cs
- MultiBinding.cs
- DrawingGroup.cs
- cookiecollection.cs
- LogArchiveSnapshot.cs
- OutOfProcStateClientManager.cs
- XmlQueryRuntime.cs
- WebServiceHandler.cs
- ToolStripPanelCell.cs
- ListViewTableCell.cs
- XmlCDATASection.cs
- DrawingContextDrawingContextWalker.cs
- ImageCodecInfoPrivate.cs
- SafeRegistryKey.cs
- SystemFonts.cs
- CapabilitiesRule.cs
- CssClassPropertyAttribute.cs
- ValidationSettings.cs
- DbParameterCollectionHelper.cs
- HttpException.cs
- BinaryExpressionHelper.cs
- Point3DConverter.cs
- WebCategoryAttribute.cs
- SerializationException.cs
- JavaScriptObjectDeserializer.cs
- Vector3D.cs
- ConstantCheck.cs
- HashHelper.cs
- ServerTooBusyException.cs
- Psha1DerivedKeyGenerator.cs
- Point.cs
- XmlSchemaException.cs
- Highlights.cs
- WindowCollection.cs
- PeerUnsafeNativeCryptMethods.cs
- SqlUtils.cs
- SelectedDatesCollection.cs
- VisualTreeUtils.cs
- AccessorTable.cs
- PreparingEnlistment.cs
- filewebrequest.cs
- XmlNodeWriter.cs
- Convert.cs
- MLangCodePageEncoding.cs
- EventBuilder.cs
- Menu.cs
- BitmapCache.cs
- DictionarySectionHandler.cs
- WorkItem.cs
- TdsEnums.cs
- SendActivityDesigner.cs
- ReadingWritingEntityEventArgs.cs
- DataServiceEntityAttribute.cs