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
- TrackBarRenderer.cs
- diagnosticsswitches.cs
- StreamWriter.cs
- NavigationProperty.cs
- AncestorChangedEventArgs.cs
- Vars.cs
- AttributeInfo.cs
- TrustLevel.cs
- DescriptionAttribute.cs
- WindowsListViewItem.cs
- FormViewUpdateEventArgs.cs
- XpsResourcePolicy.cs
- LeaseManager.cs
- ResourceSet.cs
- validationstate.cs
- FlowDocumentReader.cs
- BaseTemplateBuildProvider.cs
- DynamicValidatorEventArgs.cs
- MarkupExtensionSerializer.cs
- ConfigurationException.cs
- CngKey.cs
- ProfileServiceManager.cs
- BitmapVisualManager.cs
- StrokeNodeOperations.cs
- CaseStatement.cs
- AttachedPropertyMethodSelector.cs
- ChannelServices.cs
- SqlRecordBuffer.cs
- AppDomainManager.cs
- ToolStripSplitButton.cs
- HttpInputStream.cs
- BindingEditor.xaml.cs
- CustomCategoryAttribute.cs
- RectAnimationClockResource.cs
- SqlDataReaderSmi.cs
- UnsafeNativeMethods.cs
- BuildProviderAppliesToAttribute.cs
- BodyGlyph.cs
- AuthenticationService.cs
- ConstantCheck.cs
- DatatypeImplementation.cs
- TimeZone.cs
- FlowLayoutPanel.cs
- MarkupObject.cs
- Viewport3DAutomationPeer.cs
- ScriptReferenceEventArgs.cs
- DecoderReplacementFallback.cs
- ListCommandEventArgs.cs
- TranslateTransform.cs
- RelationshipEndCollection.cs
- DispatcherObject.cs
- AdornerLayer.cs
- DiscoveryClientDuplexChannel.cs
- SqlCommand.cs
- Cell.cs
- DbMetaDataFactory.cs
- CodeDOMProvider.cs
- RectValueSerializer.cs
- XmlUtf8RawTextWriter.cs
- QueryResponse.cs
- CustomErrorsSectionWrapper.cs
- WebPartTracker.cs
- UseManagedPresentationElement.cs
- SettingsSavedEventArgs.cs
- TypeResolver.cs
- SoapSchemaExporter.cs
- DataColumnPropertyDescriptor.cs
- cookiecontainer.cs
- ReturnEventArgs.cs
- ScriptComponentDescriptor.cs
- Psha1DerivedKeyGenerator.cs
- PersonalizationStateInfo.cs
- BrowserInteropHelper.cs
- HttpListenerPrefixCollection.cs
- URIFormatException.cs
- ComponentDesigner.cs
- NegationPusher.cs
- FaultConverter.cs
- IpcPort.cs
- WindowsSysHeader.cs
- SessionSwitchEventArgs.cs
- TabletDeviceInfo.cs
- AssemblyNameProxy.cs
- SecurityDocument.cs
- DesignerActionKeyboardBehavior.cs
- DateTimeUtil.cs
- SecurityUtils.cs
- DataRowChangeEvent.cs
- TextSelectionProcessor.cs
- WebScriptEnablingElement.cs
- InertiaRotationBehavior.cs
- TableLayoutCellPaintEventArgs.cs
- ByteStream.cs
- XmlLoader.cs
- TemplatedMailWebEventProvider.cs
- FixedSOMContainer.cs
- DataBoundLiteralControl.cs
- Int32CollectionConverter.cs
- TemplatePropertyEntry.cs
- infer.cs