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
- SortQuery.cs
- TreeIterators.cs
- HtmlInputText.cs
- SHA1.cs
- TraceLevelStore.cs
- Int64Animation.cs
- DataRowCollection.cs
- ManualWorkflowSchedulerService.cs
- PropertyPathConverter.cs
- GeneralTransform.cs
- SqlLiftIndependentRowExpressions.cs
- LOSFormatter.cs
- QilTargetType.cs
- HtmlControlPersistable.cs
- UrlPropertyAttribute.cs
- PriorityQueue.cs
- CompressionTransform.cs
- SqlConnectionPoolProviderInfo.cs
- ChannelDispatcher.cs
- WindowsListViewItemCheckBox.cs
- SqlDataSourceCache.cs
- AssemblyResourceLoader.cs
- CollectionChangedEventManager.cs
- Reference.cs
- TrustManager.cs
- MergeFilterQuery.cs
- DataConnectionHelper.cs
- UpdateDelegates.Generated.cs
- BufferedResponseStream.cs
- StorageComplexPropertyMapping.cs
- AttachedPropertyBrowsableAttribute.cs
- VariableElement.cs
- WebPartDisplayModeEventArgs.cs
- ReferenceSchema.cs
- recordstate.cs
- OutputWindow.cs
- ByteArrayHelperWithString.cs
- PathTooLongException.cs
- CodePageUtils.cs
- AsyncOperationContext.cs
- PropertyConverter.cs
- XmlTypeAttribute.cs
- StylusButton.cs
- PrintDialogDesigner.cs
- BitConverter.cs
- StandardOleMarshalObject.cs
- WindowsToolbar.cs
- Cursors.cs
- DropAnimation.xaml.cs
- ConstraintManager.cs
- CompilationRelaxations.cs
- GcHandle.cs
- DataColumnMappingCollection.cs
- PathFigureCollectionValueSerializer.cs
- CodeTypeMember.cs
- KeyEventArgs.cs
- TextureBrush.cs
- GraphicsPath.cs
- SchemaTableOptionalColumn.cs
- DataBindEngine.cs
- DataSourceExpressionCollection.cs
- ProviderUtil.cs
- VoiceObjectToken.cs
- ImageIndexConverter.cs
- SqlUtils.cs
- ContextMenu.cs
- TextEditorParagraphs.cs
- HealthMonitoringSectionHelper.cs
- DbConnectionPoolGroupProviderInfo.cs
- XamlPointCollectionSerializer.cs
- IOException.cs
- LongTypeConverter.cs
- Label.cs
- ReversePositionQuery.cs
- XmlWriterDelegator.cs
- precedingquery.cs
- XmlSchemaAnyAttribute.cs
- RequestTimeoutManager.cs
- XmlIgnoreAttribute.cs
- Hashtable.cs
- FlowLayout.cs
- ObjectKeyFrameCollection.cs
- CollectionDataContractAttribute.cs
- TextLine.cs
- panel.cs
- XPathQueryGenerator.cs
- KeyProperty.cs
- Util.cs
- ContainerAction.cs
- BufferCache.cs
- ImportOptions.cs
- IsolationInterop.cs
- Column.cs
- CounterCreationDataConverter.cs
- SystemEvents.cs
- WebPartEventArgs.cs
- SqlBooleanizer.cs
- SpellerStatusTable.cs
- DeviceOverridableAttribute.cs
- BuiltInExpr.cs