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
- SafeEventLogWriteHandle.cs
- VersionedStream.cs
- ConfigurationManagerInternal.cs
- Pipe.cs
- JoinGraph.cs
- ReadOnlyPropertyMetadata.cs
- SwitchElementsCollection.cs
- SEHException.cs
- ToolStripDesignerUtils.cs
- NamedPipeTransportBindingElement.cs
- Quad.cs
- SystemIPInterfaceProperties.cs
- RectangleConverter.cs
- XPathDocumentIterator.cs
- UniqueIdentifierService.cs
- Compiler.cs
- OleDbParameter.cs
- CodeAttributeDeclaration.cs
- BaseCodePageEncoding.cs
- GlobalProxySelection.cs
- ToolStripDropDownButton.cs
- WebConfigurationFileMap.cs
- Condition.cs
- SchemaAttDef.cs
- SplitterPanel.cs
- ItemCheckedEvent.cs
- EventArgs.cs
- OdbcCommand.cs
- Dynamic.cs
- WebColorConverter.cs
- _AutoWebProxyScriptHelper.cs
- RecommendedAsConfigurableAttribute.cs
- DefaultClaimSet.cs
- BuilderElements.cs
- coordinator.cs
- VersionedStream.cs
- WithStatement.cs
- PatternMatcher.cs
- EncodingStreamWrapper.cs
- RecognizerInfo.cs
- DebugController.cs
- EnumerableRowCollectionExtensions.cs
- StringDictionaryEditor.cs
- WebChannelFactory.cs
- XmlSchemaComplexContentExtension.cs
- RawKeyboardInputReport.cs
- AnnouncementInnerClient11.cs
- TraceSource.cs
- HelpKeywordAttribute.cs
- PageCodeDomTreeGenerator.cs
- BufferAllocator.cs
- CategoryAttribute.cs
- X509PeerCertificateAuthenticationElement.cs
- contentDescriptor.cs
- DBParameter.cs
- UmAlQuraCalendar.cs
- PlanCompiler.cs
- ItemContainerProviderWrapper.cs
- PerspectiveCamera.cs
- SpAudioStreamWrapper.cs
- TaskForm.cs
- DbXmlEnabledProviderManifest.cs
- DataGridViewComboBoxCell.cs
- DataFormats.cs
- Internal.cs
- basemetadatamappingvisitor.cs
- ScriptRef.cs
- SafeSystemMetrics.cs
- EntityTypeEmitter.cs
- BuilderPropertyEntry.cs
- QueryCursorEventArgs.cs
- SystemNetHelpers.cs
- BinaryObjectInfo.cs
- ClientSettingsProvider.cs
- ExceptionNotification.cs
- DefaultObjectSerializer.cs
- ToolStripDropDownClosingEventArgs.cs
- TileBrush.cs
- DataGridPagingPage.cs
- GraphicsContext.cs
- WsdlInspector.cs
- CopyCodeAction.cs
- ItemList.cs
- HtmlInputSubmit.cs
- ResXFileRef.cs
- MultiView.cs
- DoubleLink.cs
- DataGridViewComboBoxColumn.cs
- PrintPreviewControl.cs
- Attributes.cs
- Condition.cs
- ObjectReaderCompiler.cs
- DocumentViewerBaseAutomationPeer.cs
- ObjectParameterCollection.cs
- WinFormsComponentEditor.cs
- HttpListenerException.cs
- DbProviderServices.cs
- DataRecordInfo.cs
- DesignSurfaceServiceContainer.cs
- TabControlCancelEvent.cs