Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AudioBase.cs
- LinqToSqlWrapper.cs
- BitmapVisualManager.cs
- COM2PictureConverter.cs
- StopStoryboard.cs
- MenuBase.cs
- PointLightBase.cs
- isolationinterop.cs
- dsa.cs
- XmlEncodedRawTextWriter.cs
- WindowsStatusBar.cs
- ImmutablePropertyDescriptorGridEntry.cs
- SQLSingle.cs
- DataBindingExpressionBuilder.cs
- RegexParser.cs
- InternalPolicyElement.cs
- CompiledQuery.cs
- IsolatedStorage.cs
- SecurityUniqueId.cs
- VirtualPathProvider.cs
- BufferedGraphicsManager.cs
- Point3DCollectionValueSerializer.cs
- EntityKeyElement.cs
- XmlUTF8TextReader.cs
- XmlSortKeyAccumulator.cs
- XamlToRtfWriter.cs
- XamlWrappingReader.cs
- PartialArray.cs
- ModuleBuilderData.cs
- RepeaterItemCollection.cs
- DbSetClause.cs
- DateTime.cs
- SizeKeyFrameCollection.cs
- DocumentViewerBaseAutomationPeer.cs
- SqlTypesSchemaImporter.cs
- ListControlDataBindingHandler.cs
- WebPartConnectionsCloseVerb.cs
- Binding.cs
- UInt64Converter.cs
- _ScatterGatherBuffers.cs
- TextWriter.cs
- XmlLinkedNode.cs
- PublisherIdentityPermission.cs
- _IPv6Address.cs
- LinqDataSourceUpdateEventArgs.cs
- StylusCollection.cs
- NegotiationTokenAuthenticatorState.cs
- HandlerFactoryWrapper.cs
- MenuAdapter.cs
- DbQueryCommandTree.cs
- ExtendedPropertyInfo.cs
- InertiaExpansionBehavior.cs
- EpmContentSerializer.cs
- XmlSequenceWriter.cs
- OverloadGroupAttribute.cs
- AssemblyHash.cs
- _AutoWebProxyScriptWrapper.cs
- XmlSchema.cs
- HandlerFactoryWrapper.cs
- ObjectDataSource.cs
- PhysicalOps.cs
- MsmqDiagnostics.cs
- GenericIdentity.cs
- RepeatInfo.cs
- BaseTemplateParser.cs
- Splitter.cs
- XPathNodeIterator.cs
- QuotedPrintableStream.cs
- XmlSchemaComplexContent.cs
- ImpersonationContext.cs
- IDataContractSurrogate.cs
- RepeatInfo.cs
- Point3DKeyFrameCollection.cs
- CqlErrorHelper.cs
- storepermission.cs
- MeasurementDCInfo.cs
- SqlVisitor.cs
- Trustee.cs
- RawUIStateInputReport.cs
- HealthMonitoringSectionHelper.cs
- ExtendedPropertyCollection.cs
- IconBitmapDecoder.cs
- PropertyGrid.cs
- control.ime.cs
- MaterializeFromAtom.cs
- StatusBarItem.cs
- WeakRefEnumerator.cs
- TickBar.cs
- ObjectSpanRewriter.cs
- GridViewCommandEventArgs.cs
- DialogResultConverter.cs
- WindowsRichEdit.cs
- ObfuscationAttribute.cs
- ReflectTypeDescriptionProvider.cs
- CalendarDay.cs
- JsonUriDataContract.cs
- AttributeEmitter.cs
- PointConverter.cs
- RightNameExpirationInfoPair.cs
- WebBrowsableAttribute.cs