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
- NumberAction.cs
- FamilyMap.cs
- Base64Decoder.cs
- SvcMapFileLoader.cs
- UDPClient.cs
- QualifiedCellIdBoolean.cs
- CryptoKeySecurity.cs
- EntityContainerEmitter.cs
- AuthenticateEventArgs.cs
- TextServicesLoader.cs
- DataKey.cs
- DocumentCollection.cs
- AuthenticationModulesSection.cs
- _Connection.cs
- SubqueryRules.cs
- bindurihelper.cs
- SystemIPGlobalProperties.cs
- DataGridViewComboBoxColumnDesigner.cs
- DataBindingExpressionBuilder.cs
- Utils.cs
- RSAOAEPKeyExchangeDeformatter.cs
- XPathDocument.cs
- StackSpiller.Temps.cs
- x509store.cs
- DataStreams.cs
- DifferencingCollection.cs
- NextPreviousPagerField.cs
- DataStreams.cs
- DbProviderServices.cs
- TypeReference.cs
- ProcessInfo.cs
- NetworkInterface.cs
- ProfileSettings.cs
- CustomExpressionEventArgs.cs
- DefaultProxySection.cs
- OrderedHashRepartitionStream.cs
- DoubleAnimationClockResource.cs
- SQLInt32.cs
- XmlDataSourceView.cs
- BinaryHeap.cs
- DateTimeConverter2.cs
- StorageBasedPackageProperties.cs
- Compensation.cs
- WebBrowserDocumentCompletedEventHandler.cs
- XmlSchemaInferenceException.cs
- Rotation3DKeyFrameCollection.cs
- PagePropertiesChangingEventArgs.cs
- FileUtil.cs
- TextWriter.cs
- ListDictionaryInternal.cs
- CategoryAttribute.cs
- ApplicationManager.cs
- ConfigXmlText.cs
- ContextDataSourceView.cs
- SemaphoreFullException.cs
- TypeExtension.cs
- ObjectItemAssemblyLoader.cs
- CounterCreationDataCollection.cs
- ValidationPropertyAttribute.cs
- MailSettingsSection.cs
- SqlProvider.cs
- CollectionType.cs
- OdbcCommandBuilder.cs
- KeyValuePair.cs
- ColorContext.cs
- CompressedStack.cs
- Attachment.cs
- DataRowExtensions.cs
- GorillaCodec.cs
- TileModeValidation.cs
- EntityKey.cs
- MtomMessageEncodingBindingElement.cs
- GetWinFXPath.cs
- BatchParser.cs
- FixedBufferAttribute.cs
- ToolStripDropTargetManager.cs
- SerializationObjectManager.cs
- EntityDataSourceSelectedEventArgs.cs
- Blend.cs
- HostedHttpTransportManager.cs
- GridViewCommandEventArgs.cs
- DataMisalignedException.cs
- XmlSerializerSection.cs
- Token.cs
- UIntPtr.cs
- DbgCompiler.cs
- ThreadExceptionEvent.cs
- Matrix3DValueSerializer.cs
- DrawingContextWalker.cs
- PathStreamGeometryContext.cs
- CodeDOMUtility.cs
- ActivityExecutor.cs
- ConnectionStringSettingsCollection.cs
- DockPattern.cs
- WsdlInspector.cs
- DefaultPrintController.cs
- DictionaryBase.cs
- OutputCacheSettingsSection.cs
- AuthorizationRule.cs
- EntityDataSourceStatementEditor.cs