Code:
/ 4.0 / 4.0 / 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. /// ///// 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
- TextInfo.cs
- ProfileInfo.cs
- AggregatePushdown.cs
- Menu.cs
- Converter.cs
- UnsafeNativeMethods.cs
- DocumentViewerHelper.cs
- SoapHeader.cs
- EncryptedXml.cs
- MessageBox.cs
- DataGridViewColumn.cs
- FontDialog.cs
- VoiceSynthesis.cs
- HyperLinkField.cs
- ZoneMembershipCondition.cs
- ListSourceHelper.cs
- MethodRental.cs
- DataTableExtensions.cs
- XmlSerializationGeneratedCode.cs
- AttributeSetAction.cs
- PasswordPropertyTextAttribute.cs
- ConnectionConsumerAttribute.cs
- SynchronizationFilter.cs
- PropVariant.cs
- AutoGeneratedFieldProperties.cs
- SiteMap.cs
- Variable.cs
- TransmissionStrategy.cs
- SessionEndingEventArgs.cs
- MimeMapping.cs
- AutoResetEvent.cs
- DateTimeHelper.cs
- PasswordDeriveBytes.cs
- ArithmeticException.cs
- XmlSerializationWriter.cs
- SystemIcons.cs
- SecureStringHasher.cs
- ControlIdConverter.cs
- NonParentingControl.cs
- GridViewItemAutomationPeer.cs
- Polygon.cs
- HwndSubclass.cs
- SrgsRuleRef.cs
- TimeIntervalCollection.cs
- AdRotator.cs
- DefaultPropertyAttribute.cs
- PingReply.cs
- ActivityCodeDomSerializationManager.cs
- Deserializer.cs
- ContentOperations.cs
- NamedPermissionSet.cs
- CodeRegionDirective.cs
- ChameleonKey.cs
- ItemAutomationPeer.cs
- DrawingAttributesDefaultValueFactory.cs
- SafeArrayTypeMismatchException.cs
- VerticalConnector.xaml.cs
- Label.cs
- SqlConnectionHelper.cs
- ListViewTableCell.cs
- Helpers.cs
- IndicFontClient.cs
- TableLayoutStyle.cs
- SetIndexBinder.cs
- MaskPropertyEditor.cs
- CacheEntry.cs
- FloaterBaseParaClient.cs
- FrameSecurityDescriptor.cs
- ECDsa.cs
- ImageMapEventArgs.cs
- ContentControl.cs
- Operator.cs
- Timeline.cs
- DocumentPageViewAutomationPeer.cs
- CheckBoxPopupAdapter.cs
- CodeTypeReference.cs
- ColorDialog.cs
- CodeAttributeDeclarationCollection.cs
- StyleSheetComponentEditor.cs
- DetailsViewRowCollection.cs
- XmlSchemas.cs
- DataRelationCollection.cs
- CriticalFileToken.cs
- MouseDevice.cs
- DynamicDataManager.cs
- ClientApiGenerator.cs
- ScrollPattern.cs
- ActionMessageFilter.cs
- LinqDataSourceContextEventArgs.cs
- DocumentsTrace.cs
- contentDescriptor.cs
- PolicyException.cs
- SafeEventLogReadHandle.cs
- StringUtil.cs
- X509WindowsSecurityToken.cs
- FindRequestContext.cs
- FormatSettings.cs
- List.cs
- FileDataSourceCache.cs
- Attributes.cs