Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LogLogRecord.cs
- ObjectTypeMapping.cs
- QilInvokeEarlyBound.cs
- PolicyReader.cs
- HyperLinkField.cs
- BinaryFormatterSinks.cs
- PageWrapper.cs
- Vector.cs
- ObjectStorage.cs
- HideDisabledControlAdapter.cs
- MatrixAnimationUsingPath.cs
- ReferentialConstraint.cs
- WindowsGraphicsWrapper.cs
- DataObjectSettingDataEventArgs.cs
- TrackingMemoryStream.cs
- ISCIIEncoding.cs
- _BaseOverlappedAsyncResult.cs
- HttpModule.cs
- BamlTreeUpdater.cs
- WrappingXamlSchemaContext.cs
- ClusterSafeNativeMethods.cs
- ThicknessConverter.cs
- EastAsianLunisolarCalendar.cs
- ContainerUtilities.cs
- FullTextBreakpoint.cs
- DoubleLinkList.cs
- BaseCodeDomTreeGenerator.cs
- MainMenu.cs
- HtmlInputReset.cs
- MemoryFailPoint.cs
- ITreeGenerator.cs
- ExpressionBindingCollection.cs
- ProviderConnectionPoint.cs
- GeneralTransformGroup.cs
- DeploymentSection.cs
- ResourceManager.cs
- SqlProcedureAttribute.cs
- ObjectConverter.cs
- HttpFileCollection.cs
- ProxyWebPartManager.cs
- TextRenderer.cs
- DrawingContextDrawingContextWalker.cs
- ChildTable.cs
- PictureBox.cs
- PathFigure.cs
- FieldMetadata.cs
- FaultReason.cs
- AuthenticatedStream.cs
- TypeGeneratedEventArgs.cs
- HwndTarget.cs
- UrlPath.cs
- TableCellCollection.cs
- TdsRecordBufferSetter.cs
- FolderBrowserDialog.cs
- WindowProviderWrapper.cs
- LassoSelectionBehavior.cs
- InstancePersistenceCommandException.cs
- WebRequest.cs
- NavigationFailedEventArgs.cs
- FixedDocument.cs
- HtmlUtf8RawTextWriter.cs
- WebPartDisplayMode.cs
- CachedTypeface.cs
- XamlToRtfParser.cs
- ForceCopyBuildProvider.cs
- ClientFormsAuthenticationCredentials.cs
- UIInitializationException.cs
- UTF7Encoding.cs
- SingletonInstanceContextProvider.cs
- EventManager.cs
- Boolean.cs
- TextEffectCollection.cs
- StoreAnnotationsMap.cs
- GroupBoxAutomationPeer.cs
- TextDecorationCollectionConverter.cs
- ClientApiGenerator.cs
- DivideByZeroException.cs
- BindableAttribute.cs
- Logging.cs
- CompositeFontParser.cs
- InputLanguageCollection.cs
- DefaultClaimSet.cs
- XhtmlBasicValidatorAdapter.cs
- PriorityItem.cs
- XmlWhitespace.cs
- CollectionType.cs
- EnterpriseServicesHelper.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- followingsibling.cs
- ForeignKeyConstraint.cs
- TransportElement.cs
- SqlFormatter.cs
- PublisherIdentityPermission.cs
- PermissionAttributes.cs
- DatatypeImplementation.cs
- PanelDesigner.cs
- TreeViewDataItemAutomationPeer.cs
- RadioButton.cs
- CssTextWriter.cs
- Compilation.cs