Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SystemInformation.cs
- TextCharacters.cs
- StandardCommands.cs
- InputReport.cs
- SubpageParaClient.cs
- EtwTrace.cs
- CodeSnippetExpression.cs
- TransformedBitmap.cs
- ScrollViewerAutomationPeer.cs
- CachedFontFace.cs
- SQLDateTimeStorage.cs
- OdbcStatementHandle.cs
- HtmlCalendarAdapter.cs
- PlanCompilerUtil.cs
- XmlTextReader.cs
- SwitchAttribute.cs
- HtmlTableCellCollection.cs
- ProfileService.cs
- AttributeEmitter.cs
- SystemIPGlobalStatistics.cs
- CollectionTypeElement.cs
- TemplateControlCodeDomTreeGenerator.cs
- NotifyIcon.cs
- UpdatePanelTrigger.cs
- FrameworkContentElementAutomationPeer.cs
- HttpInputStream.cs
- FormView.cs
- SamlSubject.cs
- ProcessThreadCollection.cs
- KerberosSecurityTokenProvider.cs
- ServiceSecurityAuditElement.cs
- ListBindingHelper.cs
- SrgsDocumentParser.cs
- XmlElementAttributes.cs
- DropShadowBitmapEffect.cs
- RelatedImageListAttribute.cs
- HotSpot.cs
- XmlSignatureProperties.cs
- ExpressionBindings.cs
- EventToken.cs
- DbMetaDataCollectionNames.cs
- ApplicationBuildProvider.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ProfilePropertyNameValidator.cs
- EventSchemaTraceListener.cs
- ElementHostAutomationPeer.cs
- TimeEnumHelper.cs
- WebBaseEventKeyComparer.cs
- PcmConverter.cs
- ListSourceHelper.cs
- TraceLevelHelper.cs
- RowToParametersTransformer.cs
- FacetValueContainer.cs
- ProfileService.cs
- MD5Cng.cs
- ThrowHelper.cs
- DbRetry.cs
- Accessible.cs
- MultiTrigger.cs
- BreadCrumbTextConverter.cs
- ColorConvertedBitmap.cs
- Point3DCollectionValueSerializer.cs
- xml.cs
- LassoSelectionBehavior.cs
- ItemType.cs
- IisTraceWebEventProvider.cs
- StrongNameSignatureInformation.cs
- TypeInfo.cs
- CompositeControl.cs
- Wizard.cs
- TemplateBaseAction.cs
- Int32KeyFrameCollection.cs
- XamlTemplateSerializer.cs
- CurrentChangingEventManager.cs
- WindowsAuthenticationEventArgs.cs
- ExtendedPropertyInfo.cs
- PageContent.cs
- IgnorePropertiesAttribute.cs
- safex509handles.cs
- MailAddressCollection.cs
- SqlDataSourceStatusEventArgs.cs
- XMLDiffLoader.cs
- RadioButtonStandardAdapter.cs
- StorageAssociationSetMapping.cs
- ExpressionEditorSheet.cs
- Rect3D.cs
- Substitution.cs
- ObjectListCommandEventArgs.cs
- ProcessModule.cs
- PhysicalAddress.cs
- ColumnResizeUndoUnit.cs
- PackageDigitalSignatureManager.cs
- ActiveXHelper.cs
- TrackingRecord.cs
- FileRecordSequenceCompletedAsyncResult.cs
- ToolStripDesignerUtils.cs
- ObjectListShowCommandsEventArgs.cs
- UnicodeEncoding.cs
- ListDesigner.cs
- WhitespaceReader.cs