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
- DefaultValueMapping.cs
- HashSetDebugView.cs
- NodeFunctions.cs
- MachinePropertyVariants.cs
- QueryCacheEntry.cs
- SqlCommandBuilder.cs
- XmlC14NWriter.cs
- MoveSizeWinEventHandler.cs
- DataGridItemEventArgs.cs
- SQLInt32.cs
- __Filters.cs
- XPathMessageFilterElementComparer.cs
- SmiRecordBuffer.cs
- PropertiesTab.cs
- Int32Collection.cs
- DataGridViewRowHeaderCell.cs
- LineBreakRecord.cs
- ActiveXHost.cs
- WindowsAltTab.cs
- XmlILOptimizerVisitor.cs
- DbProviderFactory.cs
- Stack.cs
- ObsoleteAttribute.cs
- TableColumn.cs
- ResourceBinder.cs
- PtsContext.cs
- RegexCompilationInfo.cs
- InstanceDataCollection.cs
- prefixendpointaddressmessagefilter.cs
- ObjectSet.cs
- IDReferencePropertyAttribute.cs
- CategoriesDocumentFormatter.cs
- EntityClassGenerator.cs
- CellLabel.cs
- HttpProfileBase.cs
- SqlBuffer.cs
- HttpDebugHandler.cs
- TransportListener.cs
- BooleanToVisibilityConverter.cs
- DefaultBindingPropertyAttribute.cs
- TagNameToTypeMapper.cs
- ContentPresenter.cs
- CssClassPropertyAttribute.cs
- BookmarkWorkItem.cs
- TableAdapterManagerGenerator.cs
- StatusBarPanel.cs
- embossbitmapeffect.cs
- XmlWriterSettings.cs
- StylusCaptureWithinProperty.cs
- ThrowHelper.cs
- DependencyObjectProvider.cs
- PerformanceCounterPermissionEntry.cs
- ExtenderControl.cs
- TransformerTypeCollection.cs
- BinaryNode.cs
- SafeLibraryHandle.cs
- BaseDataListComponentEditor.cs
- TypeLibConverter.cs
- TextMessageEncoder.cs
- LoadWorkflowCommand.cs
- COM2Enum.cs
- wgx_render.cs
- TextPenaltyModule.cs
- FileUpload.cs
- DbgUtil.cs
- BaseCodePageEncoding.cs
- MetadataArtifactLoaderFile.cs
- InstanceDescriptor.cs
- XsltInput.cs
- InstallerTypeAttribute.cs
- ControlBindingsCollection.cs
- Evaluator.cs
- FixedSOMPage.cs
- DescendantOverDescendantQuery.cs
- GenericRootAutomationPeer.cs
- XamlUtilities.cs
- Simplifier.cs
- TypeGeneratedEventArgs.cs
- ConnectionManagementElementCollection.cs
- VoiceObjectToken.cs
- WpfXamlType.cs
- SimpleWorkerRequest.cs
- IOException.cs
- HwndKeyboardInputProvider.cs
- ItemList.cs
- SerializableAttribute.cs
- Geometry.cs
- SqlCrossApplyToCrossJoin.cs
- FixedSchema.cs
- KerberosReceiverSecurityToken.cs
- PenContext.cs
- SafeUserTokenHandle.cs
- TransactionChannel.cs
- XsltArgumentList.cs
- BidirectionalDictionary.cs
- GeneralTransform.cs
- BinaryNode.cs
- SiteMapDataSource.cs
- ChunkedMemoryStream.cs
- CalendarTable.cs