Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Size.cs
- CustomPopupPlacement.cs
- XamlReaderHelper.cs
- AggregateNode.cs
- XmlSchemaIdentityConstraint.cs
- Matrix3D.cs
- WindowsTab.cs
- FieldToken.cs
- PropertyInfoSet.cs
- RightsManagementEncryptedStream.cs
- ObjectStateEntryDbDataRecord.cs
- UnionCqlBlock.cs
- WindowPatternIdentifiers.cs
- BoolExpressionVisitors.cs
- RIPEMD160Managed.cs
- SQLMoney.cs
- itemelement.cs
- externdll.cs
- TraceContext.cs
- XmlSchemaSimpleContentRestriction.cs
- PageStatePersister.cs
- ExtensionDataReader.cs
- RelativeSource.cs
- WebMethodAttribute.cs
- TaiwanLunisolarCalendar.cs
- SourceInterpreter.cs
- ExtensibleClassFactory.cs
- HttpResponse.cs
- SoapAttributes.cs
- ScrollContentPresenter.cs
- ExtendedPropertyDescriptor.cs
- HtmlTitle.cs
- BamlBinaryReader.cs
- PtsHelper.cs
- KnownIds.cs
- PageAsyncTask.cs
- PhonemeEventArgs.cs
- Command.cs
- AnnotationComponentChooser.cs
- CodeObjectCreateExpression.cs
- ModuleConfigurationInfo.cs
- DataGridCell.cs
- PartitionedStreamMerger.cs
- InteropBitmapSource.cs
- Sorting.cs
- CryptoConfig.cs
- FormViewInsertEventArgs.cs
- ListBoxItemWrapperAutomationPeer.cs
- AuthStoreRoleProvider.cs
- CapabilitiesPattern.cs
- SqlCharStream.cs
- ReflectionServiceProvider.cs
- TypeBuilderInstantiation.cs
- PlatformNotSupportedException.cs
- DynamicValueConverter.cs
- DoubleAnimationUsingPath.cs
- CharEntityEncoderFallback.cs
- ArraySortHelper.cs
- WriterOutput.cs
- _LocalDataStore.cs
- FragmentQueryProcessor.cs
- HtmlInputReset.cs
- RelatedView.cs
- EdmFunctionAttribute.cs
- SqlDataAdapter.cs
- ClientScriptManagerWrapper.cs
- TrustManagerPromptUI.cs
- documentsequencetextview.cs
- RegexGroupCollection.cs
- GroupedContextMenuStrip.cs
- IProvider.cs
- SoapEnvelopeProcessingElement.cs
- CellParagraph.cs
- UnknownWrapper.cs
- SystemWebCachingSectionGroup.cs
- SafeProcessHandle.cs
- EventBindingService.cs
- StylusPointPropertyInfo.cs
- XmlSchemaElement.cs
- Vector3D.cs
- UnmanagedMemoryStreamWrapper.cs
- Point3DCollection.cs
- TextEffect.cs
- TreeView.cs
- AutoFocusStyle.xaml.cs
- MultiPropertyDescriptorGridEntry.cs
- SR.cs
- TextEncodedRawTextWriter.cs
- LinqDataView.cs
- HtmlInputSubmit.cs
- IPAddressCollection.cs
- TextTreePropertyUndoUnit.cs
- XmlNullResolver.cs
- StringFreezingAttribute.cs
- XmlIlGenerator.cs
- MsmqChannelListenerBase.cs
- OrderedEnumerableRowCollection.cs
- ResourceManagerWrapper.cs
- RealProxy.cs
- TraceContext.cs