Code:
/ 4.0 / 4.0 / 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. /// ///// 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
- SharedStatics.cs
- WebSysDisplayNameAttribute.cs
- ValidationSummaryDesigner.cs
- StylusTip.cs
- Selection.cs
- SplitterCancelEvent.cs
- Section.cs
- CodeSnippetExpression.cs
- Floater.cs
- XamlSerializerUtil.cs
- ExpandCollapsePattern.cs
- SolidColorBrush.cs
- TextParentUndoUnit.cs
- XmlSortKeyAccumulator.cs
- Exceptions.cs
- SocketElement.cs
- EntityDataSourceQueryBuilder.cs
- CustomValidator.cs
- ObjectListCommandEventArgs.cs
- XamlFigureLengthSerializer.cs
- Keyboard.cs
- EntityDataSourceChangedEventArgs.cs
- TraceContextEventArgs.cs
- TextComposition.cs
- AsyncOperationManager.cs
- Resources.Designer.cs
- TextDecorations.cs
- AuthenticationModuleElement.cs
- EpmAttributeNameBuilder.cs
- RenderingEventArgs.cs
- Soap11ServerProtocol.cs
- sqlstateclientmanager.cs
- WebPartHeaderCloseVerb.cs
- CompoundFileStorageReference.cs
- SqlDataReader.cs
- XmlQuerySequence.cs
- NativeMethods.cs
- DiscoveryReference.cs
- TimeStampChecker.cs
- XhtmlBasicImageAdapter.cs
- SoapProtocolReflector.cs
- QuotedPrintableStream.cs
- FigureHelper.cs
- MSAAWinEventWrap.cs
- TimeSpanOrInfiniteConverter.cs
- DataProviderNameConverter.cs
- ReliableReplySessionChannel.cs
- XmlAnyElementAttribute.cs
- PeerMaintainer.cs
- SrgsGrammarCompiler.cs
- Freezable.cs
- LogAppendAsyncResult.cs
- AsyncCompletedEventArgs.cs
- WindowsTab.cs
- StylusCaptureWithinProperty.cs
- DesignerDataTableBase.cs
- XmlSchemaDocumentation.cs
- ExcludeFromCodeCoverageAttribute.cs
- FixUpCollection.cs
- GridEntry.cs
- NativeRightsManagementAPIsStructures.cs
- sqlcontext.cs
- OpCodes.cs
- ProfilePropertySettings.cs
- AppDomainCompilerProxy.cs
- ArgumentNullException.cs
- DurableInstanceProvider.cs
- ToolBarTray.cs
- SerializationHelper.cs
- XmlEntity.cs
- EnumerableRowCollectionExtensions.cs
- TypefaceMap.cs
- FlowSwitch.cs
- NativeMethods.cs
- GlobalizationAssembly.cs
- BmpBitmapDecoder.cs
- HttpCacheVary.cs
- DocumentGridContextMenu.cs
- SiteMapNodeCollection.cs
- CustomErrorsSection.cs
- XmlBoundElement.cs
- recordstate.cs
- CodeCommentStatementCollection.cs
- StrokeNodeOperations2.cs
- SqlCacheDependencySection.cs
- LocationSectionRecord.cs
- SimpleLine.cs
- Classification.cs
- ToggleProviderWrapper.cs
- FunctionQuery.cs
- IncrementalReadDecoders.cs
- DataGridColumnFloatingHeader.cs
- WorkflowEnvironment.cs
- XmlSerializerVersionAttribute.cs
- ContainsRowNumberChecker.cs
- XDRSchema.cs
- IdleTimeoutMonitor.cs
- SymbolTable.cs
- MethodBuilderInstantiation.cs
- PointCollection.cs