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
- TypedReference.cs
- GeometryHitTestResult.cs
- mansign.cs
- SQLDecimalStorage.cs
- QueryableDataSourceEditData.cs
- HttpConfigurationContext.cs
- TextRange.cs
- LoginDesigner.cs
- SafeRightsManagementSessionHandle.cs
- TemplateAction.cs
- BinaryReader.cs
- FullTrustAssemblyCollection.cs
- Token.cs
- DesignRelation.cs
- XmlSchemaChoice.cs
- MLangCodePageEncoding.cs
- UnknownWrapper.cs
- DrawToolTipEventArgs.cs
- arc.cs
- SizeConverter.cs
- KerberosSecurityTokenProvider.cs
- CryptoKeySecurity.cs
- CharConverter.cs
- Point3DAnimationUsingKeyFrames.cs
- FacetValues.cs
- XmlSchemaSimpleTypeUnion.cs
- EnumType.cs
- UserControl.cs
- TreeNodeCollection.cs
- ProfilePropertyMetadata.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- EntityTemplateFactory.cs
- LocationChangedEventArgs.cs
- HttpRawResponse.cs
- ObjectDataSourceStatusEventArgs.cs
- SqlDataReaderSmi.cs
- CompositeClientFormatter.cs
- Grant.cs
- SQLInt32.cs
- SystemTcpConnection.cs
- PropertyGridEditorPart.cs
- RowToFieldTransformer.cs
- HandleCollector.cs
- StronglyTypedResourceBuilder.cs
- SubstitutionResponseElement.cs
- PrintDialogDesigner.cs
- CodeDirectiveCollection.cs
- LinkedResourceCollection.cs
- QueryCacheManager.cs
- DataControlField.cs
- TypeToken.cs
- XmlIncludeAttribute.cs
- TabControlEvent.cs
- FontWeights.cs
- NetPipeSectionData.cs
- Polygon.cs
- PackageDigitalSignature.cs
- CreateUserWizard.cs
- Grid.cs
- HtmlCalendarAdapter.cs
- StringCollection.cs
- StringStorage.cs
- ParagraphResult.cs
- SchemaConstraints.cs
- RegexWorker.cs
- CookieHandler.cs
- AutomationPattern.cs
- FontStyle.cs
- Matrix3D.cs
- TransformedBitmap.cs
- WindowsImpersonationContext.cs
- ScrollChrome.cs
- BinaryVersion.cs
- DataGridComponentEditor.cs
- MultipartIdentifier.cs
- MobileTemplatedControlDesigner.cs
- SerializationSectionGroup.cs
- MobilePage.cs
- OutputCacheProfileCollection.cs
- FileDialog.cs
- PageCatalogPart.cs
- WebPartManagerInternals.cs
- SqlSelectClauseBuilder.cs
- SqlProfileProvider.cs
- NativeMethodsOther.cs
- WindowVisualStateTracker.cs
- FixedTextView.cs
- JulianCalendar.cs
- ContentPlaceHolderDesigner.cs
- StatusBarItem.cs
- XmlCodeExporter.cs
- IDispatchConstantAttribute.cs
- UpDownEvent.cs
- Decorator.cs
- PropertyItemInternal.cs
- SemanticTag.cs
- DSACryptoServiceProvider.cs
- BinaryQueryOperator.cs
- RoutedUICommand.cs
- LayoutEvent.cs