Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CompressedStack.cs
- SerializationObjectManager.cs
- ObjectTypeMapping.cs
- TransformerConfigurationWizardBase.cs
- ToolStripItemClickedEventArgs.cs
- WebRequestModuleElementCollection.cs
- RealizedColumnsBlock.cs
- DataGridViewCheckBoxCell.cs
- BufferedStream.cs
- HttpClientCertificate.cs
- EmptyControlCollection.cs
- Executor.cs
- MessagePropertyAttribute.cs
- ToolStripDropDownClosingEventArgs.cs
- Help.cs
- Popup.cs
- InputLangChangeEvent.cs
- BinaryObjectInfo.cs
- CustomErrorCollection.cs
- SchemaElementLookUpTable.cs
- CollaborationHelperFunctions.cs
- DESCryptoServiceProvider.cs
- DragEvent.cs
- CompilationLock.cs
- _PooledStream.cs
- SelfSignedCertificate.cs
- NamespaceCollection.cs
- XmlArrayAttribute.cs
- OutputCacheSettings.cs
- ManagementOptions.cs
- DataGridViewElement.cs
- TextEditorSelection.cs
- UnsafeNativeMethods.cs
- PointHitTestResult.cs
- HttpRuntimeSection.cs
- TemplateLookupAction.cs
- DataGridColumnFloatingHeader.cs
- RouteItem.cs
- Selector.cs
- StateChangeEvent.cs
- ResourceAttributes.cs
- NotConverter.cs
- RadioButton.cs
- DoubleAnimation.cs
- GradientBrush.cs
- InertiaExpansionBehavior.cs
- StrongNameMembershipCondition.cs
- BinHexDecoder.cs
- TreeNodeBindingCollection.cs
- PerfCounters.cs
- NullNotAllowedCollection.cs
- OleDbFactory.cs
- EventBuilder.cs
- ReadWriteObjectLock.cs
- TextReader.cs
- ChildDocumentBlock.cs
- CompoundFileReference.cs
- XPathNodeList.cs
- RegistrationProxy.cs
- _FtpDataStream.cs
- xdrvalidator.cs
- LOSFormatter.cs
- UniqueID.cs
- DictationGrammar.cs
- ModuleConfigurationInfo.cs
- XmlSchemaValidator.cs
- EntityDataSourceQueryBuilder.cs
- SubtreeProcessor.cs
- CodeMemberMethod.cs
- WindowsTokenRoleProvider.cs
- PolyLineSegment.cs
- SqlRowUpdatingEvent.cs
- HwndHost.cs
- PropertyChangedEventArgs.cs
- ClrPerspective.cs
- ServicePointManager.cs
- DataContractSerializerFaultFormatter.cs
- ScrollProviderWrapper.cs
- GorillaCodec.cs
- HttpApplication.cs
- IIS7WorkerRequest.cs
- XmlDataImplementation.cs
- TrackingProfile.cs
- ValidationUtility.cs
- ToolStripPanelCell.cs
- TimelineCollection.cs
- XmlImplementation.cs
- GridPattern.cs
- BatchWriter.cs
- XmlAutoDetectWriter.cs
- ReferentialConstraintRoleElement.cs
- AndCondition.cs
- SignatureGenerator.cs
- Vector.cs
- WebRequestModuleElementCollection.cs
- MessageSmuggler.cs
- PageAsyncTask.cs
- HtmlTableCellCollection.cs
- SqlDependencyUtils.cs
- TableProviderWrapper.cs