Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SQLCharsStorage.cs
- CryptoProvider.cs
- Interlocked.cs
- ToolStripPanelRow.cs
- VirtualizedItemProviderWrapper.cs
- ListParagraph.cs
- TextRangeEditLists.cs
- Span.cs
- StorageEntityTypeMapping.cs
- FamilyTypefaceCollection.cs
- ToolStripContentPanel.cs
- LayoutEngine.cs
- StylusCaptureWithinProperty.cs
- WebResourceUtil.cs
- AccessedThroughPropertyAttribute.cs
- SequentialOutput.cs
- SystemResourceHost.cs
- EntityTransaction.cs
- LayoutSettings.cs
- StreamInfo.cs
- TypeDescriptionProviderAttribute.cs
- SocketPermission.cs
- MetricEntry.cs
- ObjectQuery_EntitySqlExtensions.cs
- SplitterCancelEvent.cs
- IDReferencePropertyAttribute.cs
- GlyphInfoList.cs
- _CommandStream.cs
- ProtocolViolationException.cs
- DeviceContext2.cs
- StyleHelper.cs
- UnicastIPAddressInformationCollection.cs
- WebBrowserSiteBase.cs
- MemoryResponseElement.cs
- DbException.cs
- SR.cs
- DeferredTextReference.cs
- XmlProcessingInstruction.cs
- DateTimeConverter2.cs
- AsyncOperation.cs
- GPPOINTF.cs
- IIS7UserPrincipal.cs
- RoleBoolean.cs
- ConstructorBuilder.cs
- IDispatchConstantAttribute.cs
- MenuItemCollectionEditor.cs
- Tag.cs
- HttpRequestTraceRecord.cs
- ButtonField.cs
- CmsInterop.cs
- MemoryStream.cs
- BaseProcessor.cs
- Faults.cs
- DocumentAutomationPeer.cs
- HttpApplication.cs
- HtmlInputSubmit.cs
- EnvelopedPkcs7.cs
- streamingZipPartStream.cs
- DnsPermission.cs
- CursorConverter.cs
- UIElementHelper.cs
- HtmlImage.cs
- NameTable.cs
- ApplicationGesture.cs
- DayRenderEvent.cs
- WebPartConnectionCollection.cs
- UpdateEventArgs.cs
- LayoutTableCell.cs
- CellConstant.cs
- DatePickerDateValidationErrorEventArgs.cs
- CodeConstructor.cs
- ReadOnlyAttribute.cs
- XmlEnumAttribute.cs
- PaperSource.cs
- CaseInsensitiveHashCodeProvider.cs
- RangeContentEnumerator.cs
- Constraint.cs
- Animatable.cs
- RequestResponse.cs
- GridItemProviderWrapper.cs
- AbandonedMutexException.cs
- TextEncodedRawTextWriter.cs
- EventHandlerList.cs
- AmbientLight.cs
- PseudoWebRequest.cs
- CodeBinaryOperatorExpression.cs
- TransformPattern.cs
- XmlTextReaderImplHelpers.cs
- RecordsAffectedEventArgs.cs
- ChangeNode.cs
- TimelineGroup.cs
- RequestSecurityTokenResponse.cs
- IntegrationExceptionEventArgs.cs
- EndOfStreamException.cs
- Environment.cs
- MessageBox.cs
- LinkConverter.cs
- Attributes.cs
- SynchronizationLockException.cs
- TextTreeFixupNode.cs