Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } } // 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
- SQLDateTime.cs
- WebPartConnectionsEventArgs.cs
- FontCacheLogic.cs
- AnnotationStore.cs
- Knowncolors.cs
- ReadOnlyDataSourceView.cs
- DataGridViewElement.cs
- TemplateInstanceAttribute.cs
- Pair.cs
- RootProfilePropertySettingsCollection.cs
- HtmlTernaryTree.cs
- CollectionDataContractAttribute.cs
- XhtmlBasicTextViewAdapter.cs
- WebPartMinimizeVerb.cs
- SqlAliasesReferenced.cs
- DateTime.cs
- BinaryFormatterSinks.cs
- OneOf.cs
- SqlUserDefinedTypeAttribute.cs
- TableRowGroup.cs
- WebPartConnection.cs
- FileResponseElement.cs
- RectangleGeometry.cs
- CompositeDataBoundControl.cs
- BitmapEffectInputData.cs
- ExtensionWindowResizeGrip.cs
- LinearGradientBrush.cs
- DataContractJsonSerializer.cs
- tabpagecollectioneditor.cs
- MDIControlStrip.cs
- CheckedListBox.cs
- DurationConverter.cs
- XPathNavigatorReader.cs
- OdbcEnvironmentHandle.cs
- XPathParser.cs
- UInt16Storage.cs
- SqlWriter.cs
- WebPartEditorOkVerb.cs
- BinaryFormatterWriter.cs
- WorkflowQueuingService.cs
- MethodBuilder.cs
- TransportChannelListener.cs
- SoapInteropTypes.cs
- TraceSwitch.cs
- PixelFormat.cs
- ClientRuntimeConfig.cs
- XmlWhitespace.cs
- ReaderWriterLockSlim.cs
- Rectangle.cs
- StylusButtonEventArgs.cs
- EndpointInfoCollection.cs
- GeneralTransform2DTo3DTo2D.cs
- PerformanceCounterPermissionEntry.cs
- EdgeModeValidation.cs
- AnnotationResourceChangedEventArgs.cs
- ConstNode.cs
- _HeaderInfo.cs
- DrawingCollection.cs
- DataServiceHostFactory.cs
- XmlCollation.cs
- MissingMethodException.cs
- XamlPathDataSerializer.cs
- WorkflowRuntimeServicesBehavior.cs
- Vector3DConverter.cs
- ShimAsPublicXamlType.cs
- TypeNameConverter.cs
- TypeConvertions.cs
- Type.cs
- ProfilePropertyNameValidator.cs
- MSAAWinEventWrap.cs
- PointCollection.cs
- ConstNode.cs
- SoapAttributes.cs
- UInt16.cs
- IxmlLineInfo.cs
- XmlCountingReader.cs
- InvalidFilterCriteriaException.cs
- XmlSchemaImporter.cs
- SmiRecordBuffer.cs
- ClassHandlersStore.cs
- ColorConverter.cs
- XmlSchemas.cs
- PreProcessInputEventArgs.cs
- IdentityManager.cs
- DeviceContexts.cs
- ToolboxComponentsCreatedEventArgs.cs
- SqlServer2KCompatibilityCheck.cs
- DataGridViewCellValueEventArgs.cs
- CanonicalizationDriver.cs
- PerformanceCounterManager.cs
- ComboBoxAutomationPeer.cs
- XmlTextAttribute.cs
- WindowsButton.cs
- ImmComposition.cs
- BitmapEncoder.cs
- WindowsTab.cs
- ExpressionBuilderCollection.cs
- KeyboardEventArgs.cs
- SetterBase.cs
- DataViewSetting.cs