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
- Action.cs
- Monitor.cs
- CheckBoxFlatAdapter.cs
- MsmqInputMessagePool.cs
- ConstNode.cs
- StatusBarDrawItemEvent.cs
- EntityProxyTypeInfo.cs
- UInt32Converter.cs
- SyntaxCheck.cs
- VirtualDirectoryMapping.cs
- LicenseProviderAttribute.cs
- MissingManifestResourceException.cs
- CodeIdentifier.cs
- UserPersonalizationStateInfo.cs
- TreeView.cs
- IntSecurity.cs
- TemplateApplicationHelper.cs
- ImplicitInputBrush.cs
- Int16.cs
- TcpChannelFactory.cs
- RegexStringValidator.cs
- TcpAppDomainProtocolHandler.cs
- MsmqInputChannelListenerBase.cs
- FixedSOMTable.cs
- SoapServerProtocol.cs
- ReachDocumentPageSerializer.cs
- MissingManifestResourceException.cs
- UnsafeNativeMethods.cs
- ProviderBase.cs
- PropertyEntry.cs
- CalendarSelectionChangedEventArgs.cs
- BitmapDecoder.cs
- IDQuery.cs
- ToolboxItem.cs
- HMAC.cs
- RenderDataDrawingContext.cs
- basemetadatamappingvisitor.cs
- ViewgenContext.cs
- WorkflowInspectionServices.cs
- QuaternionAnimation.cs
- SystemNetHelpers.cs
- StringInfo.cs
- IncomingWebResponseContext.cs
- MustUnderstandBehavior.cs
- StandardToolWindows.cs
- DBConnectionString.cs
- ProfileSettingsCollection.cs
- WebZone.cs
- SkewTransform.cs
- ColorConverter.cs
- PropertyGridCommands.cs
- CacheChildrenQuery.cs
- DataTransferEventArgs.cs
- TimeSpanMinutesConverter.cs
- RecoverInstanceLocksCommand.cs
- Resources.Designer.cs
- AutomationAttributeInfo.cs
- ServiceHostFactory.cs
- EntryIndex.cs
- OdbcDataAdapter.cs
- MetafileEditor.cs
- FormatException.cs
- SemanticResultValue.cs
- EncodingInfo.cs
- PhonemeConverter.cs
- Empty.cs
- LeftCellWrapper.cs
- XamlGridLengthSerializer.cs
- ClientBuildManager.cs
- SqlDataAdapter.cs
- DataSourceExpression.cs
- ExtendedProperty.cs
- UpdatePanelControlTrigger.cs
- ThaiBuddhistCalendar.cs
- SizeLimitedCache.cs
- MessageSecurityOverMsmqElement.cs
- WebHostScriptMappingsInstallComponent.cs
- PageParserFilter.cs
- SQLBoolean.cs
- ObjectSelectorEditor.cs
- InputScopeConverter.cs
- SafePointer.cs
- DesignerForm.cs
- HwndHost.cs
- GenericUI.cs
- HttpRawResponse.cs
- mediapermission.cs
- PartialCachingAttribute.cs
- XslNumber.cs
- SqlCachedBuffer.cs
- ColorKeyFrameCollection.cs
- TraceLevelStore.cs
- TileModeValidation.cs
- DateRangeEvent.cs
- StackBuilderSink.cs
- StrongNameUtility.cs
- ListViewAutomationPeer.cs
- FontDialog.cs
- HostProtectionPermission.cs
- TransformGroup.cs