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
- FixedDocumentSequencePaginator.cs
- AsymmetricSecurityBindingElement.cs
- COM2PropertyBuilderUITypeEditor.cs
- EventsTab.cs
- KeyInfo.cs
- RadioButtonList.cs
- mactripleDES.cs
- APCustomTypeDescriptor.cs
- DataBoundControlActionList.cs
- RelationshipConstraintValidator.cs
- SvcMapFileLoader.cs
- SQLMoneyStorage.cs
- ICollection.cs
- ByteConverter.cs
- Single.cs
- EditorZone.cs
- LateBoundBitmapDecoder.cs
- EditorPartDesigner.cs
- SoapEnumAttribute.cs
- HTTPAPI_VERSION.cs
- Process.cs
- AddToCollection.cs
- CompressedStack.cs
- DecoderNLS.cs
- XmlSchemaValidator.cs
- RsaKeyIdentifierClause.cs
- ComponentSerializationService.cs
- CompatibleComparer.cs
- XamlParser.cs
- SqlUnionizer.cs
- HttpProtocolReflector.cs
- WmlTextViewAdapter.cs
- SqlDataSourceSelectingEventArgs.cs
- PerspectiveCamera.cs
- SearchExpression.cs
- SchemaTableOptionalColumn.cs
- EndCreateSecurityTokenRequest.cs
- LocatorPart.cs
- ProtocolElementCollection.cs
- ClientConfigPaths.cs
- DataGridColumnCollectionEditor.cs
- RouteCollection.cs
- dataSvcMapFileLoader.cs
- BuiltInPermissionSets.cs
- OleDbEnumerator.cs
- JulianCalendar.cs
- TdsEnums.cs
- DefaultHttpHandler.cs
- DesignerView.xaml.cs
- SetIndexBinder.cs
- Delay.cs
- RouteParser.cs
- WebBrowserContainer.cs
- SystemWebCachingSectionGroup.cs
- EntityContainerAssociationSetEnd.cs
- Input.cs
- LockCookie.cs
- EnumerableValidator.cs
- XappLauncher.cs
- KeyNameIdentifierClause.cs
- TargetConverter.cs
- GroupDescription.cs
- NewItemsContextMenuStrip.cs
- ReachFixedDocumentSerializer.cs
- NativeActivityContext.cs
- LogEntryHeaderv1Deserializer.cs
- CancellationTokenSource.cs
- CompatibleComparer.cs
- XmlElementList.cs
- DataGridCell.cs
- Pair.cs
- DesignTimeTemplateParser.cs
- OneOf.cs
- NeutralResourcesLanguageAttribute.cs
- SecurityRuntime.cs
- ConfigXmlElement.cs
- EventItfInfo.cs
- Vector.cs
- WrappedIUnknown.cs
- TagPrefixInfo.cs
- ConfigXmlReader.cs
- HtmlInputControl.cs
- ManipulationInertiaStartingEventArgs.cs
- _AcceptOverlappedAsyncResult.cs
- InternalsVisibleToAttribute.cs
- SimpleApplicationHost.cs
- SID.cs
- FaultException.cs
- LocationFactory.cs
- Condition.cs
- SecurityAlgorithmSuiteConverter.cs
- XmlQueryOutput.cs
- SecurityKeyUsage.cs
- ImportFileRequest.cs
- RouteUrlExpressionBuilder.cs
- HttpResponseBase.cs
- Transform3DGroup.cs
- ServiceModelTimeSpanValidator.cs
- DeleteHelper.cs
- WorkflowRuntimeService.cs