Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ActiveDocumentEvent.cs / 1305376 / 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
- DataSourceXmlSerializer.cs
- TraceSection.cs
- mediaeventshelper.cs
- OracleString.cs
- WebServiceTypeData.cs
- XPathNodeInfoAtom.cs
- Dynamic.cs
- CqlQuery.cs
- Contracts.cs
- LocatorBase.cs
- EdmToObjectNamespaceMap.cs
- EdmToObjectNamespaceMap.cs
- cookiecontainer.cs
- ManagementDateTime.cs
- XmlSubtreeReader.cs
- DataGridViewColumnEventArgs.cs
- HtmlTitle.cs
- EditBehavior.cs
- NoClickablePointException.cs
- EventSourceCreationData.cs
- ServerIdentity.cs
- ToolStripItemCollection.cs
- HandledMouseEvent.cs
- CompensationHandlingFilter.cs
- SoapProtocolImporter.cs
- ThreadAttributes.cs
- ProtectedConfiguration.cs
- ScaleTransform.cs
- AdapterUtil.cs
- XmlDomTextWriter.cs
- ConnectionStringsExpressionBuilder.cs
- PropertyEmitterBase.cs
- FileLogRecordHeader.cs
- BinaryVersion.cs
- XmlArrayAttribute.cs
- FormViewCommandEventArgs.cs
- BitFlagsGenerator.cs
- TextTrailingWordEllipsis.cs
- SchemaImporterExtensionsSection.cs
- SharedStream.cs
- ObjRef.cs
- LocatorManager.cs
- SafeMILHandle.cs
- VirtualDirectoryMappingCollection.cs
- HyperLinkColumn.cs
- IgnoreSection.cs
- GcHandle.cs
- TextEffect.cs
- ApplicationContext.cs
- XmlQueryRuntime.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- DataFormats.cs
- EventProviderBase.cs
- odbcmetadatacollectionnames.cs
- Wildcard.cs
- XmlNodeList.cs
- EntityTemplateFactory.cs
- TextServicesHost.cs
- DesignerObjectListAdapter.cs
- ValidationHelper.cs
- XmlMembersMapping.cs
- SerializationInfo.cs
- StoryFragments.cs
- BlockExpression.cs
- PasswordRecovery.cs
- ManualResetEvent.cs
- DotExpr.cs
- EntityTypeEmitter.cs
- TypeRefElement.cs
- QilName.cs
- DataGridViewColumnConverter.cs
- AsnEncodedData.cs
- CheckPair.cs
- NCryptNative.cs
- TimeManager.cs
- PointLight.cs
- RecordManager.cs
- PngBitmapEncoder.cs
- KeyValueSerializer.cs
- ConfigurationException.cs
- CurrencyManager.cs
- MediaElement.cs
- WorkflowTraceTransfer.cs
- ThreadAttributes.cs
- ComponentResourceKey.cs
- WorkflowDataContext.cs
- ISAPIApplicationHost.cs
- Soap12ProtocolImporter.cs
- FragmentNavigationEventArgs.cs
- StorageSetMapping.cs
- XmlSchemaComplexType.cs
- PostBackTrigger.cs
- PipelineComponent.cs
- TrustLevel.cs
- TableRow.cs
- TextFormatterHost.cs
- WindowsTitleBar.cs
- SafeNativeMethods.cs
- ForAllOperator.cs
- RuntimeArgumentHandle.cs